| Author |
Message |
okwebcast
Joined: 05 Sep 2007 Posts: 2 Location: Okanagan Valley, B.C.
|
Posted: Wed Sep 05, 2007 2:26 pm Post subject: Best way to upgrade dedicated server to Apache 2.x? |
|
|
Hi,
Have to say, I have been leasing dedicated servers for a long time now, several years, and I find this company to be more responsive than any I've dealt with in this industry. Appreciate that you answer questions quickly.
I'm interested in upgrading my dedicated server to Apache 2, and I want to ask you what is the best way to not break Cpanel. I notice Cpanel lets up update just about everything except apache and centos, so I figure there's a reason for that.
Any input would be appreciated. |
|
| Back to top |
|
 |
scott CWH Staff
Joined: 02 Aug 2007 Posts: 53
|
Posted: Fri Sep 07, 2007 8:40 pm Post subject: |
|
|
Hello..
First check the cpanel version running on the server using:
| Quote: |
cat /usr/local/cpanel/version |
It the output is 11.10.0-STABLE_16448
You can upgrade to Apache 2 using
| Quote: |
/scripts/easyapache |
Otherwise, you will need manually upgrade using the following steps:
| Quote: | Make a copy of your current httpd.conf incase you need to roll-back
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back
Download The Apache Tar.Gz File from the site
http://httpd.apache.org/download.cgi
Extract The File To Your Server
tar -xz -f httpd*
Move Into The Extracted Folder
cd httpd*
Run The Configuration File
./config.nice
Run The Make File
make
Run The Install Make File
make install
Start Apache
/usr/local/apache/bin/apachectl restart |
|
|
| Back to top |
|
 |
kevin CWH Staff
Joined: 13 Dec 2004 Posts: 209 Location: Vancouver, BC
|
Posted: Sat Sep 22, 2007 1:55 pm Post subject: |
|
|
| At the moment, Apache2 is still considered beta by cPanel. But I heard it will be stable by this fall. Just check the cPanel forums at forums.cpanel.net. There are problems running Apache2 at the moment and ppl are pressuring the cPanel devs to make it stable. |
|
| Back to top |
|
 |
|