zoukankan      html  css  js  c++  java
  • linux开机自启动服务优化设置命令

    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

  • 相关阅读:
    51nod 1428 活动安排问题
    COGS 1. 加法问题 (水体日常)
    COGS 1406. 邻居年龄排序[Age Sort,UVa 11462](水题日常)
    51nod 1133 不重叠的线段
    51nod 1031 骨牌覆盖
    51nod 1050 循环数组最大子段和
    51nod 1094 和为k的连续区间
    51nod 1433 0和5
    51nod 1092 回文字符串
    洛谷 P1507 NASA的食物计划
  • 原文地址:https://www.cnblogs.com/wangchunniu1314/p/6339379.html
Copyright © 2011-2022 走看看