UnixServerAdmin

Server Administration & Management

How to Manually install Apache

Apache can install manually with the help of following steps.

# cd /usr/local/src

# wget http://archive.apache.org/dist/httpd/httpd-2.2.15.tar.gz

# tar xvfz httpd-2.2.15.tar.gz

# cd httpd-2.2.15

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

# make

# make install

# cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd

Now, Just you need to configure the apache modules which you want to install on the server.

# ./configure –with-layout=Apache –add-module=../mod_frontpage.c –enable-module=so –enable-module=ssl –enable-module=rewrite –enable-module=info –enable-module=expires –enable-module=headers –enable-module=proxy –enable-module=unique_id –enable-suexec –logfiledir=/usr/local/apache/logs –prefix=/usr/local/apache –suexec-caller=nobody –suexec-docroot=/ –suexec-gidmin=100 –suexec-logfile=/usr/local/apache/logs/suexec_log –suexec-uidmin=100 –suexec-userdir=public_html –sysconfdir=/usr/local/apache/conf

Advertisements

June 16, 2011 - Posted by | Apache | ,

1 Comment »

  1. Your insight truly fills a necessity. I have been hoping to come across this type of article and you seriously came through. Can you believe that what you have written pretty much precisely duplicates my very own experience.

    Comment by filtered water | June 16, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: