Results 1 to 5 of 5
Hello,
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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-04-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
SUSE 10 - Apache
Hello,
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 !!!
- 12-04-2008 #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?
- 12-04-2008 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 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
- 12-04-2008 #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.
- 12-04-2008 #5Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
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!


Reply With Quote
