This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/src | |
rm -fv csf.tgz | |
wget https://download.configserver.com/csf.tgz | |
tar -xzf csf.tgz | |
cd csf | |
sh install.sh | |
perl /usr/local/csf/bin/csftest.pl | |
sh /usr/local/csf/bin/remove_apf_bfd.sh | |
rm -Rfv /usr/src/csf* | |
cd /usr/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- The Time Machine GitHub pages theme was designed and developed by Jon Rohan, on Feb 7, 2012. --> | |
<!-- Follow him for fun. http://twitter.com/jonrohan. Tail his code on https://github.com/jonrohan --> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<link rel="stylesheet" href="stylesheets/stylesheet.css" media="screen"> | |
<link rel="stylesheet" href="stylesheets/github-dark.css"> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- The Time Machine GitHub pages theme was designed and developed by Jon Rohan, on Feb 7, 2012. --> | |
<!-- Follow him for fun. http://twitter.com/jonrohan. Tail his code on https://github.com/jonrohan --> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<link rel="stylesheet" href="stylesheets/stylesheet.css" media="screen"> | |
<link rel="stylesheet" href="stylesheets/github-dark.css"> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#I came across this post Setting up SSL on Github Pages and wanted to try it out, but since my website set-up is a bit different than Keanu’s I had to go through a slightly different route. One reason being that this website is hosted on the apex (root) domain i.e. without www. This guide is focused towards an Octopress blog with a Custom Domain hosted through Github Pages, but this should work for Jekyll Static Sites as well. | |
#Getting Started | |
#(Almost the same as Keanu’s points) | |
#Sign up for Cloudflare if you don’t already have an account | |
#Add your website, and make sure all automatically generated records match those on your registrar’s website | |
#If you already have a gh-pages website and are simply moving to https, you don’t need to do anything else | |
#If not, and are trying to set up your site at apex, create an A record pointing to Github’s IP addresses, else a CNAME pointing to your-username.github.io | |
#Make sure there’s a CNAME file at the root of your gh-pages repo with your domain name | |
#Go to your Domai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#It is all too common for people to just turn off IPtables instead of actually figuring out what ports to open. I have to admit I have done it myself. Well we need to stop that. IPtables is our friend, really. To that end, here is the body of a script you can use to configure IPtables. | |
# Couchbase DB Server Ports | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 4369 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 8091 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 8092 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 11209 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 11210 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 11211 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 11214 -j ACCEPT | |
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 11215 -j ACCEPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=HipHop Virtual Machine | |
[Service] | |
PIDFile=/var/run/hhvm/hhvm.pid | |
ExecStartPre=/bin/mkdir -p /var/log/hhvm/ | |
ExecStartPre=/bin/chown -R nginx:nginx /var/log/hhvm/ | |
ExecStartPre=/bin/mkdir -p /var/run/hhvm/ | |
ExecStartPre=/bin/chown -R nginx:nginx /var/run/hhvm/ | |
ExecStart=/usr/local/bin/hhvm -m daemon -u nginx -c /etc/hhvm/server.ini -c /etc/hhvm/php.ini -c /etc/hhvm/server.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
عربي, لا, من, هذا, أن, فيه, أنا, على, ما, هل, يا, و, لقد, ذلك, ماذا, أنت, هنا, لم, إلى, نعم, كان, هو, ان, هذه, هناك, عن, فى, كل, فقط, ليس, كنت, الآن, يجب, انا, لك, مع, شيء, لكن, الذي, لنا, حسنا, سوف, كيف, هيا, نحن, إنه, أجل, لماذا, إذا, عندما, انه, لي, كذلك, الى, انت, بعد, هي, أين, أنها, كانت, أي, حتى, إنها, أعرف, تلك, قبل, قد, الأمر, بعض, أوه, مثل, أريد, رجل, أعتقد, لو, ربما, بخير, أيها, يكون, جيدة, عليك, شخص, أنك, إن, التي, به, علي, ولكن, أليس, أحد, الوقت, انها, يمكن, اليوم, تعرف, تريد, صحيح, تكون, أكثر, لست, أستطيع, كما, شئ, منذ, لذا, واحد, جدا, يمكنك, لديك, الرجل, يبدو, كلا, لدي, أوه, تفعل, سيدي, غير, مرة, عليه, اذا, حدث, آخر, شكرا, لدينا, يوجد, أعلم, مكان, الناس, له, سيكون, رائع, مرحبا, آسف, وقت, سيد, اللعنة, بهذا, كم, أفضل, ليست, بها, أنها, معك, الكثير, قلت, بك, الان, الذى, يحدث, يوم, يكن, وأنا, بي, واحدة, بأن, ولا, يمكنني, هم, أخرى, علينا, أبي, تعال, ثم, هكذا, بذلك, المكان, ألا, بالطبع, أنني, معي, شىء, لهذا, إلهي, ها, انك, تستطيع, الحقيقة, العمل, الليلة, العالم, تعلم, بالتأكيد, حقا, الطريق, الأن, أمي, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install ea4-experimental | |
yum install ea-apache24-mod_pagespeed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /scripts/securetmp | |
*** Notice *** No loop module detected | |
If the loopback block device is built as a module, try running `modprobe loop` as root via ssh and running this script again. | |
If the loopback block device is built into the kernel itself, you can ignore this message. | |
Would you like to secure /tmp & /var/tmp at boot time? (y/n) n | |
securetmp will not be added to system startup at this time. | |
Would you like to disable securetmp from the system startup? (y/n) y | |
Would you like to secure /tmp & /var/tmp now? (y/n) n | |
/tmp & /var/tmp will not be secured at this time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# For RedHat and cousins: | |
# chkconfig: 2345 85 85 | |
# description: Red5 flash streaming server | |
# processname: red5 | |
# Created By: Sohail Riaz ([email protected]) | |
PROG=red5 | |
RED5_HOME=/opt/red5 | |
DAEMON=$RED5_HOME/$PROG.sh |
OlderNewer