LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2004, 06:02 AM   #1
wael_nasreddine
Member
 
Registered: Jun 2004
Location: France
Distribution: debian sarge
Posts: 109

Rep: Reputation: 15
linux start up


hello everyone
see i'm a newbie in linux and i've installed apache2.0.49/PHP5/MySQL on my mandrake 10.0 (i've removed the one included because i wanna use PHP5)
so my question is how to put apache2 and mysql run on startup like this:
/usr/local/apache2/bin/apachectl start AS ROOT
/usr/local/mysql/bin/mysqld NOT AS ROOT


do i have to make a link in /etc/rc.d/init.d/ ?????


if i can't can i put the paths to be default i mean like in Windows in autoexec.bat : path=thepathtoapache ??????


Thank You
 
Old 06-25-2004, 09:02 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Re: linux start up

Quote:
Originally posted by wael_nasreddine
hello everyone
see i'm a newbie in linux and i've installed apache2.0.49/PHP5/MySQL on my mandrake 10.0 (i've removed the one included because i wanna use PHP5)
so my question is how to put apache2 and mysql run on startup like this:
/usr/local/apache2/bin/apachectl start AS ROOT
/usr/local/mysql/bin/mysqld NOT AS ROOT


do i have to make a link in /etc/rc.d/init.d/ ?????


if i can't can i put the paths to be default i mean like in Windows in autoexec.bat : path=thepathtoapache ??????


Thank You

Add your line to /etc/rc.local. This file is executed in the end at boot. or create your own /etc/init.d file.

If you want to start any process as anyother user , use su. See su man page

MYSQLD runs as mysql user. It starts as root and gives up privileges after starting. See the startup file that came with the package.
 
Old 06-25-2004, 09:41 AM   #3
wael_nasreddine
Member
 
Registered: Jun 2004
Location: France
Distribution: debian sarge
Posts: 109

Original Poster
Rep: Reputation: 15
in fact i've readed one of the init.d files but i don't understand how to make one
where can i find documentation????
please help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help start me with linux suckerr70 Linux - Newbie 16 04-15-2005 02:24 AM
Can't start linux ipoenkt Linux - Newbie 1 05-06-2004 02:58 PM
after i installed linux and tried start linux it hangs at the message (in post) adamshreves Linux - General 5 10-30-2003 01:44 PM
cannot start Linux teddy_o Slackware 3 09-16-2003 01:48 AM
linux start-up help kutaz Linux - Software 1 09-10-2003 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration