Web Hosting Talk







View Full Version : how to run cPanel easyapache in the background


sharmaine1111
03-29-2009, 06:16 AM
i changed some settings in CSF that i need to rebuild the apache

how can i use cPanel's easyapache running in the background? Because my internet connection is slow and I dont want risking the apache to be corrupted so it will need to run in the background instead so it will not be dependent on my internet connection

Dannyarr
03-29-2009, 08:49 AM
I think it continues working if you close the window (not sure though, been a while since I've done it).

I guess you could always do it through SSH. Log in as root and do:

/scripts/easyapache

That will give you a interface similar to the graphic one and should definitely run it in the background once you complete the configuration and initiate it.

foobic
03-29-2009, 05:34 PM
Because my internet connection is slow and I dont want risking the apache to be corrupted so it will need to run in the background instead so it will not be dependent on my internet connectionIDK about easyapache specifically but in general it's not just a question of running a job in the background - if your connection breaks down it'll also stop background jobs. The tool you want is screen (http://en.wikipedia.org/wiki/GNU_Screen).

Edit: this (http://www.gnu.org/software/screen/) is a better link.

ServerManagement
03-29-2009, 08:05 PM
You don't really want to run it and walk away. If your connection is not stable enough to monitor the entire process, then you may want to ask someone else or your datacenter to do it for you.

Jordanlw
03-29-2009, 09:13 PM
Or just use screen. (GNU Screen)

sharmaine1111
03-30-2009, 12:24 AM
what could be the reason why sometimes rebuilding of apache causes problems in the server? Just yesterday, the server's apache was rebuilt and httpd went down like crazy. The server's apache was rebuilt around 4 times before everything went Ok.