Apache2: how to enable on startup?
ulist at gs1.ubuntuforums.org
Sun May 15 15:41:04 UTC 2005
Magnus Therning Wrote:
> On Sun, May 15, 2005 at 12:31:26PM +0100, David Marsh wrote:
> >I installed Apache 2, since that appears to be the new world order,
> >after getting over the initial shock, was actually pleasantly
> >at how much simpler the new 'sites-available' structure works..
> >However, Apache 2 doesn't start automatically on boot up.
> >What's the Correct[TM] Ubuntu way to make it do that?
> I've never had to do anything special to do that!
> How do you start it manually? I assume '/etc/init.d/apache2 start'
> the trick. Then make sure there is a link in /etc/rc.2 to
> /etc/init.d/apache2 (the links name should start with 'S').
> Magnus Therning (OpenPGP: 0xAB4DFBA4)
> magnus at therning.org
> Software is not manufactured, it is something you write and publish.
> Keep Europe free from software patents, we do not want censorship
> by patent law on written works.
> I have the simplest tastes. I am always satisfied with the best.
> -- Oscar Wilde
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> -----END PGP SIGNATURE-----
well exactly that's what "sudo update-rc.d apache2 defaults" do,
except you don't have to create links manually they will be created
automatically in rcX.d folders using that command
More information about the ubuntu-users