Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Os kernel การปรับแต่ง เพิ่มเติม ลงโปรแกรม บน OS และ ControlPanel Directadmin,Cloud server => Topic started by: golfreeze on ตุลาคม 27, 2016, 10:54:46 PM

Title: centos 7 กับ centos 6 การใช้งาน systemctl
Post by: golfreeze on ตุลาคม 27, 2016, 10:54:46 PM
เปรียบเทียบคำสั่ง CentOS 6.x down vs CentOS 7.x up
service service_name start = systemctl start service_name
service service_name stop = systemctl stop service_name
service service_name restart = systemctl restart service_name
service service_name reload = systemctl reload service_name
service service_name status = systemctl status service_name
chkconfig service_name on = systemctl enable service_name
chkconfig service_name off = systemctl disable service_name
chkconfig --list service_name = systemctl is-enabled service_name
chkconfig --list = systemctl list-unit-files --type=service
Title: Re: centos 7 กับ centos 6 การใช้งาน systemctl
Post by: golfreeze on เมษายน 08, 2017, 08:42:50 PM
CentOS6
#chkconfig --list

CentOS7
#systemctl list-units | grep service_name