Results 1 to 3 of 3
ok,
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
Code:
service http ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-10-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 16
Apache on Startup
ok,
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. doesnt work. any ideas? help would be grealty appreciated.Code:service http start
chris
- 04-11-2006 #2Linux Newbie
- Join Date
- Jul 2005
- Location
- Turn Around
- Posts
- 202
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!
-Dan
P.S. Just remembered... check out http://aboutdebian.com/linux.htm and scroll down to "Starting Up". There's a great explanation on this startup system there.
- 04-11-2006 #3Just Joined!
- Join Date
- Apr 2006
- Posts
- 16
Awesome!
Hey,
It worked exactly the wayi wanted too! Thanks Alot!
I have one more question but it is completely off topic from this thread...
Chris


Reply With Quote
