永久打开或则关闭
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 & 插入文件中,以实现开机自动启动。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-09-19
  • 2022-12-23
  • 2022-01-11
  • 2021-06-24
  • 2021-12-03
猜你喜欢
  • 2021-12-27
  • 2021-11-23
  • 2021-05-19
  • 2021-12-08
  • 2022-02-07
  • 2022-01-11
  • 2022-01-13
相关资源
相似解决方案