设置
CentOS的部署脚本
安装
在服务器命令行上执行以下命令:
$ yum -y install git
$ git clone https://github.com/darcyliu/setup.git
$ cd setup
$ sh {script_file}.sh
### PPTP
$ curl -OL https://raw.github.com/darcyliu/setup/master/centos_pptp.sh
$ sh centos_pptp.sh
### LAMP(Apache)
$ curl -OL https://raw.github.com/darcyliu/setup/master/centos_lamp.sh
$ sh centos_lamp.sh
### LEMP(nginx)$ curl -OL $ sh centos_lemp.sh