首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

[Linux]Ubuntun与redhatService治理对比

2013-11-23 
[Linux]Ubuntun与redhatService管理对比Command Line ToolsBelow is a table of example commands for man

[Linux]Ubuntun与redhatService管理对比

Command Line Tools

Below is a table of example commands for managing services. The?apache/httpd?service is used as an example.

?

Task

Red Hat / Fedora

Ubuntu

Ubuntu?
(with sysv-rc-conf or sysvconfig)

Starting/stopping services immediately

service httpd start

invoke-rc.d apache start

service apache start

Enabling a service at boot

chkconfig httpd on

update-rc.d apache defaults

sysv-rc-conf apache on

Disabling a service at boot

chkconfig httpd off

update-rc.d apache purge

sysv-rc-conf apache off

热点排行