一键执行:
1 | curl https://movefeng.com/centos-init.sh | bash |
可选参数base kernel python php nodejs cmd_game jdk mysql57 mysql8 mongodb docker
比如1
curl https://movefeng.com/centos-init.sh | bash -s base
1 | curl https://movefeng.com/centos-init.sh | bash -s python php nodejs cmd_game jdk mysql8 mongodb docker |
脚本执行后会:
修改yum源
安装一些生产环境必备的软件:
- OpenJDK 1.8
- Tomcat 9
- MySQL 5.7
- mongodb-org 4
- Redis 5
- docker-ce
- Python36-pip(python3.6会作为依赖被安装)
- PHP 7.2(Apache httpd会作为依赖被安装)