[wiki]如何启动或停止 /etc 下的服务?

参与到Ubuntu的翻译中来
回复
头像
freeflying
帖子: 521
注册时间: 2005-03-26 9:38

[wiki]如何启动或停止 /etc 下的服务?

#1

帖子 freeflying » 2005-04-14 20:43

the services that runs are in /etc/rcX.d folder (where X is 0 -> 6)
to add a service (services must be in /etc/init.d folder
sudo update-rc.d nameoftheservice defaults
to remove it
sudo update-rc.d nameoftheservice remove

to customise it, man update-rc.d and read what is writen there
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#2

帖子 firehare » 2005-04-15 9:43

the services that runs are in /etc/rcX.d folder (where X is 0 -> 6)
运行的服务被放在/etc/rcX.d目录中(在这里X的取值是从0到6)

to add a service (services must be in /etc/init.d folder
添加一个服务(服务必须已在/etc/init.d目录中存在)
sudo update-rc.d nameoftheservice defaults

to remove it
删除一个服务
sudo update-rc.d nameoftheservice remove

to customise it, man update-rc.d and read what is writen there
要定制服务,请参阅man update-rc.d中所写内容。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#3

帖子 oneleaf » 2005-04-15 19:13

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
linos
帖子: 4
注册时间: 2005-04-18 17:12

#4

帖子 linos » 2005-04-18 17:27

可以把SXXnameoftheservice 改成KXXnameoftheservice 吗?
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#5

帖子 oneleaf » 2005-04-18 17:41

不行
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
maxima
帖子: 41
注册时间: 2005-06-12 16:41

#6

帖子 maxima » 2005-06-21 7:37

连接不上了。

删除Sxxname of the services不行了呀?为什么不继承一下呢?
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#7

帖子 oneleaf » 2005-06-21 8:38

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
song8159
帖子: 49
注册时间: 2005-06-21 18:59

#8

帖子 song8159 » 2005-06-24 20:13

中文支持还是有待提高
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#9

帖子 millenniumdark » 2006-07-31 17:59

已经包括在常见问答中
http://wiki.ubuntu.org.cn/常见问答
回复