Nevertheless you could modify your runlevel configuration (Ubuntu uses upstart instead of init) and then start apache manually from the console when you need it.
Unfortunately I don't know the upstart configuration options by mind but I think some googling for it's configuration should help you.
Edit: Maybe Boot-Up Manager is what you need (http://www.marzocca.net/linux/bum.html) - I don't use Ubuntu as desktop.
发布评论
评论(2)
使用以下命令从运行级别中删除 apache“自动启动”:
使用以下命令创建一个脚本:
使其可运行
并在您想要启动 apache 时运行它。
Remove apache "autostart" from runlevels with the following:
Make a script with the following:
Make it runnable
And run it when you want to start apache.
我认为这更像是 serverfault.com 的问题。
不过,您可以修改运行级别配置(Ubuntu 使用 upstart 而不是 init),然后在需要时从控制台手动启动 apache。
不幸的是,我不知道暴发户的配置选项,但我认为一些谷歌搜索它的配置应该对你有帮助。
编辑:也许启动管理器就是您所需要的(http://www.marzocca.net/linux/bum.html)-我不使用Ubuntu作为桌面。
编辑2:尝试
I think this is more a serverfault.com question.
Nevertheless you could modify your runlevel configuration (Ubuntu uses upstart instead of init) and then start apache manually from the console when you need it.
Unfortunately I don't know the upstart configuration options by mind but I think some googling for it's configuration should help you.
Edit: Maybe Boot-Up Manager is what you need (http://www.marzocca.net/linux/bum.html) - I don't use Ubuntu as desktop.
Edit2: Try