linux d2 环境准备 命令格式

初始化进程init与systemd

       在红帽7/8初始化进程服务是systemd,红帽老版本(5/6)的初始化进程服务是init,新版中已经没有了运行级别的概念。rhel7/8中不再使用service管理服务而是采用systemctl命令来管理服务的。systemctl管理服务的常用命令:


        systemctl start 服务名称
        systemctl stop 服务名称
        systemctl restart 服务名称,
        systemctl reload 服务名称,
        systemctl status 服务名称,
        systemctl enable 服务名称,
        systemctl disable 服务名称,

 

 

相关文章

LinuxSystemd服务(2021.07.09)目录LinuxSystemd服务(2021.07...
opidrvabortingprocessM002ospid(3561)asaresultofORA-600OR...
安装好haproxy后,配置正确无法启动,看日志:Feb1309:32:50clu...
Linux 系统与服务管理工具Systemd被曝存在3大漏洞,影响几乎...
一、systemd查看日志文件有隐藏 systemctlstatusSERVICE-l-...
不要在mp目录下保存文件,该目录会定期清理文件mp默认保存10...