Find the answer to your Linux question:
Results 1 to 3 of 3
I'm using suse 9.1 and I installed Apache through YaST and go it up and running, but if I ever need to restart thr computer I must type Code: httpd2 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157

    Getting Apache to start at boot


    I'm using suse 9.1 and I installed Apache through YaST and go it up and running, but if I ever need to restart thr computer I must type
    Code:
    httpd2 -k start
    every time I restart to get apache to start.

    I know its possible to get it to run on startup since I looked on apache's site. But since it's a YaST install the dirs they talk about don't exist in SuSE.

    So how can I get apache to start at boot?

    thanks;

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    you can go into /etc/init.d/rc5.d/ and either give apache its own little file or just place this in /etc/init.d/rc5.d/functions:
    Code:
    httpd2 -k start
    -lakerdonald

  3. #3
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Thanks lakerdonald!
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

Posting Permissions

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