PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : چگونگی آپگرد آپاچ به نسخه 2



Vahid
August 6th, 2008, 02:03
Upgrade To APACHE 2.0 Web Server

Quote: Apache has been the most popular web server on the Internet since April of 1996. The February 2005 Netcraft Web Server Survey found that more than 68% of the web sites on the Internet are using Apache, thus making it more widely used than all other web servers combined. (Source: Apache.org)

This quick tutorial will show you how to upgrade your existing Apache installation to the latest version (2.2.0 as the time of writing this tutorial). Please follow the steps outlined below.

Make a copy of the current httpd.conf file in case you need to roll-back after a failed upgrade.

cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back

Download The Apache Tar.Gz File

wget http://www.tux.org/pub/net/apache/dist/httpd/httpd-2.2.0.tar.gz

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

Apache is now upgraded to 2.2.0 (latest version available at the time this article is written). Please replace the version number on the download path as needed later on. To check for the latest version and documentation - please go to: Welcome! - The Apache HTTP Server Project (http://httpd.apache.org/)