Infrastructure Management Shell - CentOS
Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with marcoscarraro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
auth
automate
check
compiler
database
docker
editors/vim
filesystem
kvm
lang
mail
modules
mq/zeromq
ntpd
os
rpc
rsync
scm
shell
slb
ssh
terminal/tmux
unicode/cconv
utility
voip
vpn
web
.gitignore
README.md
clean.sh
install.sh
node.httpd.sh
node.nginx.sh
nodes.sh
system.sh
yum.repos.sh

README.md

linux shell

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

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

Nginx

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/nginx/nginx.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/php/5.4.x.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/php/redis.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