Author Topic: apache installation source in linux  (Read 1393 times)

0 Members and 1 Guest are viewing this topic.

Offline mohith pm

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
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



Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: apache installation source in linux
« Reply #1 on: May 25, 2013, 03:43:56 pm »
How are you trying to start apache ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

The Linux Community Forum

Re: apache installation source in linux
« Reply #1 on: May 25, 2013, 03:43:56 pm »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal