当前位置:首页 > linux > 正文内容

服务查看启动

root3年前 (2020-12-09)linux554

服务启动、停止和重启

service   xxx  start  

service   xxx  stop

service   xxx  restart 


服务状态查看

systemctl status xxx


当然也可以用systemctl 对服务启动、停止和启动

systemctl  start  xxx

systemctl  stop  xxx

systemctl  restart  xxx

扫描二维码推送至手机访问。

版权声明:本文由一叶知秋发布,如需转载请注明出处。

本文链接:https://zhiqiu.top/?id=62

分享给朋友:

相关文章

window设置socks代理

window设置socks代理

代理地址:socks=127.0.0.1 端口:11080...

linux创建用户和用户组

添加用户和组groupadd testuseradd -r -g test test删除用户和组userdel testgroupdel test给文件添加用户组和用户归属chown -R test:test test_file...

How to Enable FTP Passive Mode

How to Enable FTP Passive Mode

OverviewThis document explains how to use the active or passive mode to connect to a File Transfer Protocol (FTP) server...

linux 安装某些C源码程序,出现的依赖问题

configure:error:no acceptable C compiler found in $PATH这里提示是缺少C的编译器这个时候需要安装C的编译器但是我冬日大神告诉我还要点别的省的出问题。执行下面搞定:apt ins...

docker 日志查看

通过如下命令来获取容器的日志地址 docker inspect --format '{{.LogPath}}' 97069f94437bcat命令查看上述命令找到的日志地址cat /...

k8s 给sc 开启或者关闭 默认设置

k8s 给sc 开启或者关闭 默认设置

https://www.freesion.com/article/3909514696/ 关闭默认设置kubectl patch storageclass managed-nfs-storage-67 ...