https://github.com/oscm/shell/
我将常用的运维写成 shell 片段,根据环境的不同,加以组合使用。由于是shell 编写,可能自由发挥,不受任何限制,更灵活。
nginx 安装脚本
?
1
2
3
4
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/centos7.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/user/www.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/web/nginx/nginx.centos7.sh | bash
php 安装脚本
?
1
2
3
4
5
curl -s https://raw.githubusercontent.com/oscm/shell/master/os/user/www.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/lang/gcc/gcc.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/lang/php/devel.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/lang/php/php-7.0.0.sh | bash
curl -s https://raw.githubusercontent.com/oscm/shell/master/lang/php/php-7.0.0-default.sh | bash
以上就介绍了php 700 一键安装脚本,包括了centos7,github方面的内容,希望对php教程有兴趣的朋友有所帮助。
