View previous topic :: View next topic |
Author |
Message |
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Thu Oct 24, 2002 10:30 pm Post subject: one stop start and stopping apache-mysql-php |
|
|
Hello, i am about to emege apache,mysql,php on my note book. I won't need these to be running all the time, normall when out showing example of web sites etc.
Is there a script that would start and stop all three with just one command?
if not what is best to acheive with another method
cheers |
|
Back to top |
|
|
Proteus Guru
Joined: 14 Jul 2002 Posts: 346 Location: Hamburg, Germany
|
Posted: Sat Oct 26, 2002 3:36 pm Post subject: |
|
|
Create a new runlevel i.e. "presentations", then
Code: | rc-update add apache presentations
rc-update add mysql presentations |
mod_php (I think that is what you want - not php itself.
Afterwards you can change to the runlevel with the services you neeed active:
and back to normal without apache, mysql, mod_php:
_________________ Greetings,
Proteus |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Sat Oct 26, 2002 8:15 pm Post subject: |
|
|
thanks i will give it a try |
|
Back to top |
|
|
|