开机自动运行问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
npgmis
帖子: 65
注册时间: 2007-08-28 16:42

开机自动运行问题

#1

帖子 npgmis » 2008-07-23 8:17

大家早上好

我的用的是ubuntu8.04Server版,安装了apache,mysql,php还有nginx,现在我想用nginx取代apache,又不想把apache删除,第次开机apache都自动运行,要手动/etc/init.d/apache stop停止,我知道在redhat中用chkconfig可以修改服务器的启动方式,但在ubuntu中有没有类假的命令或操作执行呢
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2008-07-23 9:28

sudo update-rc.d apache remove

参考:

http://wiki.ubuntu.org.cn/index.php?tit ... D.E5.8A.A1
回复