Skip to content

5202m/shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux shell

Join the chat at https://gitter.im/oscm/shell

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

Install

git clone https://github.com/oscm/shell.git

Update

git pull

CentOS Init

curl -s https://raw.githubusercontent.com/oscm/shell/master/ssh/sshd_config.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/ntpd/ntp.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/centos.sh | bash

Automatic installation Nginx web server

curl -s https://raw.githubusercontent.com/oscm/shell/master/node.nginx.sh | bash

Apache httpd

curl -s https://raw.githubusercontent.com/oscm/shell/master/centos6.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/modules/ntp.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/filesystem/btrfs.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/apache/httpd-2.4.4.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/php/httpd.5.3.x.sh | bash 

Database

# curl -s https://raw.githubusercontent.com/oscm/shell/master/modules/mongodb.sh | bash 
# curl -s https://raw.githubusercontent.com/oscm/shell/master/modules/redis.sh | bash
# curl -s https://raw.githubusercontent.com/oscm/shell/master/database/postgresql.sh | bash

Node Install

if [ "$( hostname )" == "www.mydomain.com" ]; then
	curl -q -s https://raw.githubusercontent.com/oscm/shell/master/centos6.sh | bash
	curl -q -s https://raw.githubusercontent.com/oscm/shell/master/modules/nginx.sh | bash
    echo '====================================================================='
fi

if [ "$( hostname )" == "db.mydomain.com" ]; then
	curl -q -s https://raw.githubusercontent.com/oscm/shell/master/centos6.sh | bash
	curl -q -s https://raw.githubusercontent.com/oscm/shell/master/modules/mysql.sh | bash
    echo '====================================================================='
fi

Donations

We accept tips through [Gittip][tip].

Gittip

Bitdeli Badge

About

Infrastructure Management Shell - Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 99.3%
  • Other 0.7%