`
fengyaodong
  • 浏览: 143901 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

永久关闭防火墙 vsftp 开机自启动

阅读更多

永久打开或则关闭
chkconfig iptables on
chkconfig iptables off

即时生效:重启后还原
service iptables start
service iptables stop

 

 

开机默认VSFTP服务自动启动:
  方法一:(常用\方便)
    [root@localhost etc]# chkconfig --list|grep vsftpd ( 查看情况)
    vsftpd          0:off   1:off   2:off   3:off   4:off   5:off   6:off
    [root@localhost etc]# chkconfig vsftpd on  (执行ON设置)

或者:方法二:

修改文件 /etc/rc.local , 把行/usr/local/sbin/vsftpd & 插入文件中,以实现开机自动启动。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics