Skip to content

netkiller/shell

Folders and files

NameName
Last commit message
Last commit date
May 11, 2018
Nov 25, 2019
Jul 28, 2022
Dec 24, 2021
Jan 11, 2021
Jul 28, 2022
Nov 25, 2019
Aug 12, 2022
Aug 15, 2022
Jul 28, 2022
Dec 11, 2015
Mar 23, 2017
Nov 25, 2019
Nov 25, 2019
Nov 25, 2019
Apr 8, 2023
Jul 28, 2022
Jul 28, 2022
Jul 28, 2022
Jul 28, 2022
Jul 28, 2022
Aug 1, 2018
Jul 28, 2022
Nov 17, 2018
Nov 25, 2019
Nov 25, 2019
Nov 7, 2022
Nov 25, 2019
Apr 3, 2019
Sep 7, 2017
Nov 25, 2019
Jun 10, 2014
Jul 21, 2021
Aug 19, 2022
Nov 25, 2019
Nov 25, 2019
Jul 28, 2022
Jan 15, 2016
Sep 5, 2016
Nov 25, 2019
Dec 20, 2017
Dec 20, 2017
Oct 6, 2015
Nov 22, 2017
Jul 28, 2022
Sep 12, 2013
Jul 28, 2022
Nov 25, 2019
Apr 30, 2014

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/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