Install Apache on Linux VPS

You will be able to install Apache on your Linux VPS quite easily with the help of the following steps given below :

1) Check if Apache is already installed on your VPS. You can do this with the help of following command

yum -y remove httpd mysqld mysql-server php

2) If it is not istalled on your VPS run the following commands to install Apache

http://httpd.apache.org/download.cgi

#cd /usr/local/src

#wget http://mirrors.24-7-solutions.net/pub/apache/httpd/httpd-2.2.8.tar.gz

#tar -xzvf httpd-2.2.8.tar.gz

#cd httpd-2.2.8.tar.gz

#./configure –prefix=/usr/local/apache

# make /compile

# make install /install

#cp /usr/local/apache/bin/apachectl /etc/initr.d/

#service httpd stop

#service httpd start

#httpd –v

If these commands are entered properly and everything goes well, Apache will be installed on your VPS.

This entry was posted on Thursday, January 15th, 2009 at 9:32 pm and is filed under VPS hosting, VPS hosting Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply