如何在CentOS 7中启动/停止/重启服务
发布网友
发布时间:2022-04-23 23:47
我来回答
共1个回答
热心网友
时间:2023-08-18 06:30
systemctl restart httpd #重启
systemctl start httpd #启动
systemctl stop httpd #停止
systemctl enable httpd #加入开机启动
systemctl disable httpd #从开机启动中删除
systemctl status httpd #查看服务状态
systemctl list-unit-files #查看所有已安装服务