PHP 7.0.0 一键安装脚本

半城伤御伤魂 提交于 2019-12-05 08:30:55

OSCM (Operation System Configure Management) 是我创建的一个自动化运维脚本的项目,旨在提供敏捷运维。传统自动化运维工具例如  ansible, saltstackpuppet  不够灵活,配置繁琐,很多限制等等。这些工具更适合没有软件开发基础的运维人员。对于从软件工程师转到运维领域的人,这些工具就是鸡肋。 

https://github.com/oscm/shell/

我将常用的运维写成 Shell 片段,根据环境的不同,加以组合使用。由于是shell 编写,可能自由发挥,不受任何限制,更灵活。


Nginx 安装脚本

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 安装脚本

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


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!