Skip to content

caozm599/shell

Repository files navigation

shell

This is a group of installation script, it can achieve fast initialization of your server.

Nginx

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

Apache httpd

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 

Database

# 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

Node Install

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

Releases

No releases published

Packages

No packages published