This is a group of installation script, it can achieve fast initialization of your server.
curl -s https://raw.github.com/netkiller/shell/master/centos6.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/modules/ntp.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/filesystem/btrfs.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/nginx/nginx.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/php/5.4.x.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/php/redis.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/centos6.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/modules/ntp.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/filesystem/btrfs.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/apache/httpd-2.4.4.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/php/httpd.5.3.x.sh | bash
# curl -s https://raw.github.com/netkiller/shell/master/modules/mongodb.sh | bash
# curl -s https://raw.github.com/netkiller/shell/master/modules/redis.sh | bash
# curl -s https://raw.github.com/netkiller/shell/master/database/postgresql.sh | bash
if [ "$( hostname )" == "www.mydomain.com" ]; then
curl -q -s https://raw.github.com/netkiller/shell/master/centos6.sh | bash
curl -q -s https://raw.github.com/netkiller/shell/master/modules/nginx.sh | bash
echo '====================================================================='
fi
if [ "$( hostname )" == "db.mydomain.com" ]; then
curl -q -s https://raw.github.com/netkiller/shell/master/centos6.sh | bash
curl -q -s https://raw.github.com/netkiller/shell/master/modules/mysql.sh | bash
echo '====================================================================='
fi