1,修改SuSEfirewall2配置文件放行相应的端口方法
vim /etc/sysconfig/SuSEfirewall2
#TCP端口的情况:
FW_SERVICES_EXT_TCP ="22"
#UDP端口的情况:
FW_SERVICES_EXT_UDP ="177"
防火墙设置的生效:
#rcSUSEfirewall2 restart
2,直接用command关闭SuSEfirewall2
SuSEfirewall stop
开启式SuSEfirewall2 start
3,禁用SuSEfirewall2开机启动
chkconfig --level 2345 SuSEfirewall2_setup off
chkconfig --level 2345 SuSEfirewall2_init off
4,查看SuSEfirewall2状态
service SuSEfirewall2_init status
service SuSEfirewall2_setup status
service SuSEfirewall2_setup stop
5,使用systemctl命令管理SuSefirewall2
systemctl disable SuSEfirewall2_init.service;
systemctl stop SuSEfirewall_init.service;
SuSEfirewall_setup同样;
(ruiy总结,ruiy个人总结,
当前约有4年的POSIX-linux运维经验,较擅长运维OS包括-openSuSE,rhel/centos,Freebsd,ubuntu,环境主要包括WEB环境Java/php;oracel数据库(Centos/RHEL5~6)部署实施调优;
/shell,C/C++编程环境及简单需求编程量,
Eucalyptus/OpenNebula/OpenStack云计算环境/Hadoop大数据环境,NGINX-HA,radius/mongDB Key-Value/NoSQL数据库,SVN/GIT/CVS版本版本控制,
PostgreSQL开源数据库,Vertica高性能列式库
开源虚拟化xen/kvm,商业虚拟化hyper-V/vSphere exsi实施经验;
,/Puppet+svn/自动化运维;
个人承接相关私活欢迎联系;
Phone: 150 5519 8367
QQ: 516059158
)