[CentOS] can't do a yum install of apache C7

Tue Mar 24 22:08:29 UTC 2015
John R Pierce <pierce at hogranch.com>

On 3/24/2015 2:59 PM, Tim Dunphy wrote:
> [root at hadoop1:/etc/yum.repos.d] #yum install httpd
> Loaded plugins: amazon-id, rhui-lb
> No package httpd available.
> Error: Nothing to do

its in the EL7 Base (and Updates) repositories, which seem to be 
disabled on your system.

btw, I would NOT enable REMI, RPMFORGE *and* EPEL at the same time 
unless you want to get into some gnarly package conflicts.   I don't 
even know what webtatic is...





[root at c7test1 ~]# yum install httpd
Loaded plugins: fastestmirror
base | 3.6 kB  00:00:00
epel/x86_64/metalink |  14 kB  00:00:00
epel | 4.4 kB  00:00:00
extras | 3.4 kB  00:00:00
updates | 3.4 kB  00:00:00
(1/2): epel/x86_64/primary_db | 4.0 MB  00:00:01
(2/2): updates/7/x86_64/primary_db | 6.6 MB  00:00:01
(1/2): epel/x86_64/updateinfo | 317 kB  00:00:00
(2/2): epel/x86_64/pkgtags | 1.4 MB  00:00:00
Loading mirror speeds from cached hostfile
  * base: mirror.lax.hugeserver.com
  * epel: linux.mirrors.es.net
  * extras: mirrors.usc.edu
  * updates: mirrors.usc.edu
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-19.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-19.el7.centos for 
package: httpd-2.4.6-19.el7.centos.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.4.6-19.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
  Package Arch Version Repository                             Size
===============================================================================================================================================================================
Installing:
  httpd x86_64 2.4.6-19.el7.centos updates                               
2.7 M
Installing for dependencies:
  httpd-tools x86_64 2.4.6-19.el7.centos 
updates                                78 k

Transaction Summary
===============================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 2.8 M
Installed size: 9.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): httpd-tools-2.4.6-19.el7.centos.x86_64.rpm |  78 kB  00:00:00
(2/2): httpd-2.4.6-19.el7.centos.x86_64.rpm | 2.7 MB  00:00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.8 MB/s | 2.8 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
   Installing : httpd-tools-2.4.6-19.el7.centos.x86_64 1/2
   Installing : httpd-2.4.6-19.el7.centos.x86_64 2/2
   Verifying  : httpd-2.4.6-19.el7.centos.x86_64 1/2
   Verifying  : httpd-tools-2.4.6-19.el7.centos.x86_64 2/2

Installed:
   httpd.x86_64 0:2.4.6-19.el7.centos

Dependency Installed:
   httpd-tools.x86_64 0:2.4.6-19.el7.centos

Complete!

-- 
john, recycling bits in santa cruz