添加為自動啟動 chkconfig --add httpd 或者指定運行級別 chkconfig --level 345 httpd on
停止自動啟動 chkconfig --del httpd 或指定運行級別 chkconfig --level 345 httpd off
Prim@Hosting提供的系統服務,詳見下表
FTP服務:
/etc/init.d/muddleftpd stop
/etc/init.d/muddleftpd start
/etc/init.d/muddleftpd restart
SMTP服務:
/etc/init.d/postfix stop
/etc/init.d/postfix start
/etc/init.d/postfix reload
POP3服務:
/etc/init.d/courier-pop3d stop
/etc/init.d/courier-pop3d start
/etc/init.d/courier-pop3d restart
HTTP服務:
/etc/init.d/httpd stop/start/restart
jsp服務:
/etc/init.d/resin stop/start/restart
DNS服務:
/etc/init.d/named stop/start/restart
mysql服務:
/etc/init.d/mysqld stop/start/restart