LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2013, 04:11 PM   #1
macpegg
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Rep: Reputation: Disabled
Redhat 5.9 & httpd


Hi All,

I'm extremely new to Linux.. So apologies in advance.

I have installed Oracle Virtual Box and installed the DVD .iso for Rehadt 5.9. I have configured it for internet access and I can access this via Putty and WinSCP.

But now I have hit a brick wall, I have downloaded httpd-2.2.24.tar.gz and uncompressed. Now I'm not sure where to go from here... I have tried to follow the Apache website and the sites instructions to me may as well be Japanese equally everything looks a mess. No disrespect to them, obviously pleased its all open source. I just can't cypher what I need. When I try to configure I struggle to move forward.

I don't think I have the compiler installed or other pr-requisites. I tried the yum install, and also failed here.

Does anyone know have a install guide or notes on how or what is required to install httpd? From there I will be fine to configure as I was able to in a windows environment.

Many thanks in Advance.
 
Old 04-17-2013, 04:52 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
1) The package httpd ( -2.2.3 ) is on the install disk.

2) Or get it with : # yum install httpd


3) If you want to compile applications : yum grouplist
# yum install "Development Tools"

-
 
Old 04-18-2013, 04:06 AM   #3
macpegg
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi,

thanks for the prompt reply.

I tried the yum install, and advices there is no package available?

Is there some where were i can manually download this? And instructions on where to place the files?

many thanks
 
Old 04-18-2013, 04:38 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Please use packages from the install disk.

Other packages are available with yum, when you have a subscription / license.
Redhat EL 5.9 is a commercial OS : No free packages.


The free versions of RHEL 5.9 are CentOS 5.9 and Scientific SL5.9 .

-
 
Old 04-18-2013, 04:43 AM   #5
macpegg
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Many thanks, I'll give that a go
 
Old 04-18-2013, 09:11 AM   #6
jeffmonte
LQ Newbie
 
Registered: Jul 2010
Posts: 29

Rep: Reputation: 1
./configure --help : will give you information on what modules/support you wish to add along with the apache setup.

You can choose them with ./configure option and try to eliminate errors one by one. For the newer versions, there is a default option which lets you select all the option by default (--enable-all-module?). You can then manually test, review threads and eliminate one by one which you dont need.
 
Old 04-18-2013, 10:23 AM   #7
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
Build apache from source can be simple yet complex. A very basic build would be something like this

Code:
./configure \
--prefix=/usr/local/apache \
--enable-so \
--with-included-apr
Please note the \ just allows me to put the options on the next line for readability.
--prefix option defines where to put the install. Most things you compile will and should go to /usr/local/ or /opt/

--enable-so allows you to compile and run things like php
--with-included-apr this is a apache runtime library. with 2.2x it comes with the source and if you try to install apache 2.4 then you'll need to download apr apr-util apr.apache.org. You will have to move them into apache source direct into srclib. Read documentation full for details on included apr


You may want to enable unique ID, suexec ssl and userdir options as well.

Please see
./configure -h

also read the docs @ http://httpd.apache.org.

You need to try and understanding the configuration.


Hope this gives you an idea. But if you just want stable and not bleeding edge then download centos and you can install this via commmand.

# yum install httpd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat-config-httpd vineyard Linux - Newbie 3 06-16-2009 06:07 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 12:26 PM
Redhat 9, Httpd Problems Help Help Help metal_monster Linux - Networking 14 09-28-2003 08:35 PM
RedHat 9.0 httpd can't start tuteke Linux - Software 2 05-22-2003 12:42 PM
iptables & httpd LAR12345 Programming 6 03-03-2003 05:59 PM


All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration