Fresh Red Hat Enterprise Linux fails to install httpd using yum
Posted
by
Julian
on Server Fault
See other posts from Server Fault
or by Julian
Published on 2011-02-04T02:12:18Z
Indexed on
2011/02/04
7:27 UTC
Read the original article
Hit count: 571
I'm trying to install a LAMP stack in a fresh red hat server but yum is misbehaving. Being linux illiterate I'm at a loss.
$yum install httpd
Loaded plugins: security
Setting up Install Process
No package httpd available.
Nothing to do
My yum config
$ cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
# Default.
# installonly_limit = 3
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Other stuff in the yum.repos.d dir
$ ls -lah /etc/yum.repos.d/
total 12K
drwxr-xr-x 2 root root 4.0K Feb 4 01:15 .
drwxr-xr-x 59 root root 4.0K Feb 4 01:28 ..
-rw-r--r-- 1 root root 561 Mar 10 2010 rhel-debuginfo.repo
What could be going on? I thought "out of the box" RHEL5.5 would be friendlier :)
© Server Fault or respective owner