Wednesday, February 20, 2008

How to get and install Apache in Linux

1. Get the latest Apache distribution at http://www.apache.org

2. Download and save it to /home/someuser/source/

3. Open terminal

4. # cd /home/someuser/source/

5. Unpack the distribution

· # tar xzvf httpd-x.x.x tar.gz

6. Go to the Apache source directory

· # cd httpd-x.x.x

7. Configure, compile and install Apache

· # ./configure --prefix=/usr/local/apache --enable-module=all --enable-shared=max

· # make

· # make install

No comments:

Google