Results 1 to 4 of 4
Hi,
Let me begin by saying my Linux experience consists of the past few hours. I'm trying to move my server from a Windows XP based server to a Debian ...
- 06-29-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 2
Autostarting stuff
Hi,
Let me begin by saying my Linux experience consists of the past few hours. I'm trying to move my server from a Windows XP based server to a Debian based one. So far I've managed to compile & install Apache, PHP, and MySQL, but have some problems.
How can I add things to auto start when the system boots up?
Namely, I'd like to run:
I've done some searches, and found things about "rcS.d", "init.d", "symlinks", and ".sh" files, but have absolutely no idea what any of them mean (nor can I find anything that makes sense to a long-time Windows user on Google).Code:/usr/local/httpd/bin/httpd -DSSL /usr/local/mysql/bin/mysqld_safe gksu -g /usr/sbin/firestarter
Please help a hapless Linux noob
Thanks!
- 06-29-2007 #2
- 06-29-2007 #3Just Joined!
- Join Date
- Jun 2007
- Posts
- 2
Alright, so it looks like this command lets me install "init scripts" to run commands. It mentions a "runlevel" and "NN", which I assume only specify when the script is executed in relation to the others (higher values go later). Is that correct?
In that case, only one question remains: what is an init script, and how can I make three to run those commands above?
- 06-30-2007 #4Linux User
- Join Date
- Feb 2006
- Posts
- 484
why dont you install apache2 from the debian repos?
if you install apache trough apt , it install the init script too.


Reply With Quote
