• 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

  • 相关阅读:
    [转载]memcached完全剖析--1. memcached的基础
    I/O多路复用
    How to install the zsh shell in Linux && how to set it as a default login shell
    深入理解计算机中的 csapp.h和csapp.c
    (一)网络编程基础之套接字入门
    crx
    t
    武汉第一例肺炎病例
    C语言 ## __VA_ARGS__ 宏
    NLP之中文分词cppjieba
  • 原文地址:https://www.cnblogs.com/wangchunniu1314/p/6339379.html
Copyright © 2020-2023  润新知