Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - mohith pm

Pages: [1]
1
Linux Support / apache installation source in linux
« on: May 25, 2013, 01:52:55 pm »


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



Pages: [1]

SimplePortal 2.3.3 © 2008-2010, SimplePortal