Awesome Open Source
Awesome Open Source

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/os/epel-release.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/etc.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/selinux.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/iptables/iptables.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/ntpd/ntp.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/ssh/sshd_config.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/zmodem.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 PayPal through:

https://www.paypal.me/netkiller

Wechat (微信) / Alipay (支付宝) 打赏:

http://www.netkiller.cn/home/donations.html


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (710,532
Shell (232,728
Golang (32,788
Linux (16,549
Mongodb (14,217
Mysql (12,331
Postgresql (7,667
Redis (6,756
Nginx (5,199
Php7 (4,473
Gitlab (1,285
Gcc (538
Zabbix (507
Nagios (331
Postfix (252
Httpd (159
Related Projects