linux中service的问题

1.描述问题

2.解决方案

 

systemctl stop firewalld
systemctl mask firewalld

Then, install the iptables-services package:

yum install iptables-services

Enable the service at boot-time:

systemctl enable iptables

Managing the service

systemctl [stop|start|restart] iptables

Saving your firewall rules can be done as follows:

service iptables save


参考:http://www.bubuko.com/infodetail-1954829.html
http://blog.csdn.net/song_csdn1550/article/details/51768671
http://blog.163.com/xavier_666/blog/static/25884000720163299503423/
http://blog.csdn.net/song_csdn1550/article/details/51768671

 

posted @ 2018-01-10 17:59  侠岚之弋痕夕  阅读(176)  评论(0)    收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!