LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-08-2003, 12:14 AM   #1
lvran
LQ Newbie
 
Registered: Oct 2003
Location: jakarta
Distribution: red hat 9, solaris 8 sparc, mandrake 9
Posts: 4

Rep: Reputation: 0
Unhappy installing apache from rpm source


i'm newbie in linux, and this is my first time installing an application on red hat 9.

now i've just downloading this file :

httpd-2.0.40-21.src.rpm

from

ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/httpd-2.0.40-21.src.rpm

and i don't know what should i do next?

please help me...!
 
Old 10-08-2003, 05:07 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Well, what are your plans?

With the possible answers (on rpmbuild, src.rpms, non-root build environments, spec files,...) one can fill several chapters of a book.

A "newbie" should not need to play with src.rpm packages. If you want to install Apache, get the binary rpm (.i386.rpm) and install that one. Or install new software with the redhat-config-packages utility or with: up2date httpd

Back to the src.rpm you've got, not that I would recommend it, but you can extract the contents of a src.rpm:

rpm -ivvh httpd-2.0.40-21.src.rpm

You can rebuild the binary rpm (you should not rebuild src.rpms as "root", though):

rpmbuild --rebuild httpd-2.0.40-21.src.rpm

Tell more about your plans, and one can assist you.
 
Old 10-08-2003, 11:12 PM   #3
lvran
LQ Newbie
 
Registered: Oct 2003
Location: jakarta
Distribution: red hat 9, solaris 8 sparc, mandrake 9
Posts: 4

Original Poster
Rep: Reputation: 0
thanks master misc

here is my plan :

- i just only want to install the apache web server without rebuild or make any modification with rpm files (because i am not an expert .

- after that maybe i would like to put some application server, such as a php or coldfusion server into it. (just an experimental project before migrating from windows 2000 to red hat linux).

that's all...

well thanks again to master misc.
 
Old 10-08-2003, 11:44 PM   #4
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Well, then install a prebuilt Apache package from your installation CDs or with the help of Red Hat Network.

Option 1: Use Red Hat's package utility redhat-config-packages -- it's also in the menus as "Add/Remove applications"

Option 2: With Red Hat Network, open a terminal/console, switch to superuser "root" and run up2date httpd

Option 3: Locate the httpd-2.0.40-21.i386.rpm on your first CD and install it manually as "root" user, e.g. with rpm -ivh httpd-2.0.40-21.i386.rpm There's a drawback, because you would need to deal with any package dependencies yourself. Also note that there has been a security update to Apache. http://www.redhat.com/errata

There are more options. But all would require you to get additional software first.
 
  


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
compile apache source rpm with mod rewrite robertngo Linux - Software 3 07-21-2005 03:44 AM
rpm removal after installing from source. plisken Linux - General 4 10-15-2003 03:54 AM
installing source rpm Deer Linux - Newbie 1 09-25-2003 12:30 PM
installing a source rpm Daem0hn Linux - General 2 07-18-2003 05:00 AM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration