https://github.com/mrtian2016/centos-script
Some shell scripts I use regularly
https://github.com/mrtian2016/centos-script
bash centos7 shell
Last synced: about 2 months ago
JSON representation
Some shell scripts I use regularly
- Host: GitHub
- URL: https://github.com/mrtian2016/centos-script
- Owner: mrtian2016
- Created: 2018-12-12T03:38:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T01:13:24.000Z (almost 5 years ago)
- Last Synced: 2024-12-31T09:17:57.986Z (over 1 year ago)
- Topics: bash, centos7, shell
- Language: Shell
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# centos-script
参数:
```args: [-l , -f , -s ] [--lnmp=, --firewalld=, --selinux=]```
- -l|--lnmp : 是否安装lnmp 默认不安装 参数: lnmp|lnmpa|lamp|nginx|db|mphp 具体使用请参考 [ https://lnmp.org/ ](#)
- -f|—firewalld: 防火墙,默认关闭,开启:true
- -s|—selinux: SELinux,默认关闭,开启:true
例如仅安装NGINX并关闭selinux和防火墙的命令为:
```curl -o- -L -s https://raw.githubusercontent.com/mrtian2016/centos-script/master/initialize.sh | sudo bash /dev/stdin -l nginx -f false -s false```