1.设置成英文字符,避免出现乱码
[root@xuegod62 ~]# LANG=en
2.两种配置linux开机自启动服务命令:
1)
[root@xuegod62 ~]# ntsysv
2)
[root@xuegod62 ~]# setup
3.查看文本模式3级别下的开机自启动服务
[root@xuegod62 ~]# chkconfig --list|grep 3:on
abrt-ccpp           0:off 1:off 2:off 3:on 4:off 5:on 6:off
abrtd                 0:off 1:off 2:off 3:on 4:off 5:on 6:off
acpid                 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd                    0:off 1:off 2:off 3:on 4:on 5:on 6:off
auditd               0:off 1:off 2:on 3:on 4:on 5:on 6:off
blk-availability    0:off 1:on 2:on 3:on 4:on 5:on 6:off
cpuspeed           0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond                 0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon         0:off 1:off 2:off 3:on 4:on 5:on 6:off
ip6tables            0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables             0:off 1:off 2:on 3:on 4:on 5:on 6:off
irqbalance         0:off 1:off 2:off 3:on 4:on 5:on 6:off
kdump              0:off 1:off 2:off 3:on 4:on 5:on 6:off
lvm2-monitor    0:off 1:on 2:on 3:on 4:on 5:on 6:off
mdmonitor        0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus      0:off 1:off 2:on 3:on 4:on 5:on 6:off
netfs                0:off 1:off 2:off 3:on 4:on 5:on 6:off
network            0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix             0:off 1:off 2:on 3:on 4:on 5:on 6:off
rsyslog             0:off 1:off 2:on 3:on 4:on 5:on 6:off
sshd                0:off 1:off 2:on 3:on 4:on 5:on 6:off
sysstat            0:off 1:on 2:on 3:on 4:on 5:on 6:off
udev-post        0:off 1:on 2:on 3:on 4:on 5:on 6:off

相关文章:

  • 2021-04-19
  • 2021-12-09
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-11-22
  • 2021-11-30
  • 2022-12-23
  • 2022-01-09
  • 2021-07-05
  • 2022-02-20
相关资源
相似解决方案