Linux系统启动、重启、停止服务

2015年2月12日12:51:58系统教程评论1,105

Linux系统很多操作都在SSH下进行,对于我这个以前没接触过Linux的人来说,还是有些难度,只能一步步的学习了。文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

最近对网络、pptp等操作较多,经常需要重启这些服务,整理了Linux系统下启动、重启、停止服务的指令。文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

启动服务: services 服务 start文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

停止服务: services 服务 stop文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

重启服务:  services 服务 restart文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

服务状态: services 服务 status文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

例如修改了网络的IP、hosts文件后,你要重启network服务,只需要使用:service network restart文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

配置好了pptp服务器,你要启动pptpd服务:service pptpd start文章源自堕落的鱼-https://www.duoluodeyu.com/1077.html

匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定