also @ TechSpot: Motorola Droid 4 unboxing, hands-on video
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Download Now:

Starting Apache and MySQL on SuSE 8.1 at bootup

Thread Tools Search this Thread
  #1  
Old 10-14-2004
MYOB's Avatar
TechSpot Booster
 
Location: Dublin, Ireland
Member since: Apr 2002, 527 posts
Starting Apache and MySQL on SuSE 8.1 at bootup

I've got a SuSE 8.1 box with Apache 2 and MySQL 4.1 running on it. I want these to be executed at bootup automatically, namely "/usr/local/apache2/bin/apachectl -start" and '/usr/local/mysql/bin/mysqld_safe &"

I know about init.d, but as I compiled these myself, the don't come with init scripts, and as I don't need the other features of the init system (the only time this box has ever gone off is a powerout, and init shutdown is useless then), is there any other way to have these two commands executed on boot, or even on login by root or my own account?
  #2  
Old 10-15-2004
Per Hansson's Avatar
TechSpot Server Guru
 
Location: Sweden
Member since: Feb 2002, 1,513 posts
System specs
Does SuSE support the chkconfig command? If not try to find a similar command...

Or just add it to init.local
__________________
"The one who says it cannot be done should never interrupt the one who is doing it."
  #3  
Old 10-15-2004
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
AFAIK SuSE uses /etc/init.d/boot.local for any user defined startup commands.
  #4  
Old 10-15-2004
MYOB's Avatar
TechSpot Booster
 
Location: Dublin, Ireland
Member since: Apr 2002, 527 posts
Thanks

Any way to give the system an argument to bypass boot.local from GRUB?
Closed Thread

Similar Topics
Topic Replies Forum
PHP & MySQL on 98se 6 Software Apps
PHP/MySQL server help. 7 Software Apps
Backing up MySQL? 4 Software Apps
mysql 0 Introduce yourself
MySQL question. 8 Software Apps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 05:37 AM.