其他一键安装脚本

This commit is contained in:
2022-03-13 14:56:33 +08:00
parent 1bee668c48
commit 18e447c880
20 changed files with 787 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
# '\033[字背景颜色;字体颜色m字符串\033[0m'
GREENCOLOR='\033[1;32m'
NC='\033[0m'
echo "===================================================="
printf "${GREENCOLOR} firewalld's disable begin ${NC} \n"
echo "===================================================="
# 关闭防火墙
systemctl stop firewalld
# 开机禁用防火墙
systemctl disable firewalld
echo "===================================================="
printf "${GREENCOLOR} firewalld's disable finish ${NC} \n"
echo "===================================================="