LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1780|回复: 3

debia中重启,停止服务相应的命令是什么

[复制链接]
发表于 2005-9-13 21:39:23 | 显示全部楼层 |阅读模式
Redhat 中service Serv_name restart等可以重启服务,不知道debia中相应的命令是什么
发表于 2005-9-13 22:01:03 | 显示全部楼层
Forgot already, but u may cd to /etc/init.d and then choose the corresponding services to start or stop or restart
回复 支持 反对

使用道具 举报

发表于 2005-9-14 10:12:53 | 显示全部楼层
/etc/init.d/networking restart
起动脚本在那个目录下面,自己写脚本,如果没有的话。
回复 支持 反对

使用道具 举报

发表于 2005-9-14 10:34:29 | 显示全部楼层
还是用/etc/init.d/xxx     {start/stop/restart} 来的直接。

在debian中同样可以用service,只要你按装sysvconfig软件包即可

apt-get install sysvconfig即可搞定


service与红帽中的主法一样,只是在红帽中可以用的kudzu软件,到了debian中再用就感觉没有在红帽下好用,哪位兄弟知道有替代的软件吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表