摘要: 新安装的centos 7 发现有些程序端口是关闭的,想到了防火墙和selinux selinx 好关闭 /etc/sysconfig/selinux 中 追加 SELINUX=disabled 防火墙以为也是很好弄,按照以前的老规矩,service iptables stop 或者 chkconfig --level 35 iptables off 重启后 运行 systemctl list-... 阅读全文
posted @ 2016-12-03 21:03 九园 阅读(1525) 评论(0) 推荐(0) 编辑
摘要: 1.切换到root账户安装程序 su root 2可以使用echo $?检查命令是否执行成功,成功为0 3关闭防火墙 /etc/init.d/iptables stop#start 开启#restart 重启 永久性关闭防火墙chkconfig –level 35 iptables off Cent 阅读全文
posted @ 2016-12-03 21:02 九园 阅读(138) 评论(0) 推荐(0) 编辑