Forum Moderators: phranque

Message Too Old, No Replies

cant install apache

         

jagguy99

11:42 am on Jun 22, 2007 (gmt 0)

10+ Year Member



Hi,

I have fedora 7 and it works fine.
I want to install apache but fail with binaries, rpm,yum and src. I checked to see if apache is already there as well with grep.
I can't understand what i am doing wrong . I downloaded the apache2.0 for fedora rpm's.

I have spent a lot of time trying to just get this to work so please can someone tell me how can i get apache installed?

eg of what i am doing on my linux

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 [mirrors.fedoraproject.org...]

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]#

jagguy99

4:01 am on Jun 23, 2007 (gmt 0)

10+ Year Member



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

phranque

5:50 am on Jun 23, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



hello jagguy99!
i don't have any advice to offer at this time but let me be the first to welcome you to WebmasterWorld.
(a bit slow on friday nights but you should get some expert advice here usually...)

Revelation

9:07 am on Jun 25, 2007 (gmt 0)

10+ Year Member



Seeing Apache already exists you dont have a problem? PHP 4 and 5 work fine with Apache 2.2,And I'm not sure if there is an Apache2(.0) anymore, You could of course try this link:[linux4you.be ]
as I know that these guys used Fedora 7 aswell

hope it helps!