zoukankan      html  css  js  c++  java
  • CentOS 7设置服务的开机启动

    Centos 7下我们常常使用systemctl命令对服务进行管理,systemctl命令的使用方法如下:

    systemctl   选项     服务.service

    而最常用的选项有如下6个

    start(启动)     stop(关闭)     resstart(重启)              //立即生效

    enable    disable    is-enable                                 //针对下次开机的时候动作

    systemctl enable   firewalld.service)    #设置防火墙开机自动启动
    
    systemctl disable  firewalld.service)    #取消防火墙开机自动启动 

    systemctl   is-enabled   服务.service          //查询是否允许开机启动

  • 相关阅读:
    Python float() 函数
    Python bytearray() 函数
    scanner.nextInt()与scanner.nextDouble
    Scanner对象next与nextLine
    JavaDoc
    包机制
    运算符要点
    变量与常量
    test
    类型转换
  • 原文地址:https://www.cnblogs.com/bazhahei/p/6226959.html
Copyright © 2011-2022 走看看