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

  • 相关阅读:
    python 基于os模块的常用操作
    python 文件的读写
    Spring Boot 2.0(五):Docker Compose + Spring Boot + Nginx + Mysql 实践
    Docker(四):Docker 三剑客之 Docker Compose
    Docker(三):Dockerfile 命令详解
    Docker(二):Dockerfile 使用介绍
    Docker(一):Docker入门教程
    虚拟机vmware centos7 扩展磁盘空间
    那些年我们遇到的坑(1)-Description Resource Path Location Type Archive for required library
    RPM安装命令总结
  • 原文地址:https://www.cnblogs.com/wangchunniu1314/p/6339379.html
Copyright © 2011-2022 走看看