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

    SUSE 10 - Apache

    I'm very new at Linux.
    I installed an apache on a Suse desktop edition 10. I'm able to get it working, but always have to start the server manual. I allways have to type "su root apachectl start" and then everything works fine.
    But I would like it to start when the server boots up. So I would love to install it as a service. I used "chkconfig --add apachectl" and "chkconfig --add httpd" but always receive an unknown service error.
    Can somebody tell me how I have to install the apache as a service so it boots up automatically?
    Thanks in advance !!!

  2. #2
    You could put the command to start the service in /etc/rc.local. Did you install apache from source or using the package manager?

  3. #3
    I installed it from source. It's not included in the standard Suse desktop edition. So had to download the package and install it.

    Can't find the /etc/rc.local :-s

  4. $spacer_open
  5. #4
    Check for it in /etc/rc.d/rc.local. I use Debian and I think Suse puts the rc.local in a different spot.

  6. #5
    OK thanks a lot for the fast support !!!
    Found it in the /etc/rc.d directory. Added a script (only one line - . /usr/local/apache2/bin/apachectl start) and then installed it as a service with the chkconfig command. Works fine!

Posting Permissions

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