LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-03-2012, 05:19 PM   #1
moustafa_19872
LQ Newbie
 
Registered: Sep 2012
Location: Riyadh
Posts: 7

Rep: Reputation: Disabled
Installing apache on redhat 5


Hello !
I am watching this interesting tutorial online and I reached to the lesson of downloading the apache from rhn.redhat and the problem I am facing is that the tutorial is somehow old so the website has changed a lot !
first of all my architecture listed in the options and it's i686
cause in the tutorial he downloaded a package which was a .tar and then he did the tar xvf command on it then apache was inside of it then he did the rpm command on the apache file then ofcourse he faced the problem of the missing the library then he went to rpmfinder website then he looked it up which is understood !
but I can't find any of this on the current website !

Thanks a lot

Last edited by moustafa_19872; 09-03-2012 at 05:20 PM.
 
Old 09-03-2012, 05:58 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
What exactly are you trying to achieve? .. do you want to install a version of Apache httpd that is newer than that provided by the vendor?
 
Old 09-03-2012, 06:01 PM   #3
moustafa_19872
LQ Newbie
 
Registered: Sep 2012
Location: Riyadh
Posts: 7

Original Poster
Rep: Reputation: Disabled
I am trying to find the appropriate package of apache to install on my redhat 5 and I don't know how to figure that out !
 
Old 09-03-2012, 07:43 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,286

Rep: Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384
I've never used Red Hat but I would expect that Apache is installed by default. Have you tried accessing Apache in your web browser:

Doing that will usually show you an IT WORKS message. Have you just installed Red Hat 5? or have you been using it for some time? Red Hat 5 was released in March 2007 so it is far from current. If you are not paying for Red Hat support, you will have no access to updates/upgrades. If you don't wish to pay, you should install CentOS. Clarification of what exactly your intentions are will help someone familiar with Red Hat to help you.
 
Old 09-03-2012, 07:49 PM   #5
moustafa_19872
LQ Newbie
 
Registered: Sep 2012
Location: Riyadh
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok regarding your first part Apache doesn't work it even says FAILED when it boots up ! and yes I tried typing http://localhost/ and it didn't work.

Regarding the second part ! I am trying to learn the Redhat administration by myself so I took the .iso from a friend and created a VM so I have it for learning purposes !
 
Old 09-03-2012, 08:43 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,168

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
unless you EXPLICITLY did not install the OLDER Arache 2.2 on your rhel5 ( 5 point WHAT????? 5.0,5.1,5.2,5.3,5.4,5.5,5.6,5.7,5.8 ??? what one )

then the server IS installed
Apache IS part of the DEFAULT install
so is MySQL and php

YOU need to turn it on

is this a HEADLESS install ?
or
a Desktop install with Gnome 2 Desktop

if a Desktop install
use the gui to launch the services and turn on httpd
then YOU will need to configure it
read the apache docs for that
for the older version that is on the older RHEL5
http://httpd.apache.org/docs/2.2/


----- Big problem ----
Quote:
Regarding the second part ! I am trying to learn the Redhat administration by myself so I took the .iso from a friend and created a VM so I have it for learning purposes !
RHEL is NOT free !!!
you MUST 100% MUST buy a license for it !!!
or
install one OF THE FREE rebuilds
CentOS 6.3
or
scientificLinux 6.3
both ARE free rebuilds OF THE NOT free RHEL6.3

Last edited by John VV; 09-03-2012 at 08:47 PM.
 
Old 09-03-2012, 08:56 PM   #7
moustafa_19872
LQ Newbie
 
Registered: Sep 2012
Location: Riyadh
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok sorry for the lame question but how can I know which version is it ?

==================================================================================================== =======================

is this a HEADLESS install ?
or
a Desktop install with Gnome 2 Desktop


I didn't get this part
==================================================================================================== ========================
but then how did the instructor install the apache from rhn.redhat !
so I can't go to rhn.redhat and specify my architecture and download the appropriate version ?
if not can where can I find the version ?
and regarding learning ! if I don't do this then how could learn ? I mean I used to do this all the time cause I am originally an Oracle developer I used to take the database and the forms and reports tools and just make dummy ones and try on it !

Thanks a lot and I'm sorry for all these questions
 
Old 09-03-2012, 09:12 PM   #8
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
@JohnVV: just to clarify on your definition of free - RHEL is open source so you're only buying a support subscription not a software license. However, being open source doesn't mean that Red Hat have to provide it to anyone and everyone, it just means that whoever they do provide it to must be provided with access to the source code.

The fine line is that Red Hat won't provide RHEL to you unless you're a customer and therefore you'll have already purchased a subscription.

Without a support subscription you won't receive software updates and so on which is a major problem for a production server but for someone to stuff about learning I don't see any issue.

@OP: apologies for hijacking your thread!
 
Old 09-03-2012, 09:16 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,168

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
the Apache server IS ON the install dvd
it IS part of the normal everyday RHEL server install

normally RHEL is used for a server
NO GUI - no monitor, no lcd screen - hence headless

you remote TEXT ONLY login to it to administrate it
there is NO " graphical user interface "

now on a Desktop install ( say in the Lab or in the Office) Gnome2 is the default
but rhel5 is a bit old ( i think that RHEL5.0 shipped with firefox #1 or 2 - ff 15 is current )

Quote:
so I can't go to rhn.redhat and specify my architecture and download the appropriate version ?
NO you DO NOT install any software on a unregistered install of RHEL
for the desktop install
https://www.redhat.com/apps/store/desktop/
but if you have to ask then YOU WILL NEED the $299/year USD license

or

Install one of the FREE rebuilds
CentOS6.3
ScientificLinux 6.3

but they are not good for home use
with the 7 to 10 year lifespan the software DOSE get a bit OLD


Quote:
but for someone to stuff about learning I don't see any issue.
with out the license you do not install software
yum will not work
there are NO source/header files ( except for what is on the dvd) to even build software

it becomes a ROYAL pain to even TRY with out a paid for subscription
so much of a pain that installing CentOS is a WAY BETTER CHOICE

Last edited by John VV; 09-03-2012 at 09:23 PM.
 
Old 09-03-2012, 09:57 PM   #10
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
You can add the dvd as a yum repo like this:

Code:
cat <<'EOF' > /etc/yum.repos.d/dvd.repo
[dvd]
mediaid=<media_id>
name=DVD for RHEL5
baseurl=file:///media/RHEL_5%20i386%20DVD/Server
enabled=1
gpgcheck=0
EOF
Replace <media_id> with the value in the .discinfo file located in the root of the DVD and adjust the baseurl as required.
 
Old 09-04-2012, 05:58 AM   #11
moustafa_19872
LQ Newbie
 
Registered: Sep 2012
Location: Riyadh
Posts: 7

Original Poster
Rep: Reputation: Disabled
so ok the bottom line is I have to install CentOS6.3 or ScientificLinux 6.3 inorder for me to learn redhat !
so are they like identical to redhat I mean can I watch the tutorial and apply on either ?
and why is learning redhat so hard ! if that's the case then what's the best way to learn it ?
 
Old 09-04-2012, 06:58 AM   #12
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
CentOS and Scientific are basically RHEL repackaged
 
Old 09-04-2012, 09:12 AM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,168

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
Quote:
and why is learning redhat so hard ! if that's the case then what's the best way to learn it ?
it is not that hard

you just have to BUY the license
or
use one of the free rebuilds
 
Old 09-04-2012, 07:37 PM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,395

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
1. use Centos6 or SL6 (fresh install) ; latest is v6.3
2. with old tutorials you need to be careful; find the newest one you can and/or use the proper manuals

Some useful links
http://rute.2038bug.com/index.html.gz - old-ish, but still a very good cli tutorial

http://www.linuxtopia.org/online_boo...ion_index.html - manuals for RHEL/Centos v6;
you'll probably want to start with http://www.linuxtopia.org/online_boo..._6_deployment/

https://httpd.apache.org/ - Apache docs etc

cmd line (bash) refs
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/
 
Old 09-04-2012, 07:45 PM   #15
moustafa_19872
LQ Newbie
 
Registered: Sep 2012
Location: Riyadh
Posts: 7

Original Poster
Rep: Reputation: Disabled
Dude you are a legend ! and allow me to also ask you if you know some good videos on youtube cause i'm a big fan of videos !
 
  


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
Installing Apache 2.2.x failing on Informix, RedHat EL 4 ColinAnderson Linux - Server 1 02-08-2007 09:57 AM
Problem installing Apache 2.0.47 RPM on Redhat 9 linub Linux - Software 0 10-20-2003 06:04 PM
Installing PHP with Apache on redhat linux 8 darrrth Linux - Distributions 1 06-13-2003 03:12 AM
Redhat 9.0 Installing Apache 2.0 seanmayhew Linux - General 2 05-17-2003 10:20 PM
Help with installing Apache on redhat 7.1 Jase Linux - General 19 05-17-2001 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 AM.

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