systemctl 簡易使用
動作 服務名.service
一些centos7 systemctl命令簡單實用實例:
systemctl start httpd.service /啟動Apache httpd
systemctl restart httpd.service /重新啟動
systemctl stop httpd.service /停止服務
systemctl enable httpd.service /開機啟動httpd
systemctl disable httpd.service /禁止開機啟動httpd
systemctl status httpd /顯示服務狀態
systemctl is-active httpd /顯示服務狀態
systemctl list-unit-files | grep httpd /列出 httpd Server 啟動狀態
參考:http://www.vpsboke.com/manage/centos7-service-systemctl-command/
迴響
systemctl 簡易使用 | 豬窩
This is the perfect blog for anyone who hopes to find out about
this topic. You understand a whole lot its almost hard to
argue with you (not that I really will need to?HaHa).
You definitely put a fresh spin on a topic that's been written about for a long time.
Wonderful stuff, just excellent!
systemctl 簡易使用 | 豬窩
Hello, Neat post. There's an issue along with your site in web explorer, could test this?
IE still is the market chief and a large component of people will pass over your magnificent writing due to this problem.
systemctl 簡易使用 | 豬窩
Since the admin of this web site is working, no doubt very rapidly
it will be well-known, due to its feature contents.
systemctl 簡易使用 | 豬窩
Loving the information on this internet site, you have done outstanding job on the content.
systemctl 簡易使用 | 豬窩
This is the right website for anyone who hopes to find out about this
topic. You understand a whole lot its almost tough to argue with you (not
that I really would want to?HaHa). You certainly put a brand new spin on a subject that's been written about for many years.
Excellent stuff, just excellent!