Redirecting to /bin/systemctl restart sshd.service

简介:

云服务器 ECS Linux CentOS 7 下重启服务不再通过 service 操作,而是通过 systemctl 操作。
QQ_20181221083103

查看:systemctl status sshd.service

启动:systemctl start sshd.service

重启:systemctl restart sshd.service

自启:systemctl enable sshd.service

目录
打赏
0
0
0
0
1230
分享
相关文章
linux 安装mysql ERROR:Job for mysqld.service failed See “systemctl status mysqld.service”
linux 安装mysql ERROR:Job for mysqld.service failed See “systemctl status mysqld.service”
336 0
Linux:systemctl、service、chkconfig
Linux:systemctl、service、chkconfig
146 0
运行sudo service nginx restart,报错* Restarting nginx nginx[fail],启动不了nginx,启动nginx报错
运行sudo service nginx restart,报错* Restarting nginx nginx[fail],启动不了nginx,启动nginx报错
360 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等