Results 1 to 1 of 1
-
15th Jun 2014, 03:22 PM #1
Apache 2 Install and Upgrade Guide
Apache 2 Install and Upgrade Guide
Apache 2 upgrade - Apache 2 installation
Note: This how-to has worked fine on plesk and cpanel servers and numerous tests. I cannot guarentee it will work on yours and cannot take responsibility for the outcome. I do not recommend running this how-to on an ensim server.
Note: Text in green are commands that should be run from the root shell
FRESH INSTALL - Apache 2 installation
This part of the how-to is for a clean install only, for upgrades please scroll down.
Make a copy of your current httpd.conf incase you need to roll-back
Code:cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back
Code:wget http://www.tux.org/pub/net/apache/d...d-2.0.47.tar.gz
Code:tar -xz -f httpd*
Code:cd httpd*
Code:./configure --prefix=/usr/local/apache --with-php --with-mysql --with-susexec --enable-mods-shared=all --disable-info
Code:make
Code:make install
The four lines below are certain security measures that can be taken to hide the identity of apache. *These are optional*
Edit The http.conf File
Code:pico -w /usr/local/apache/conf/httpd.conf
Locate ServerSignature and change to off
Add the line below, after ServerSignature off
ServerTokens ProductOnly
Save httpd.conf
CTRL + X then "Y" then "enter" without the "'s
Start Your New Apache
Code:/usr/local/apache/bin/apachectl start
Please scroll down to the bottom of the page, after performing the commands above
Apache 2 Upgrade - Upgrading Apache
Make a copy of your current httpd.conf incase you need to roll-back
Code:cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back
Code:wget http://www.tux.org/pub/net/apache/d...d-2.0.47.tar.gz
Code:tar -xz -f httpd*
Code:cd httpd*
Code:./config.nice
Code:make
Code:make install
Code:/usr/local/apache/bin/apachectl restart
Areon Reviewed by Areon on . Apache 2 Install and Upgrade Guide Apache 2 Install and Upgrade Guide Apache 2 upgrade - Apache 2 installation Note: This how-to has worked fine on plesk and cpanel servers and numerous tests. I cannot guarentee it will work on yours and cannot take responsibility for the outcome. I do not recommend running this how-to on an ensim server. Note: Text in green are commands that should be run from the root shell FRESH INSTALL - Apache 2 installation This part of the how-to is for a clean install only, for upgrades please Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Installing Apache, MySQL and PHP using Yum on a Linux Server
By JacksonWeb in forum Tutorials and GuidesReplies: 6Last Post: 11th Feb 2011, 06:43 AM -
[Selling] X Manager Services : Video creating,video uploading..script install and more!
By Nikolasr in forum Completed TransactionsReplies: 2Last Post: 14th Sep 2010, 09:59 PM -
[Hiring] Some one to install and configure Direct admin
By ArDown in forum Completed TransactionsReplies: 3Last Post: 14th Jun 2010, 02:48 AM -
[Selling] Hesham_3del VCC Making and Generating Guide
By Hesham_3del in forum Completed TransactionsReplies: 26Last Post: 6th Jan 2010, 03:21 PM -
[VPS]Install and Configure a GUI on your (Linux)
By Lease in forum Technical and Security TutorialsReplies: 0Last Post: 9th Jan 2008, 02:23 AM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...