linux 硬链接 , 备注

来源:互联网 发布:centos ssh目录 编辑:程序博客网 时间:2024/04/30 09:18
echo "------ if firewall disable the port of mysql, then open it:"
#
service iptables restart
iptables -D RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
iptables -D RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
#
iptables -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
iptables -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
service iptables save
service iptables restart
#
echo "------ finish the $TgtSrcPkg installation ------"  >> ${LogFilePath}
echo "------ finish the $TgtSrcPkg installation ------"
#
0 0
原创粉丝点击