Giter Site home page Giter Site logo

netkiller / shell Goto Github PK

View Code? Open in Web Editor NEW
428.0 57.0 250.0 897 KB

Infrastructure Management Shell - Linux

Home Page: http://netkiller.github.io/

License: GNU General Public License v3.0

Shell 98.73% C 0.15% Java 0.17% PHP 0.06% Batchfile 0.06% PowerShell 0.03% Python 0.80%
shell linux nginx php7 java mongodb mysql vsftpd redis gcc

shell's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.