Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Lightbulb Apache on Startup


    I am using Astrumi to host a website. How can I get Apache to boot up on start automatically without manually doing it? i have used
    service http start
    . doesnt work. any ideas? help would be grealty appreciated.


  2. #2
    Linux Newbie
    Join Date
    Jul 2005
    Turn Around
    I believe this will vary from distro to distro, but this is how it works on Debian.

    1.) Make sure 'apache' is in /etc/init.d (or possibly apache2, etc.). If it is not, make a quick shell script used to run apache and place it in /etc/init.d.
    2.) Make a symlink in /etc/rcx.d where (x is your default runlevel) to the binary in /etc/init.d
    3.) In the symlink name use a name similar to the others in the directory, like 'S99apache'. The higher the number (in that case 99), the later it starts on boot-up. I believe you should use 99.

    Good luck! Keep in mind this is for DEBIAN and likely isn't the exact same. HOWEVER this should give some pointers that will hopefully allow you to figure it out on your own. Post again if you need help.

    Be well!

    P.S. Just remembered... check out and scroll down to "Starting Up". There's a great explanation on this startup system there.

  3. #3



    It worked exactly the wayi wanted too! Thanks Alot! I have one more question but it is completely off topic from this thread...


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts