LinuxQuestions.org
Visit Jeremy's Blog.
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 06-21-2007, 10:12 PM   #16
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15

so instead of using rpm -ivh ... i use yum and it installs the dependencies as well?

This sounds a little dicey?

downloaded apache from http://httpd.apache.org/download.cgi. Version 2.2

Now I have linux and all i see is unix source code 'no binaries?'.

I download this and extract it using
tar -xvzf httpXXX.tar.gz

I get an unexpected EOF error with extracted source code (many get extracted then it quits)and also get very very VERY annoyed at all this messing around for such a common task.

I have NO idea what to do next as I couldnt find the docs. I just want to download from the apache site and install apapche with php5 and mysql.

I need help with apache first and what do i do?

I found the binaries and it still doesnt work

root@localhost install]# rpm -i httpd-2.059-1.i386.rpm
error: open of httpd-2.059-1.i386.rpm failed: No such file or directory
[root@localhost install]# rpm -i httpd-2.0.59-1.i386.rpm
warning: httpd-2.0.59-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 751d7f27
error: Failed dependencies:
libapr-0.so.0 is needed by httpd-2.0.59-1.i386
libaprutil-0.so.0 is needed by httpd-2.0.59-1.i386
libcrypto.so.4 is needed by httpd-2.0.59-1.i386
liblber-2.2.so.7 is needed by httpd-2.0.59-1.i386
libldap-2.2.so.7 is needed by httpd-2.0.59-1.i386
libssl.so.4 is needed by httpd-2.0.59-1.i386

Last edited by jagguy; 06-21-2007 at 10:13 PM.
 
Old 06-21-2007, 10:21 PM   #17
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
type ./configure, then make then make install, in the directory the source code is
 
Old 06-21-2007, 10:28 PM   #18
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by jagguy
so instead of using rpm -ivh ... i use yum and it installs the dependencies as well?

This sounds a little dicey?
Correct!
Yum is an extension to rpm, rpm will only complain that dependencies haven't been met, as you already witnessed. Yum tells you what all has to be installed/removed/upgraded in order to get what you're after.
If what you want to install is apache, try this command and see what happens:
Code:
yum install apache
It will give you the low-down and wait for your confirmation before going ahead.
 
Old 06-21-2007, 11:53 PM   #19
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
What about installing with mysql and php4?

I have php4 on it but do i need to remove this ?
 
Old 06-22-2007, 06:05 AM   #20
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
I cant install apache with yum either.
Can someone please help because something isnt right here and maybe my install is not working.


root@localhost install]# ls
httpd-2.0.59-1.i386.rpm
[root@localhost install]# yum install apache
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=u pdates-released-f7&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot open/read repomd.xml file for repository: updates
[root@localhost install]# yum install httpd-2.0.59-1.i386.rpm
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Examining httpd-2.0.59-1.i386.rpm: httpd - 2.0.59-1.i386
httpd-2.0.59-1.i386.rpm: does not update installed package.
Nothing to do
[root@localhost install]# ls
httpd-2.0.59-1.i386.rpm
[root@localhost install]#

[root@localhost install]# rpm -qa | grep apache
ant-apache-bcel-1.6.5-4jpp.2.fc7
ant-apache-regexp-1.6.5-4jpp.2.fc7
ant-apache-log4j-1.6.5-4jpp.2.fc7
ant-apache-oro-1.6.5-4jpp.2.fc7
ant-apache-resolver-1.6.5-4jpp.2.fc7
[root@localhost install]#
 
Old 06-22-2007, 07:19 PM   #21
jagguy
Member
 
Registered: Jun 2007
Posts: 46

Original Poster
Rep: Reputation: 15
The apache 2.2 is already there and it looks like it was installed with updates on initial install.
The apache 2.2 is already there and it looks like it was installed with updates on initial install.



well i want to have apache2 and not apache 2.2, and for earlier php reasons.
Also I wouldn't mind knowing how to uninstall and reinstall stuff for my own linux skills.

using rpm to unistall causes problems doesn't it.

Maybe the reason nothing installed before was that apache already exists

Last edited by jagguy; 06-22-2007 at 10:52 PM.
 
  


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
Install all Packages from Basic server install stuartornum Linux - General 2 02-24-2006 07:14 AM
the most basic install.... Danielallan Slackware - Installation 4 11-10-2004 11:43 AM
Basic install questions mission_control Linux - Software 1 09-24-2004 11:24 PM
Debian Basic install and Fluxbox Zaskar Debian 1 02-25-2004 12:50 AM
Basic install question Muscles Linux - Newbie 1 11-13-2003 02:03 AM

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

All times are GMT -5. The time now is 10:09 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