Updates:

Similar topics mod installed, currently shown at the end of a topic

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mohith pm

#1


i use this to install apache but i cant start the service please help me its urgent to get a job for me


cd /usr/src

rpm -qa | grep httpd

ls

rpm -e httpd

groupadd -g 48 apache


useradd -u 48 -g 48 -G users -s /bin/nologin -d /dev/null -m apache



tar xvfz apr-1.4.6.tar.gz.1
tar xvfz apr-util-1.4.1.tar.gz.1
tar xvfz httpd-2.2.24.tar.gz

ls

mv apr-1.4.6 /usr/src/httpd-2.2.24/srclib/apr
mv apr-util-1.4.1 /usr/src/httpd-2.2.24/srclib/apr-util

ls

cd httpd-2.2.24/srclib/apr

./configure --prefix=/usr/local/apr-httpd/

make

make install

cd /usr/src/httpd-2.2.24/srclib/apr-util

./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/

make

make install

cd /usr/src/httpd-2.2.24

./configure --prefix=/usr/local  --sysconfdir=/usr/local  --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/ --enable-http --enable-cgi
   
make

make install