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

服务查看启动

root4年前 (2020-12-09)linux703

服务启动、停止和重启

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

分享给朋友:

相关文章

Jenkins在k8s 部署中,Nodeport服务类型非5000端口如何访问?

Jenkins在k8s 部署中,Nodeport服务类型非5000端口如何访问?

k8s部署Jenkins,server中有两个端口一个是http端口,一个是ssh 端口http端口就不说了,随便映射。在服务类型是NodePort下,对外映射端口如果非50000,slave连接出现异常首先在Jenkins的web界面设置...

CentOS修改hostname

vi /etc/hostname写下你的hostname重启reboot启动后,查看主机名sudo hostname...

境内网络访问境外网络,境外网络访问境内网络

境内网络访问境外网络,境外网络访问境内网络

境内网络访问境外网络总所周知,出国是需要护照的,出网同样也是需要一定的审核的。访问的网站是否合法当你访问一些国外的网站时(少量),能发现访问速度很慢。会出现下面的连接超时的错误同时还有访问速度的限制,经过测试大概100次/s(部分网站,尤其...

python安装的时候出现python setup.py egg_info Check the logs for full command output

python安装的时候出现python setup.py egg_info Check the logs for full command output

解决yum install python2-develpip install --upgrade setuptools...

curl 的请求 和几个参数

-X [POST GET PUT DELETE]参数执行http请求的方法-d参数用于发送post的请求的数据体$curl -d'login=emma&password=123'-X POST https://google....

window设置socks代理

window设置socks代理

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