Page 1 of 1

Best way to upgrade dedicated server to Apache 2.x?

PostPosted: Wed Sep 05, 2007 3:26 pm
by okwebcast
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.

PostPosted: Fri Sep 07, 2007 9:40 pm
by scott
Hello.. :)

First check the cpanel version running on the server using:
cat /usr/local/cpanel/version


It the output is 11.10.0-STABLE_16448

You can upgrade to Apache 2 using
/scripts/easyapache


Otherwise, you will need manually upgrade using the following steps:

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

PostPosted: Sat Sep 22, 2007 2:55 pm
by kevin
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.