• CentOS8:服务管理


    开机启动项管理

    1、开启服务开机自启动:

    ---- systemctl    enable      服务名称

    ---- systemctl    enable     mysqld

    2、关闭服务开机自启动:

    ---- systemctl    disable      服务名称

    ---- systemctl    disable     mysqld

    服务管理

    1、服务开启:

    ---- systemctl    start      服务名称

    ---- systemctl    start     mysqld

    2、服务关闭:

    ---- systemctl    stop      服务名称

    ---- systemctl    stop     mysqld

    3、服务重启:

    ---- systemctl    restart      服务名称

    ---- systemctl    restart     mysqld

    4、查看服务:

     ---- systemctl    status      服务名称

     ---- systemctl    status     mysqld

    本文由lnlidawei(https://www.cnblogs.com/lnlidawei)原创或整理,转载请注明出处。
  • 相关阅读:
    随机数模块(random)
    时间模块(time)
    collection模块 1
    collection模块
    re模块
    正则
    Bootstrap 关于下拉菜单的使用
    Bootstrap 关于Glyphicons 字体图标的使用
    oracle拼音排序
    ajax缓存问题
  • 原文地址:https://www.cnblogs.com/lnlidawei/p/13992122.html
Copyright © 2020-2023  润新知