Está en la página 1de 47

INSTALACION CENTOS 7

Se instalara la versión mínima de CentOS 7 se utilizara la imagen: CentOS-7-x86_64-Minimal-


1511.iso Esta versión corre un instalador automático al arrancar que solo nos pedirá el dato de la
clave para el root, luego de la instalación ingresar con el usuario root.

Esta instalación inicial no contiene una serie de comandos, por lo tanto es necesario actualizar la
instalación y agregar algunos utilitarios, pero primero procedemos a configurar la interface de red,
para habilitar correctamente el acceso a la red de datos.

https://www.tecmint.com/install-drupal-in-centos-rhel-fedora/

1. Configurar interface de red con IP estático


Primero identificamos las interfaces de red con el comando ip add

[root@localhost ~]# ip add


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:41:1a:85 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.212/24 brd 192.168.1.255 scope global dynamic eno16777736
valid_lft 86008sec preferred_lft 86008sec
inet6 fe80::20c:29ff:fe41:1a85/64 scope link
valid_lft forever preferred_lft forever
En la salida de este comando se muestra los identificadores de las interfaces de red en este caso
eno16777736, esta nueva nomenclatura reemplaza los conocidos eth0 o eth1.

Estos nuevos identificadores se crean en base a ciertas reglas y patrones que ahora se toman en
cuenta para nombrar los dispositivos de red como se indica en en la documentación de Red Hat 7:
Networking_Guide -Consistent_Network_Device_Naming

Localizamos el archivo de configuración de la interfaz de red:

[root@localhost network-scripts]# cd /etc/sysconfig/network-scripts/


[root@localhost network-scripts]# ls
ifcfg-eno16777736 ifdown-post ifup-eth ifup-routes
ifcfg-lo ifdown-ppp ifup-ippp ifup-sit
ifdown ifdown-routes ifup-ipv6 ifup-tunnel
ifdown-bnep ifdown-sit ifup-isdn ifup-wireless
ifdown-eth ifdown-tunnel ifup-plip init.ipv6-global
ifdown-ippp ifup ifup-plusb network-functions
ifdown-ipv6 ifup-aliases ifup-post network-functions-ipv6
ifdown-isdn ifup-bnep ifup-ppp
El archivo ifcfg-eno16777736, contiene la configuracion de la interface eno16777736 identificada
con el comando ip add, y lo editamos con el comando vi que viene por defecto.

[root@localhost network-scripts]# vi ifcfg-eno16777736


TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=a395ba26-9ee9-4085-9382-aa6a599b1613
DEVICE=eno16777736
ONBOOT=yes
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
Cambiamos los siguientes valores:

TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=d8f1315c-e24d-47c3-956f-0788258eefc0
DEVICE=eno16777736
ONBOOT=yes
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPADDR0=192.168.1.200
PREFIX=24
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
DNS1=200.105.128.40
Para calcular los valores de red podemos utilizar el comando ipcalc:
[root@spp ~]# ipcalc -nbp4 192.168.1.200 255.255.255.0
PREFIX=24
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
[root@spp ~]# ipcalc -nbp4 192.168.118.160 255.255.248.0
PREFIX=21
BROADCAST=192.168.119.255
NETWORK=192.168.112.0
Desactivamos el Network Manager utilizando el commando systemctl

[root@localhost network-scripts]# systemctl stop NetworkManager


[root@localhost network-scripts]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-
user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

Configuramos el archivo /etc/sysconfig/network y agregamos los siguientes datos

[root@localhost sysconfig]# cd /etc/sysconfig/


[root@localhost sysconfig]# vi network
# Created by anaconda
NETWORKING=yes
HOSTNAME=appserver
GATEWAY=192.168.1.1
Reiniciamos el servicio de red:
[root@localhost network-scripts]# systemctl restart network.service
Verificamos la configuración realizada

[root@localhost ~]# ip add show


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:41:1a:85 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.200/24 brd 192.168.1.255 scope global eno16777736
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fe41:1a85/64 scope link
valid_lft forever preferred_lft forever
Verificamos el acceso al internet con el comando ping

[root@localhost sysconfig]# ping -c3 8.8.8.8


PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=51 time=234 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=51 time=207 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=51 time=241 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 207.021/232.076/244.934/14.974 ms

Para configurar el nombre del equipo(hostname)


[root@localhost initscripts-9.49.30]# hostnamectl set-hostname spp.minculturas.gob.bo
[root@localhost initscripts-9.49.30]# more /etc/hostname
spp.minculturas.gob.bo
[root@spp ~]# hostnamectl status
[root@spp ~]# hostnamectl status
Static hostname: spp.minculturas.gob.bo
Icon name: computer-vm
Chassis: vm
Machine ID: 810f60eda5a243cc8f066f2e26d03750
Boot ID: 21c8af07b6f047efb8f7207b7a027b93
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-327.36.2.el7.x86_64
Architecture: x86-64

NOTA: Para ver todas las opciones disponibles en la configuración de red podemos consultar el
archivo
[root@localhost initscripts-9.49.30]# more /usr/share/doc/initscripts-9.49.30/sysconfig.txt
Direccion para consultas:
https://wiki.archlinux.org/index.php/Network_configuration_(Espa%C3%B1ol)

2. Actualizamos el sistema
Realizamos el update de Centos:

[root@localhost sysconfig]# yum –y update

Luego instalaremos algunas herramientas básicas que utilizaremos:

[root@localhost sysconfig]# yum install nano

[root@localhost sysconfig]# yum install ftp

[root@localhost sysconfig]# yum install wget

3. Instalación Repositorios Externos


Es importante tener repositorios externos en CentOS 7. Esto con la finalidad de instalar programas
que no están disponibles en los repositorios originales.

[root@drupal ~]# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

[root@drupal ~]# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Para instalar repositorio REMI correr los siguientes comandos:

[root@localhost ~]# yum –y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm


O tambien puede hacerse manualmente:

[root@localhost ~]# wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

[root@localhost ~]# sudo rpm -Uvh remi-release-7*.rpm

4. Instalación Apache y PHP 5.6


Instalamos el servidor apache (httpd) del repositorio oficial

# yum install httpd

Luego de que la instalación se complete, el servicio se halla deshabilitado, se necesita iniciarlo


manualmente y habilitarlo para que inicie automáticamente.

# systemctl start httpd

# systemctl enable httpd

Lo siguiente es habilitar el acceso a los servicios HTTP y HTTPS, para lo cual tienen que estar
abiertos los puertos 80 y 443 en el firewall de centos:

# firewall-cmd --permanent --zone=public --add-service=http

# firewall-cmd --permanent --zone=public --add-service=https

# firewall-cmd --reload

Instalar php

Instalaremos la versión de php 5.6.26 desde el repositorio remi:

[root@localhost ~]# yum install --enablerepo=remi-php56 php php-common

Instalamos modulos adicionales del PHP:

[root@localhost ~]# yum install --enablerepo=remi-php56 php-mysqlnd php-pgsql php-pecl-mongo php-pdo


php-pecl-memcache php-pecl-memcached php-gd php-xml php-mbstring php-mcrypt php-pecl-apcu php-cli
php-pear php-gd php-json
Reiniciamos el servicio de httpd.

# systemctl restart httpd

Para verificar la versión y los paquetes instalados:

[root@localhost ~]# php - v


[root@localhost ~]# php --modules
Probamos el Servicio con un navegador:

Y ahora creamos una pequeña página web en php y la probamos

[root@localhost ~]# vi /var/www/html/prueba.php


<?php
phpinfo();
?>
Probamos con un navegador

5. INSTALACION POSTGRESQL

Cuando se instala PosgreSQL en un ambiente de producción, no debemos permitir que


cuando se ejecute sudo yum update, se actualize PostgreSQL. Para evitar esto se debe
modificar el archivo repo localizado en CentOS/etc/yum.repos.d/

En el archivo CentOS-Base.repo en las secciones secciones [base] y [updates] se debe


añadir la siguiente línea:
exclude=postgresql*

Hay que descargar e instalar el archivo RPM con los repositorios de PostgreSQL. Al momento de
escribir este artículo, el archivo RPM con los repositorios de PostgreSQL 9.6 para instalaciones
YUM se encuentra en la siguiente página:

https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-
3.noarch.rpm

Puede descargar este archivo con este código:

# curl -O https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-
redhat96-9.6-3.noarch.rpm

Luego puede instalar el repositorio con el siguiente comando:

# sudo rpm -ihv pgdg-redhat96-9.6-3.noarch.rpm

Para verificar si se instaló ejecute el siguiente comando:

# sudo yum list postgresql*

Para instalar PostgreSQL debe ejecutar el siguiente comando:

# sudo yum install postgresql96-server -y

Para configuración inicial de PostgreSQL debe ejecutar el siguiente código:

# sudo /usr/pgsql-9.6/bin/postgresql96-setup initdb

Si no se especifica directorio para data, PostgreSQL guarda los archivos de datos en


/var/lib/pgsql/9.6/data. La carpeta que guarda los datos debe pertenecer al usuario postgres.

Para poder acceder PostgreSQL desde otros servidores y clientes debe establecer la siguiente
configuración en /var/lib/pgsql/9.6/data/postgresql.conf:

listen_addresses = '*'
port = 5432
Para subir el servicio y habilitarlo:

# systemctl start postgresql-9.6.service


# systemctl enable postgresql-9.6.service

Configurar pg_hba.conf para habilitar los IPs con acceso al PostgreSQL, habilitamos al propio
servidor
[root@localhost data]# vi pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 192.168.1.200/32 md5
host all all 192.168.1.209/32 md5
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres md5

Restauramos el servicio

[root@server data]# systemctl restart postgresql-9.6.service

Habilitamos el puerto de la Base de datos en el Firewall del Centos para su acceso externo:

[root@server data]# systemctl restart postgresql-9.6.service


[root@server data]# firewall-cmd --zone=public --permanent --add-port=5432/tcp
[root@server data]# firewall-cmd -–reload
Para verificar las reglas del firewall:

[root@server data]# firewall-cmd --list-all


public (active)
target: default
icmp-block-inversion: no
interfaces: ens33
sources:
services: ssh dhcpv6-client http https
ports: 5432/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:

Creamos el usuario para acceder a las bases de datos.

[root@localhost www]# su - postgres


Last login: Wed Oct 12 23:58:55 PDT 2016 on pts/0
localhost.localdomain[postgres]/opt/PostgreSQL/9.6>psql -p 5432
postgres=# postgres=# create user root password 'db4dm1n';
postgres=# alter role root with superuser createdb;
Cambiar contraseña postgres

postgres=# alter user postgres with password 'p0stgr3sdb4dm1n';

6. ACTIVAR SELinux
SELinux (del inglés Security-Enhanced Linux, que se traduce como Seguridad Mejorada de Linux)
es una implementación de seguridad para GNU/Linux que provee una variedad de políticas de
seguridad, incluyendo el estilo de acceso a los controles del Departamento de Defensa de EE.UU.,
a través del uso de módulos de Seguridad en el núcleo de Linux.

Para listar las políticas aplicadas en general:

[root@localhost html]# getsebool –a

Para listar las políticas aplicadas al servicio httpd:

[root@localhost html]# getsebool -a|grep httpd


httpd_anon_write --> off
httpd_builtin_scripting --> on
httpd_can_check_spam --> off
httpd_can_connect_ftp --> off
httpd_can_connect_ldap --> off
httpd_can_connect_mythtv --> off
httpd_can_connect_zabbix --> off
httpd_can_network_connect --> off
httpd_can_network_connect_cobbler --> off
httpd_can_network_connect_db --> off
httpd_can_network_memcache --> off
En caso de existir errores en la conexión, aplicamos las siguientes reglas:

Paramos los servicios del Apache y el PostgreSQL

[root@localhost ~]# systemctl stop httpd


[root@localhost ~]# systemctl stop postgresql-9.6
Habilitamos la conexion por la red:

[root@localhost ~]# sudo setsebool -P httpd_can_network_connect on


[root@localhost ~]# sudo setsebool -P httpd_can_network_connect_db on
[root@localhost ~]# getsebool -a|grep httpd
httpd_anon_write --> off
httpd_builtin_scripting --> on
httpd_can_check_spam --> off
httpd_can_connect_ftp --> off
httpd_can_connect_ldap --> off
httpd_can_connect_mythtv --> off
httpd_can_connect_zabbix --> off
httpd_can_network_connect --> on
httpd_can_network_connect_cobbler --> off
httpd_can_network_connect_db --> on
httpd_can_network_memcache --> off
Iniciamos los servicios del Apache y el PostgreSQL

[root@localhost ~]# systemctl start httpd


[root@localhost ~]# systemctl start postgresql-9.6
Consultas: http://www.alcancelibre.org/staticpages/index.php/introduccion-selinux-centos-fedora

7. Instalar MariaDB
Es necesario adicionar el repositorio oficial de Maria DB al archivo:
/etc/yum.repos.d/MariaDB.repo agregando las siguientes líneas:

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Una vez habilitado este archivo, proceder a la instalación con:

# yum install mariadb-server mariadb

Cuando la instalación de MariaDB se complete, iniciar el servicio y habilitarlo mediante:

# systemctl start mariadb


# systemctl enable mariadb
Luego correr el script mysql_secure_installation (establecer la clave del root, deshabilitar remote
root login, remover test database and remove anonymous users).

# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE!
PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed
MariaDB, and you haven't set the root password yet, the password will be blank, so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation.

Set root password? [Y/n] Y


New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a
user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You
should remove them before moving into a production environment.

Remove anonymous users? [Y/n] y


... Success!
Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root
password from the network.
Disallow root login remotely? [Y/n] n
... skipping.
By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing,
and should be removed before moving into a production environment.

Remove test database and access to it? [Y/n] y


- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far will take effect immediately.

Reload privilege tables now? [Y/n] Y


... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB installation should now be secure.
Thanks for using MariaDB!
Habilitamos el puerto de la Base de datos en el Firewall del Centos para su acceso externo:

[root@server data]# firewall-cmd --add-port=3306/tcp


[root@server data]# firewall-cmd --zone=public --permanent --add-port=3306/tcp
[root@server data]# firewall-cmd –-reload

Habilitamos acceso remoto al usuario root desde la red a través de línea de comandos de mariadb:

root@server my.cnf.d]# mysql --user=root --password=m4r14db


Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.29-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'root'@'172.16.2.%' IDENTIFIED BY
'm4r14db' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> SELECT User, Host FROM mysql.user WHERE Host <> 'localhost';
+------+-------------+
| User | Host |
+------+-------------+
| root | 127.0.0.1 |
| root | 172.16.2.% |
| root | ::1 |
| root | server.app |
+------+-------------+
4 rows in set (0.00 sec)

Reiniciamos el servicio
# systemctl restart mariadb
8. Instalando Drupal 8
Antes de iniciar verificar que estén instalados los utilitarios wget y gzip en Linux, sino instalarlos:

# yum install wget gzip

Instalaremos la ultima versión estable de drupal, en este caso la 8.4.2 en el directorio


/var/www/html utilizando el comando wget.

# cd /var/www/html
# wget -c https://ftp.drupal.org/files/projects/drupal-8.4.2.tar.gz

Descomprimimos el archivo obtenido.

11. Afterwards, let’s extract the tar file and move the Drupal folder into the Apache Document
Root (/var/www/html).

# tar -zxvf drupal-8.4.2.tar.gz


# ls -l
total 13088
drwxr-xr-x. 8 root root 4096 nov 3 10:38 drupal-8.4.2
-rw-r--r--. 1 root root 13393043 nov 3 10:38 drupal-8.4.2.tar.gz
-rw-r--r--. 1 root root 22 nov 29 12:27 prueba.php
[root@server html]# mv drupal-8.4.2 drupal
[root@server html]# ls -l
total 13088
drwxr-xr-x. 8 root root 4096 nov 3 10:38 drupal
-rw-r--r--. 1 root root 13393043 nov 3 10:38 drupal-8.4.2.tar.gz
-rw-r--r--. 1 root root 22 nov 29 12:27 prueba.php

Luego crear el archivo de configuración settings.php, a partir del archivo de ejemplo


default.settings.php, en el directorio /var/www/html/drupal/sites/default y configurar los
permisos apropiados en el directorio del sitio de Drupal:

# cd /var/www/html/drupal/sites/default/
# cp default.settings.php settings.php
# chown -R apache:apache /var/www/html/drupal/

Formatear los permisos en SELinux de grabación, para el directorio /var/www/html/drupal/sites/:

# chcon -R -t httpd_sys_content_rw_t /var/www/html/drupal/sites/

Creamos la base de datos para drupal:

PostgreSQL:
[root@server html]# su - postgres
postgres=# psql -p 5432
postgres=# \l
Listado de base de datos
Nombre | Dueño | Codificación | Collate | Ctype | Privilegios
-----------+----------+--------------+-------------+-------------+-----------------------
postgres | postgres | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 |
template0 | postgres | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(3 filas)
postgres=# create database drupal with owner root;
postgres=# \l
Listado de base de datos
Nombre | Dueño | Codificación | Collate | Ctype | Privilegios
-----------+----------+--------------+-------------+-------------+-----------------------
drupal | root | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 |
postgres | postgres | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 |
template0 | postgres | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | es_BO.UTF-8 | es_BO.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 filas)

MariaDB:

[root@server html]# mysql --user=root --password=m4r14db


MariaDB [(none)]> create database drupal;
MariaDB [(none)]> create user admdrupal@localhost identified by '4dm1ndrup4l';
MariaDB [(none)]> grant all on drupal.* to admdrupal@localhost;
MariaDB [(none)]> flush privileges;
MariaDB [(none)]> exit

Finalmente ingresamos al sitio de Drupal en el servidor, por primera vez correrá el script de
instalación:
Si despliega errores como en la figura anterior, pueden arreglarse los errores o continuar adelante,
en cada error muestra un enlace que muestra como corregir el error dentro de la documentación
de Drupal:

Para arreglar el primer problema de “Enable Clean URLs”, configuramos el archivo httpd.conf
cambiamos el valor AllowOverride None por AllowOverride All en el apartado <Directory
"/var/www/html">

# vi /etc/httpd/conf/httpd.conf
# Further relax access to the default document root:
<Directory "/var/www/html">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted

# systemctl restart httpd

Para arreglar el error: Opcode caching de PHP, No activado, instalamos este paquete en php

# yum install --enablerepo=remi-php56 php-opcache

Luego presionar el enlace “Vuelva a intentarlo”, si todo se arregló pasa a la siguiente pantalla:

Si sale el siguiente error:

Warning: DateTime::createFromFormat(): It is not safe to rely on the system's timezone settings. You are required to use
the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you
are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now,
but please set date.timezone to select your timezone. in Symfony\Component\HttpFoundation\Response-
>sendHeaders() (line 331 of /var/www/drupal/drupal-8.1.1/vendor/symfony/http-foundation/Response.php).

Configurar la zona horaria en el php, a través del php.ini, y reiniciar el servicio httpd:

# vi /etc/php.ini

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = 'America/Caracas'

; http://php.net/date.default-latitude
;date.default_latitude = 31.7667

; http://php.net/date.default-longitude
;date.default_longitude = 35.2333

; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333

; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333

# systemctl restart httpd

9. Configuración Apache-Directorios Virtuales


Crearemos el directorio donde colocaremos todos sitios web a publicar y le damos los permisos en
SELinux

[root@localhost /]# mkdir -p /server/www


[root@localhost /]# chcon -t httpd_sys_content_t /server/www
Utilizamos el comando semanage para hacer el cambio persistente:
[root@localhost /]# semanage fcontext -a -t httpd_sys_content_t /server/www

Para ocultar la version de Apache en el despliegue de los mensajes de error:


[root@localhost conf]# vi /etc/httpd/conf.d/serversignature.conf
ServerSignature off
ServerTokens Prod

Configuramos un directorio virtual ejemplo, creamos el archivo de configuración del sitio:


[root@localhost www]# vi /etc/httpd/conf.d/ejemplo.conf
Alias /ejemplo /server/www/ejemplo
<Directory "/server/www/ejemplo">
Require local
Require all granted
</Directory>
Reiniciamos servicio:
[root@localhost conf]# systemctl reload httpd.service

Nota: En caso de que el comando semanage no esté instalado realizar los siguientes pasos:
[root@localhost /]# yum whatprovides */semanage
Loaded plugins: fastestmirror, priorities
base | 3.6 kB 00
epel/x86_64/metalink | 1.9 kB 00
extras | 3.4 kB 00
ius | 2.3 kB 00
remi-safe | 2.9 kB 00
updates | 3.4 kB 00
(1/2): ius/x86_64/primary_db | 153 kB 00
(2/2): remi-safe/primary_db | 530 kB 00
Loading mirror speeds from cached hostfile
* base: centos.mirror.iweb.ca
* epel: mirror.uta.edu.ec
* extras: centos.mirror.iweb.ca
* ius: mirror.symnds.com
* remi-safe: mirrors.mediatemple.net
* updates: centos.mirror.iweb.ca
ius/x86_64/filelists_db | 433 kB 00
http://mirror.symnds.com/distributions/ius/stable/CentOS/7/x86_64/repodata/filelists.sqlite.bz2: [Errno -1] Metadata file
doeschecksum
Trying other mirror.
ius/x86_64/filelists_db | 434 kB 00
remi-safe/filelists_db | 412 kB 00
updates/7/x86_64/filelists_db | 5.0 MB 00
libsemanage-devel-2.1.10-18.el7.i686 : Header files and libraries used to build policy manipulation tools
Repo : base
Matched from:
Filename : /usr/include/semanage

libsemanage-devel-2.1.10-18.el7.x86_64 : Header files and libraries used to build policy manipulation tools
Repo : base
Matched from:
Filename : /usr/include/semanage

policycoreutils-python-2.2.5-20.el7.x86_64 : SELinux policy core python utilities


Repo : base
Matched from:
Filename : /usr/sbin/semanage
Filename : /usr/share/bash-completion/completions/semanage
[root@localhost /]# yum install policycoreutils-python-2.2.5-20.el7.x86_64

Dirección de Consulta: https://docs.fedoraproject.org/es-ES/Fedora/13/html/Security-


Enhanced_Linux/sect-Security-Enhanced_Linux-SELinux_Contexts_Labeling_Files-
Persistent_Changes_semanage_fcontext.html

10. Instalacion Yii

1. Ir a la página oficial (http://www.yiiframework.com/Abrir en una ventana nueva) y bajar la


última versión(yii-1.1.17.467ff50.tar.gz)
2. Copiamos el archivo a la carpeta /server/www/ y luego descomprimimos

[root@localhost www]# tar -xzvf yii-1.1.17.467ff50.tar.gz


3. Cambiamos el nombre del directorio a yii y configuramos el sitio

[root@localhost www]# cd /server/www


[root@localhost www]# mv yii-1.1.17.467ff50/ yii/
[root@localhost yii]# chown -R root:root yii
[root@localhost www]# chmod -R 755 yii
[root@localhost www]# vi /etc/httpd/conf.d/yii.conf
Alias /yii /server/www/yii
<Directory "/server/www/yii">
Require local
Require all granted
</Directory>
4. En caso de que dé el siguiente mensaje de error al correr una aplicación:

Debemos proporcionar permisos de escritura al directorio del error, en este caso:

[root@localhost www]# chcon -t httpd_sys_script_rw_t /server/www/yii/demos/blog/protected/runtime


[root@localhost www]# chcon -t httpd_sys_script_rw_t /server/www/yii/demos/blog/assets/
[root@localhost www]# systemctl reload httpd.service
O si se desea podemos realizar estos cambios de manera permanente con:

[root@localhost www]# semanage fcontext -a -t httpd_sys_rw_content_t /server/www/yii/demos/blog/protected/runtime


[root@localhost www]# semanage fcontext -a -t httpd_sys_rw_content_t /server/www/yii/demos/blog/assets/
5.

Podemos comprobar si se cumplen los requerimientos de manera bastante sencilla también


porque nos brinda un script para eso.

Abren el navegador y se van a la dirección:

http://localhost/directorio_donde_esta_yii/requirements/index.php

Verán algo así:


Si no ven nada rojo es porque está bien y va a funcionar. Y lo que está en amarillo no es necesario
ni nada grave, pero si su aplicación necesita de algunas de esas extensiones las deberán habilitar
en el archivo php.ini

11. Configurar SPP


Para realizar la instalación del sitio del SPP, procedemos de la siguiente manera

1. Copiar el directorio con los programas fuentes al directorio /server/www/spp/


2. Configuramos el directorio virtual

[root@localhost www]# cd /server/www


[root@localhost www]# chmod -R 755 spp
[root@localhost www]# vi /etc/httpd/conf.d/spp.conf
Alias /spp /server/www/spp
<Directory "/server/www/spp">
Require local
Require all granted
</Directory>
[root@localhost www]# systemctl restart httpd.service

3. Creamos el usuario para acceder a las bases de datos.


[root@localhost www]# su - postgres
Last login: Wed Oct 12 23:58:55 PDT 2016 on pts/0
localhost.localdomain[postgres]/opt/PostgreSQL/9.6>psql -p 5432
Password: db4dm1n
psql.bin (9.6.0)
Type "help" for help.
postgres=# CREATE USER root PASSWORD '4dm1n';
CREATE ROLE
postgres=# ALTER ROLE root WITH SUPERUSER CREATEDB;
ALTER ROLE
4. Creamos las bases de datos:
postgres=# create database poa_pre with owner root;
CREATE DATABASE
postgres=# create database poa_mc with owner root;
CREATE DATABASE
5. Configuramos los formatos de fecha de las bases de datos para que acepte “dd/mm/aa”:
postgres=# ALTER DATABASE poa_mc SET datestyle TO "ISO, DMY";
ALTER DATABASE
postgres=# ALTER DATABASE poa_pre SET datestyle TO "ISO, DMY";
ALTER DATABASE
6. Restauramos los backups de las bases de datos:
[root@localhost www]# su – postgres
localhost.localdomain[postgres]/opt/PostgreSQL/9.6>psql -p 5432 poa_pre root
</tmp/poa_pre20161017_1312.sql
localhost.localdomain[postgres]/opt/PostgreSQL/9.6>psql -p 5432 poa_mc root
</tmp/poa_mc20161017_1312.sql
7. Debemos proporcionar permisos de escritura a los siguientes directorios:
 /server/www/spp/graficos
 /server/www/spp/datos_imp

[root@localhost www]# chcon -t httpd_sys_script_rw_t /server/www/spp/graficos


[root@localhost www]# chcon -t httpd_sys_script_rw_t /server/www/spp/datos_imp
[root@localhost www]# systemctl reload httpd.service

O si se desea podemos realizar estos cambios de manera permanente con:

[root@localhost www]# semanage fcontext -a -t httpd_sys_rw_content_t /server/www/spp/graficos


[root@localhost www]# semanage fcontext -a -t httpd_sys_rw_content_t /server/www/spp/datos_imp

12. Instalar fuentes truetype (para jpgraph)


 Instalamos los prerrequisitos especialmente el cabextract
yum install curl cabextract xorg-x11-font-utils fontconfig
 Instalamos los Fuentes
rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

13. Instalar vsftpd


 Instalamos el servidor ftp
[root@localhost ~]# yum install vsftpd
 Creamos un usuario para acceder vía ftp
[root@localhost ~]# adduser desarrollo -p pr0gr4m4
 Configuramos
[root@localhost ~]# vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
ftpd_banner=Bienvenido Centos ftp server

chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list

listen=YES
listen_ipv6=NO
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES

Cuando el parámetro userlist_enable toma el valor YES los usuarios que se encuentran en el
archivo /etc/vsftpd/user_list tienen denegado el acceso, estos son usuarios administradores y
de sistema.
[root@localhost ~]# vi /etc/vsftpd/user_list
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
 El fichero /etc/vsftpd/chroot_list no viene creado por defecto. Así que procedemos a
crearlo y en él vamos a definir los usuarios que no estarán enjaulados en sus
respectivos directorios, estamos habilitando al usuario desarrollo para que tenga
acceso a cualquier directorio:
[root@localhost ~]# vi /etc/vsftpd/chroot_list
desarrollo
 configuramos que el servicio se inicie cada vez que se encienda la máquina
[root@localhost ~]# systemctl enable vsftpd.service
Created symlink from /etc/systemd/system/multi-user.target.wants/vsftpd.service to
/usr/lib/systemd/system/vsftpd.service.
 Habilitamos los puertos 20 y 21 por TCP en el firewall de CentOS
[root@localhost ~]# firewall-cmd --permanent --add-service=ftp
success
[root@localhost ~]# systemctl restart firewalld.service
[root@localhost ~]# firewall-cmd --list-all
public (default)
interfaces:
sources:
services: dhcpv6-client ftp http https ssh
ports: 5432/tcp
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
 Para habilitar un usuario que este restringido a su directorio seguimos los siguientes pasos:
Creamos un usuario para acceder vía ftp
[root@localhost ~]# useradd -g ftp -d /home/sistemas sistemas
Descomponemos la línea de comando:
• useradd: Indica que queremos añadir un nuevo usuario.
• -g: Indica el grupo al que va a pertenecer el usuario, en este caso ftp.
• -d: Es el directorio del usuario, su home, en este caso /home/usuario.
• usuario: Es el nombre del usuario.
Asignamos una clave:
[root@localhost home]# passwd sistemas
Changing password for user sistemas.
New password:4cc3s0
BAD PASSWORD: The password is shorter than 7 characters
Retype new password: 4cc3s0
passwd: all authentication tokens updated successfully.
Ajustamos el directorio del usuario para que accede via ftp
[root@localhost home]# chmod 755 /home/sistemas/
[root@localhost home]# chown root:root /home/sistemas/
[root@localhost home]# ls -l
total 0
drwx------. 2 admin admin 59 Oct 12 07:23 admin
drwxr-xr-x. 2 desarrollo desarrollo 79 Oct 19 21:28 desarrollo
drwxr-xr-x. 2 root root 59 Oct 19 21:27 sistemas
[root@localhost sistemas]# mkdir /home/sistemas/trabajo/
[root@localhost sistemas]# chown sistemas:sistemas /home/sistemas/trabajo/
[root@localhost home]# usermod -s /sbin/nologin sistemas
Verificamos las políticas habilitadas para el servicio ftp
[root@localhost home]# getsebool -a|grep ftp
ftp_home_dir --> off
ftpd_anon_write --> off
ftpd_connect_all_unreserved --> off
ftpd_connect_db --> off
ftpd_full_access --> off
ftpd_use_cifs --> off
ftpd_use_fusefs --> off
ftpd_use_nfs --> off
ftpd_use_passive_mode --> off
httpd_can_connect_ftp --> off
httpd_enable_ftp_server --> off
sftpd_anon_write --> off
sftpd_enable_homedirs --> off
sftpd_full_access --> off
sftpd_write_ssh_home --> off
tftp_anon_write --> off
tftp_home_dir --> off
Permite a los usuarios locales poder acceder a sus directorios de inicio
[root@localhost home]# setsebool -P ftp_home_dir 1
[root@localhost home]# getsebool -a|grep ftp
ftp_home_dir --> on
ftpd_anon_write --> off
ftpd_connect_all_unreserved --> off
ftpd_connect_db --> off
ftpd_full_access --> off
ftpd_use_cifs --> off
ftpd_use_fusefs --> off
ftpd_use_nfs --> off
ftpd_use_passive_mode --> off
httpd_can_connect_ftp --> off
httpd_enable_ftp_server --> off
sftpd_anon_write --> off
sftpd_enable_homedirs --> off
sftpd_full_access --> off
sftpd_write_ssh_home --> off
tftp_anon_write --> off
tftp_home_dir --> off

14. Comandos auxiliares


Para verificar el estado de un servicio y revisar el log del commando systemctl

[root@localhost ~]# systemctl status vsftpd.service -l

[root@localhost ~]# journalctl -xe


15. Comprimir y descomprimir .gz, .tar.gz, y .zip

 Archivos .tar.gz:
Comprimir: tar -czvf empaquetado.tar.gz /carpeta/a/empaquetar/
Descomprimir: tar -xzvf archivo.tar.gz
 Archivos .tar:
Empaquetar: tar -cvf paquete.tar /dir/a/comprimir/
Desempaquetar: tar -xvf paquete.tar
 Archivos .gz:
Comprimir: gzip -9 index.php
Descomprimir: gzip -d index.php.gz
 Archivos .zip:
Comprimir: zip archivo.zip carpeta
Descomprimir: unzip archivo.zip
[root@localhost ~]# yum update
Loaded plugins: fastestmirror
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/4): base/7/x86_64/group_gz | 155 kB 00:02
(2/4): extras/7/x86_64/primary_db | 166 kB 00:00:04
(3/4): base/7/x86_64/primary_db | 5.3 MB 00:01:10
(4/4): updates/7/x86_64/primary_db | 8.4 MB 00:01:35
Determining fastest mirrors
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager.x86_64 1:1.0.6-27.el7 will be updated
---> Package NetworkManager.x86_64 1:1.0.6-31.el7_2 will be an update
---> Package NetworkManager-libnm.x86_64 1:1.0.6-27.el7 will be updated
---> Package NetworkManager-libnm.x86_64 1:1.0.6-31.el7_2 will be an update
---> Package NetworkManager-tui.x86_64 1:1.0.6-27.el7 will be updated
---> Package NetworkManager-tui.x86_64 1:1.0.6-31.el7_2 will be an update
---> Package NetworkManager-wifi.x86_64 1:1.0.6-27.el7 will be updated
---> Package NetworkManager-wifi.x86_64 1:1.0.6-31.el7_2 will be an update
---> Package avahi-autoipd.x86_64 0:0.6.31-15.el7 will be updated
---> Package avahi-autoipd.x86_64 0:0.6.31-15.el7_2.1 will be an update
---> Package avahi-libs.x86_64 0:0.6.31-15.el7 will be updated
---> Package avahi-libs.x86_64 0:0.6.31-15.el7_2.1 will be an update
---> Package bash.x86_64 0:4.2.46-19.el7 will be updated
---> Package bash.x86_64 0:4.2.46-20.el7_2 will be an update
---> Package bind-libs-lite.x86_64 32:9.9.4-29.el7 will be updated
---> Package bind-libs-lite.x86_64 32:9.9.4-29.el7_2.4 will be an update
---> Package bind-license.noarch 32:9.9.4-29.el7 will be updated
---> Package bind-license.noarch 32:9.9.4-29.el7_2.4 will be an update
---> Package ca-certificates.noarch 0:2015.2.4-71.el7 will be updated
---> Package ca-certificates.noarch 0:2015.2.6-70.1.el7_2 will be an update
---> Package chkconfig.x86_64 0:1.3.61-5.el7 will be updated
---> Package chkconfig.x86_64 0:1.3.61-5.el7_2.1 will be an update
---> Package coreutils.x86_64 0:8.22-15.el7 will be updated
---> Package coreutils.x86_64 0:8.22-15.el7_2.1 will be an update
---> Package cronie.x86_64 0:1.4.11-14.el7 will be updated
---> Package cronie.x86_64 0:1.4.11-14.el7_2.1 will be an update
---> Package cronie-anacron.x86_64 0:1.4.11-14.el7 will be updated
---> Package cronie-anacron.x86_64 0:1.4.11-14.el7_2.1 will be an update
---> Package cyrus-sasl-lib.x86_64 0:2.1.26-19.2.el7 will be updated
---> Package cyrus-sasl-lib.x86_64 0:2.1.26-20.el7_2 will be an update
---> Package dbus.x86_64 1:1.6.12-13.el7 will be updated
---> Package dbus.x86_64 1:1.6.12-14.el7_2 will be an update
---> Package dbus-libs.x86_64 1:1.6.12-13.el7 will be updated
---> Package dbus-libs.x86_64 1:1.6.12-14.el7_2 will be an update
---> Package device-mapper.x86_64 7:1.02.107-5.el7 will be updated
---> Package device-mapper.x86_64 7:1.02.107-5.el7_2.5 will be an update
---> Package device-mapper-libs.x86_64 7:1.02.107-5.el7 will be updated
---> Package device-mapper-libs.x86_64 7:1.02.107-5.el7_2.5 will be an update
---> Package dnsmasq.x86_64 0:2.66-14.el7_1 will be updated
---> Package dnsmasq.x86_64 0:2.66-14.el7_2.1 will be an update
---> Package dracut.x86_64 0:033-359.el7 will be updated
---> Package dracut.x86_64 0:033-360.el7_2.1 will be an update
---> Package dracut-config-rescue.x86_64 0:033-359.el7 will be updated
---> Package dracut-config-rescue.x86_64 0:033-360.el7_2.1 will be an update
---> Package dracut-network.x86_64 0:033-359.el7 will be updated
---> Package dracut-network.x86_64 0:033-360.el7_2.1 will be an update
---> Package glibc.x86_64 0:2.17-105.el7 will be updated
---> Package glibc.x86_64 0:2.17-106.el7_2.8 will be an update
---> Package glibc-common.x86_64 0:2.17-105.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-106.el7_2.8 will be an update
---> Package gmp.x86_64 1:6.0.0-11.el7 will be updated
---> Package gmp.x86_64 1:6.0.0-12.el7_1 will be an update
---> Package gnutls.x86_64 0:3.3.8-12.el7_1.1 will be updated
---> Package gnutls.x86_64 0:3.3.8-14.el7_2 will be an update
---> Package grub2.x86_64 1:2.02-0.29.el7.centos will be updated
---> Package grub2.x86_64 1:2.02-0.34.el7.centos will be an update
---> Package grub2-tools.x86_64 1:2.02-0.29.el7.centos will be updated
---> Package grub2-tools.x86_64 1:2.02-0.34.el7.centos will be an update
---> Package initscripts.x86_64 0:9.49.30-1.el7 will be updated
---> Package initscripts.x86_64 0:9.49.30-1.el7_2.3 will be an update
---> Package iproute.x86_64 0:3.10.0-54.el7 will be updated
---> Package iproute.x86_64 0:3.10.0-54.el7_2.1 will be an update
---> Package kernel.x86_64 0:3.10.0-327.36.2.el7 will be installed
---> Package kernel-tools.x86_64 0:3.10.0-327.el7 will be updated
---> Package kernel-tools.x86_64 0:3.10.0-327.36.2.el7 will be an update
---> Package kernel-tools-libs.x86_64 0:3.10.0-327.el7 will be updated
---> Package kernel-tools-libs.x86_64 0:3.10.0-327.36.2.el7 will be an update
---> Package kexec-tools.x86_64 0:2.0.7-38.el7 will be updated
---> Package kexec-tools.x86_64 0:2.0.7-38.el7_2.1 will be an update
---> Package kmod.x86_64 0:20-5.el7 will be updated
---> Package kmod.x86_64 0:20-8.el7_2 will be an update
---> Package kmod-libs.x86_64 0:20-5.el7 will be updated
---> Package kmod-libs.x86_64 0:20-8.el7_2 will be an update
---> Package kpartx.x86_64 0:0.4.9-85.el7 will be updated
---> Package kpartx.x86_64 0:0.4.9-85.el7_2.6 will be an update
---> Package krb5-libs.x86_64 0:1.13.2-10.el7 will be updated
---> Package krb5-libs.x86_64 0:1.13.2-12.el7_2 will be an update
---> Package libblkid.x86_64 0:2.23.2-26.el7 will be updated
---> Package libblkid.x86_64 0:2.23.2-26.el7_2.3 will be an update
---> Package libgudev1.x86_64 0:219-19.el7 will be updated
---> Package libgudev1.x86_64 0:219-19.el7_2.13 will be an update
---> Package libmount.x86_64 0:2.23.2-26.el7 will be updated
---> Package libmount.x86_64 0:2.23.2-26.el7_2.3 will be an update
---> Package libndp.x86_64 0:1.2-4.el7 will be updated
---> Package libndp.x86_64 0:1.2-6.el7_2 will be an update
---> Package libssh2.x86_64 0:1.4.3-10.el7 will be updated
---> Package libssh2.x86_64 0:1.4.3-10.el7_2.1 will be an update
---> Package libuuid.x86_64 0:2.23.2-26.el7 will be updated
---> Package libuuid.x86_64 0:2.23.2-26.el7_2.3 will be an update
---> Package libxml2.x86_64 0:2.9.1-5.el7_1.2 will be updated
---> Package libxml2.x86_64 0:2.9.1-6.el7_2.3 will be an update
---> Package logrotate.x86_64 0:3.8.6-6.el7 will be updated
---> Package logrotate.x86_64 0:3.8.6-7.el7_2 will be an update
---> Package mariadb-libs.x86_64 1:5.5.44-2.el7.centos will be updated
---> Package mariadb-libs.x86_64 1:5.5.50-1.el7_2 will be an update
---> Package microcode_ctl.x86_64 2:2.1-12.el7 will be updated
---> Package microcode_ctl.x86_64 2:2.1-12.el7_2.1 will be an update
---> Package nspr.x86_64 0:4.10.8-2.el7_1 will be updated
---> Package nspr.x86_64 0:4.11.0-1.el7_2 will be an update
---> Package nss.x86_64 0:3.19.1-18.el7 will be updated
---> Package nss.x86_64 0:3.21.0-9.el7_2 will be an update
---> Package nss-softokn.x86_64 0:3.16.2.3-13.el7_1 will be updated
---> Package nss-softokn.x86_64 0:3.16.2.3-14.2.el7_2 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.16.2.3-13.el7_1 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.16.2.3-14.2.el7_2 will be an update
---> Package nss-sysinit.x86_64 0:3.19.1-18.el7 will be updated
---> Package nss-sysinit.x86_64 0:3.21.0-9.el7_2 will be an update
---> Package nss-tools.x86_64 0:3.19.1-18.el7 will be updated
---> Package nss-tools.x86_64 0:3.21.0-9.el7_2 will be an update
---> Package nss-util.x86_64 0:3.19.1-4.el7_1 will be updated
---> Package nss-util.x86_64 0:3.21.0-2.2.el7_2 will be an update
---> Package numactl-libs.x86_64 0:2.0.9-5.el7_1 will be updated
---> Package numactl-libs.x86_64 0:2.0.9-6.el7_2 will be an update
---> Package openldap.x86_64 0:2.4.40-8.el7 will be updated
---> Package openldap.x86_64 0:2.4.40-9.el7_2 will be an update
---> Package openssh.x86_64 0:6.6.1p1-22.el7 will be updated
---> Package openssh.x86_64 0:6.6.1p1-25.el7_2 will be an update
---> Package openssh-clients.x86_64 0:6.6.1p1-22.el7 will be updated
---> Package openssh-clients.x86_64 0:6.6.1p1-25.el7_2 will be an update
---> Package openssh-server.x86_64 0:6.6.1p1-22.el7 will be updated
---> Package openssh-server.x86_64 0:6.6.1p1-25.el7_2 will be an update
---> Package openssl.x86_64 1:1.0.1e-42.el7.9 will be updated
---> Package openssl.x86_64 1:1.0.1e-51.el7_2.7 will be an update
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7.9 will be updated
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.7 will be an update
---> Package pcre.x86_64 0:8.32-15.el7 will be updated
---> Package pcre.x86_64 0:8.32-15.el7_2.1 will be an update
---> Package polkit.x86_64 0:0.112-5.el7 will be updated
---> Package polkit.x86_64 0:0.112-7.el7_2 will be an update
---> Package procps-ng.x86_64 0:3.3.10-3.el7 will be updated
---> Package procps-ng.x86_64 0:3.3.10-5.el7_2 will be an update
---> Package python.x86_64 0:2.7.5-34.el7 will be updated
---> Package python.x86_64 0:2.7.5-39.el7_2 will be an update
---> Package python-libs.x86_64 0:2.7.5-34.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-39.el7_2 will be an update
---> Package python-perf.x86_64 0:3.10.0-327.el7 will be updated
---> Package python-perf.x86_64 0:3.10.0-327.36.2.el7 will be an update
---> Package python-pyudev.noarch 0:0.15-7.el7 will be updated
---> Package python-pyudev.noarch 0:0.15-7.el7_2.1 will be an update
---> Package selinux-policy.noarch 0:3.13.1-60.el7 will be updated
---> Package selinux-policy.noarch 0:3.13.1-60.el7_2.9 will be an update
---> Package selinux-policy-targeted.noarch 0:3.13.1-60.el7 will be updated
---> Package selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.9 will be an update
---> Package sudo.x86_64 0:1.8.6p7-16.el7 will be updated
---> Package sudo.x86_64 0:1.8.6p7-17.el7_2 will be an update
---> Package systemd.x86_64 0:219-19.el7 will be updated
---> Package systemd.x86_64 0:219-19.el7_2.13 will be an update
---> Package systemd-libs.x86_64 0:219-19.el7 will be updated
---> Package systemd-libs.x86_64 0:219-19.el7_2.13 will be an update
---> Package systemd-sysv.x86_64 0:219-19.el7 will be updated
---> Package systemd-sysv.x86_64 0:219-19.el7_2.13 will be an update
---> Package tuned.noarch 0:2.5.1-4.el7 will be updated
---> Package tuned.noarch 0:2.5.1-4.el7_2.6 will be an update
---> Package tzdata.noarch 0:2015g-1.el7 will be updated
---> Package tzdata.noarch 0:2016g-2.el7 will be an update
---> Package util-linux.x86_64 0:2.23.2-26.el7 will be updated
---> Package util-linux.x86_64 0:2.23.2-26.el7_2.3 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
==
Package Arch Version Repository Size
========================================================================================
==
Installing:
kernel x86_64 3.10.0-327.36.2.el7 updates 33 M
Updating:
NetworkManager x86_64 1:1.0.6-31.el7_2 updates 2.0 M
NetworkManager-libnm x86_64 1:1.0.6-31.el7_2 updates 498 k
NetworkManager-tui x86_64 1:1.0.6-31.el7_2 updates 212 k
NetworkManager-wifi x86_64 1:1.0.6-31.el7_2 updates 160 k
avahi-autoipd x86_64 0.6.31-15.el7_2.1 updates 39 k
avahi-libs x86_64 0.6.31-15.el7_2.1 updates 61 k
bash x86_64 4.2.46-20.el7_2 updates 1.0 M
bind-libs-lite x86_64 32:9.9.4-29.el7_2.4 updates 724 k
bind-license noarch 32:9.9.4-29.el7_2.4 updates 82 k
ca-certificates noarch 2015.2.6-70.1.el7_2 updates 428 k
chkconfig x86_64 1.3.61-5.el7_2.1 updates 173 k
coreutils x86_64 8.22-15.el7_2.1 updates 3.2 M
cronie x86_64 1.4.11-14.el7_2.1 updates 90 k
cronie-anacron x86_64 1.4.11-14.el7_2.1 updates 35 k
cyrus-sasl-lib x86_64 2.1.26-20.el7_2 updates 155 k
dbus x86_64 1:1.6.12-14.el7_2 updates 306 k
dbus-libs x86_64 1:1.6.12-14.el7_2 updates 151 k
device-mapper x86_64 7:1.02.107-5.el7_2.5 updates 252 k
device-mapper-libs x86_64 7:1.02.107-5.el7_2.5 updates 305 k
dnsmasq x86_64 2.66-14.el7_2.1 updates 229 k
dracut x86_64 033-360.el7_2.1 updates 311 k
dracut-config-rescue x86_64 033-360.el7_2.1 updates 50 k
dracut-network x86_64 033-360.el7_2.1 updates 90 k
glibc x86_64 2.17-106.el7_2.8 updates 3.6 M
glibc-common x86_64 2.17-106.el7_2.8 updates 11 M
gmp x86_64 1:6.0.0-12.el7_1 updates 280 k
gnutls x86_64 3.3.8-14.el7_2 updates 662 k
grub2 x86_64 1:2.02-0.34.el7.centos updates 1.5 M
grub2-tools x86_64 1:2.02-0.34.el7.centos updates 3.3 M
initscripts x86_64 9.49.30-1.el7_2.3 updates 429 k
iproute x86_64 3.10.0-54.el7_2.1 updates 526 k
kernel-tools x86_64 3.10.0-327.36.2.el7 updates 2.4 M
kernel-tools-libs x86_64 3.10.0-327.36.2.el7 updates 2.3 M
kexec-tools x86_64 2.0.7-38.el7_2.1 updates 306 k
kmod x86_64 20-8.el7_2 updates 114 k
kmod-libs x86_64 20-8.el7_2 updates 47 k
kpartx x86_64 0.4.9-85.el7_2.6 updates 60 k
krb5-libs x86_64 1.13.2-12.el7_2 updates 843 k
libblkid x86_64 2.23.2-26.el7_2.3 updates 167 k
libgudev1 x86_64 219-19.el7_2.13 updates 67 k
libmount x86_64 2.23.2-26.el7_2.3 updates 169 k
libndp x86_64 1.2-6.el7_2 updates 31 k
libssh2 x86_64 1.4.3-10.el7_2.1 updates 134 k
libuuid x86_64 2.23.2-26.el7_2.3 updates 74 k
libxml2 x86_64 2.9.1-6.el7_2.3 updates 668 k
logrotate x86_64 3.8.6-7.el7_2 updates 66 k
mariadb-libs x86_64 1:5.5.50-1.el7_2 updates 755 k
microcode_ctl x86_64 2:2.1-12.el7_2.1 updates 535 k
nspr x86_64 4.11.0-1.el7_2 updates 126 k
nss x86_64 3.21.0-9.el7_2 updates 850 k
nss-softokn x86_64 3.16.2.3-14.2.el7_2 updates 305 k
nss-softokn-freebl x86_64 3.16.2.3-14.2.el7_2 updates 204 k
nss-sysinit x86_64 3.21.0-9.el7_2 updates 55 k
nss-tools x86_64 3.21.0-9.el7_2 updates 487 k
nss-util x86_64 3.21.0-2.2.el7_2 updates 72 k
numactl-libs x86_64 2.0.9-6.el7_2 updates 29 k
openldap x86_64 2.4.40-9.el7_2 updates 348 k
openssh x86_64 6.6.1p1-25.el7_2 updates 435 k
openssh-clients x86_64 6.6.1p1-25.el7_2 updates 639 k
openssh-server x86_64 6.6.1p1-25.el7_2 updates 436 k
openssl x86_64 1:1.0.1e-51.el7_2.7 updates 712 k
openssl-libs x86_64 1:1.0.1e-51.el7_2.7 updates 953 k
pcre x86_64 8.32-15.el7_2.1 updates 420 k
polkit x86_64 0.112-7.el7_2 updates 166 k
procps-ng x86_64 3.3.10-5.el7_2 updates 287 k
python x86_64 2.7.5-39.el7_2 updates 89 k
python-libs x86_64 2.7.5-39.el7_2 updates 5.6 M
python-perf x86_64 3.10.0-327.36.2.el7 updates 2.4 M
python-pyudev noarch 0.15-7.el7_2.1 updates 54 k
selinux-policy noarch 3.13.1-60.el7_2.9 updates 377 k
selinux-policy-targeted noarch 3.13.1-60.el7_2.9 updates 3.9 M
sudo x86_64 1.8.6p7-17.el7_2 updates 732 k
systemd x86_64 219-19.el7_2.13 updates 5.1 M
systemd-libs x86_64 219-19.el7_2.13 updates 358 k
systemd-sysv x86_64 219-19.el7_2.13 updates 54 k
tuned noarch 2.5.1-4.el7_2.6 updates 194 k
tzdata noarch 2016g-2.el7 updates 440 k
util-linux x86_64 2.23.2-26.el7_2.3 updates 1.9 M

Transaction Summary
========================================================================================
==
Install 1 Package
Upgrade 78 Packages

Total download size: 102 M


Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/updates/packages/NetworkManager-wifi-1.0.6-31.el7_2.x86_64.rpm:
Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for NetworkManager-wifi-1.0.6-31.el7_2.x86_64.rpm is not installed
(1/79): NetworkManager-wifi-1.0.6-31.el7_2.x86_64.rpm | 160 kB 00:00:04
(2/79): NetworkManager-libnm-1.0.6-31.el7_2.x86_64.rpm | 498 kB 00:00:04
(3/79): avahi-autoipd-0.6.31-15.el7_2.1.x86_64.rpm | 39 kB 00:00:04
(4/79): NetworkManager-tui-1.0.6-31.el7_2.x86_64.rpm | 212 kB 00:00:05
bind-libs-lite-9.9.4-29.el7_2. FAILED
http://mirror.as24220.net/pub/centos/7/updates/x86_64/Packages/bind-libs-lite-9.9.4-
29.el7_2.4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

(5/79): bind-license-9.9.4-29.el7_2.4.noarch.rpm | 82 kB 00:00:02


(6/79): avahi-libs-0.6.31-15.el7_2.1.x86_64.rpm | 61 kB 00:00:06
(7/79): chkconfig-1.3.61-5.el7_2.1.x86_64.rpm | 173 kB 00:00:05
(8/79): ca-certificates-2015.2.6-70.1.el7_2.noarch.rpm | 428 kB 00:00:09
(9/79): bash-4.2.46-20.el7_2.x86_64.rpm | 1.0 MB 00:00:11
(10/79): cronie-1.4.11-14.el7_2.1.x86_64.rpm | 90 kB 00:00:03
(11/79): cronie-anacron-1.4.11-14.el7_2.1.x86_64.rpm | 35 kB 00:00:01
(12/79): dbus-libs-1.6.12-14.el7_2.x86_64.rpm | 151 kB 00:00:03
(13/79): cyrus-sasl-lib-2.1.26-20.el7_2.x86_64.rpm | 155 kB 00:00:05
(14/79): device-mapper-1.02.107-5.el7_2.5.x86_64.rpm | 252 kB 00:00:04
(15/79): device-mapper-libs-1.02.107-5.el7_2.5.x86_64.rpm | 305 kB 00:00:04
(16/79): dbus-1.6.12-14.el7_2.x86_64.rpm | 306 kB 00:00:09
(17/79): dracut-config-rescue-033-360.el7_2.1.x86_64.rpm | 50 kB 00:00:01
(18/79): dnsmasq-2.66-14.el7_2.1.x86_64.rpm | 229 kB 00:00:03
(19/79): dracut-network-033-360.el7_2.1.x86_64.rpm | 90 kB 00:00:02
(20/79): dracut-033-360.el7_2.1.x86_64.rpm | 311 kB 00:00:07
(21/79): NetworkManager-1.0.6-31.el7_2.x86_64.rpm | 2.0 MB 00:00:35
(22/79): gmp-6.0.0-12.el7_1.x86_64.rpm | 280 kB 00:00:04
(23/79): gnutls-3.3.8-14.el7_2.x86_64.rpm | 662 kB 00:00:21
(24/79): grub2-2.02-0.34.el7.centos.x86_64.rpm | 1.5 MB 00:00:30
(25/79): initscripts-9.49.30-1.el7_2.3.x86_64.rpm | 429 kB 00:00:03
(26/79): iproute-3.10.0-54.el7_2.1.x86_64.rpm | 526 kB 00:00:03
(27/79): glibc-2.17-106.el7_2.8.x86_64.rpm | 3.6 MB 00:00:48
(28/79): grub2-tools-2.02-0.34.el7.centos.x86_64.rpm | 3.3 MB 00:00:28
(29/79): kernel-tools-3.10.0-327.36.2.el7.x86_64.rpm | 2.4 MB 00:01:23
(30/79): coreutils-8.22-15.el7_2.1.x86_64.rpm | 3.2 MB 00:02:30
(31/79): glibc-common-2.17-106.el7_2.8.x86_64.rpm | 11 MB 00:04:18
(32/79): kmod-libs-20-8.el7_2.x86_64.rpm | 47 kB 00:00:01
(33/79): kmod-20-8.el7_2.x86_64.rpm | 114 kB 00:00:04
(34/79): kpartx-0.4.9-85.el7_2.6.x86_64.rpm | 60 kB 00:00:02
(35/79): kexec-tools-2.0.7-38.el7_2.1.x86_64.rpm | 306 kB 00:00:07
(36/79): libblkid-2.23.2-26.el7_2.3.x86_64.rpm | 167 kB 00:00:05
(37/79): libgudev1-219-19.el7_2.13.x86_64.rpm | 67 kB 00:00:03
(38/79): libndp-1.2-6.el7_2.x86_64.rpm | 31 kB 00:00:02
(39/79): libmount-2.23.2-26.el7_2.3.x86_64.rpm | 169 kB 00:00:08
(40/79): libssh2-1.4.3-10.el7_2.1.x86_64.rpm | 134 kB 00:00:05
(41/79): krb5-libs-1.13.2-12.el7_2.x86_64.rpm | 843 kB 00:00:17
(42/79): libuuid-2.23.2-26.el7_2.3.x86_64.rpm | 74 kB 00:00:03
(43/79): logrotate-3.8.6-7.el7_2.x86_64.rpm | 66 kB 00:00:01
(44/79): libxml2-2.9.1-6.el7_2.3.x86_64.rpm | 668 kB 00:00:13
(45/79): microcode_ctl-2.1-12.el7_2.1.x86_64.rpm | 535 kB 00:00:11
(46/79): nspr-4.11.0-1.el7_2.x86_64.rpm | 126 kB 00:00:04
(47/79): mariadb-libs-5.5.50-1.el7_2.x86_64.rpm | 755 kB 00:00:20
(48/79): nss-softokn-freebl-3.16.2.3-14.2.el7_2.x86_64.rpm | 204 kB 00:00:04
(49/79): nss-softokn-3.16.2.3-14.2.el7_2.x86_64.rpm | 305 kB 00:00:11
(50/79): nss-sysinit-3.21.0-9.el7_2.x86_64.rpm | 55 kB 00:00:02
(51/79): nss-3.21.0-9.el7_2.x86_64.rpm | 850 kB 00:00:16
(52/79): numactl-libs-2.0.9-6.el7_2.x86_64.rpm | 29 kB 00:00:01
(53/79): nss-util-3.21.0-2.2.el7_2.x86_64.rpm | 72 kB 00:00:03
(54/79): openldap-2.4.40-9.el7_2.x86_64.rpm | 348 kB 00:00:04
(55/79): openssh-6.6.1p1-25.el7_2.x86_64.rpm | 435 kB 00:00:04
(56/79): openssh-clients-6.6.1p1-25.el7_2.x86_64.rpm | 639 kB 00:00:06
(57/79): nss-tools-3.21.0-9.el7_2.x86_64.rpm | 487 kB 00:00:14
(58/79): kernel-tools-libs-3.10.0-327.36.2.el7.x86_64.rpm | 2.3 MB 00:01:05
(59/79): openssh-server-6.6.1p1-25.el7_2.x86_64.rpm | 436 kB 00:00:07
(60/79): polkit-0.112-7.el7_2.x86_64.rpm | 166 kB 00:00:02
(61/79): procps-ng-3.3.10-5.el7_2.x86_64.rpm | 287 kB 00:00:05
(62/79): openssl-1.0.1e-51.el7_2.7.x86_64.rpm | 712 kB 00:00:09
(63/79): python-2.7.5-39.el7_2.x86_64.rpm | 89 kB 00:00:02
(64/79): pcre-8.32-15.el7_2.1.x86_64.rpm | 420 kB 00:00:10
(65/79): python-pyudev-0.15-7.el7_2.1.noarch.rpm | 54 kB 00:00:02
(66/79): openssl-libs-1.0.1e-51.el7_2.7.x86_64.rpm | 953 kB 00:00:17
(67/79): selinux-policy-3.13.1-60.el7_2.9.noarch.rpm | 377 kB 00:00:13
(68/79): sudo-1.8.6p7-17.el7_2.x86_64.rpm | 732 kB 00:00:18
(69/79): python-perf-3.10.0-327.36.2.el7.x86_64.rpm | 2.4 MB 00:00:52
(70/79): systemd-libs-219-19.el7_2.13.x86_64.rpm | 358 kB 00:00:06
(71/79): systemd-sysv-219-19.el7_2.13.x86_64.rpm | 54 kB 00:00:01
(72/79): tuned-2.5.1-4.el7_2.6.noarch.rpm | 194 kB 00:00:04
(73/79): tzdata-2016g-2.el7.noarch.rpm | 440 kB 00:00:20
(74/79): util-linux-2.23.2-26.el7_2.3.x86_64.rpm | 1.9 MB 00:00:27
(75/79): python-libs-2.7.5-39.el7_2.x86_64.rpm | 5.6 MB 00:02:05
(76/79): selinux-policy-targeted-3.13.1-60.el7_2.9.noarch.rpm | 3.9 MB 00:01:56
(77/79): bind-libs-lite-9.9.4-29.el7_2.4.x86_64.rpm | 724 kB 00:00:12
(78/79): systemd-219-19.el7_2.13.x86_64.rpm | 5.1 MB 00:01:57
(79/79): kernel-3.10.0-327.36.2.el7.x86_64.rpm | 33 MB 00:15:07
------------------------------------------------------------------------------------------
Total 106 kB/s | 102 MB 00:16:22
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 32:bind-license-9.9.4-29.el7_2.4.noarch 1/157
Updating : tzdata-2016g-2.el7.noarch 2/157
Updating : bash-4.2.46-20.el7_2.x86_64 3/157
Updating : nss-softokn-freebl-3.16.2.3-14.2.el7_2.x86_64 4/157
Updating : glibc-2.17-106.el7_2.8.x86_64 5/157
Updating : glibc-common-2.17-106.el7_2.8.x86_64 6/157
Updating : nspr-4.11.0-1.el7_2.x86_64 7/157
Updating : nss-util-3.21.0-2.2.el7_2.x86_64 8/157
Updating : systemd-libs-219-19.el7_2.13.x86_64 9/157
Updating : libuuid-2.23.2-26.el7_2.3.x86_64 10/157
Updating : 1:dbus-libs-1.6.12-14.el7_2.x86_64 11/157
Updating : libgudev1-219-19.el7_2.13.x86_64 12/157
Updating : chkconfig-1.3.61-5.el7_2.1.x86_64 13/157
Updating : iproute-3.10.0-54.el7_2.1.x86_64 14/157
Updating : procps-ng-3.3.10-5.el7_2.x86_64 15/157
Updating : nss-softokn-3.16.2.3-14.2.el7_2.x86_64 16/157
Updating : 1:gmp-6.0.0-12.el7_1.x86_64 17/157
Updating : krb5-libs-1.13.2-12.el7_2.x86_64 18/157
Updating : 1:openssl-libs-1.0.1e-51.el7_2.7.x86_64 19/157
Updating : coreutils-8.22-15.el7_2.1.x86_64 20/157
Updating : ca-certificates-2015.2.6-70.1.el7_2.noarch 21/157
Updating : libblkid-2.23.2-26.el7_2.3.x86_64 22/157
Updating : libmount-2.23.2-26.el7_2.3.x86_64 23/157
Updating : util-linux-2.23.2-26.el7_2.3.x86_64 24/157
Updating : python-libs-2.7.5-39.el7_2.x86_64 25/157
Updating : python-2.7.5-39.el7_2.x86_64 26/157
Updating : python-perf-3.10.0-327.36.2.el7.x86_64 27/157
Updating : python-pyudev-0.15-7.el7_2.1.noarch 28/157
Updating : selinux-policy-3.13.1-60.el7_2.9.noarch 29/157
Updating : nss-3.21.0-9.el7_2.x86_64 30/157
Updating : nss-sysinit-3.21.0-9.el7_2.x86_64 31/157
Updating : 1:NetworkManager-libnm-1.0.6-31.el7_2.x86_64 32/157
Updating : nss-tools-3.21.0-9.el7_2.x86_64 33/157
Updating : avahi-libs-0.6.31-15.el7_2.1.x86_64 34/157
Updating : avahi-autoipd-0.6.31-15.el7_2.1.x86_64 35/157
Updating : kernel-tools-libs-3.10.0-327.36.2.el7.x86_64 36/157
Updating : kmod-libs-20-8.el7_2.x86_64 37/157
Updating : 7:device-mapper-1.02.107-5.el7_2.5.x86_64 38/157
Updating : 7:device-mapper-libs-1.02.107-5.el7_2.5.x86_64 39/157
Updating : kpartx-0.4.9-85.el7_2.6.x86_64 40/157
Updating : dracut-033-360.el7_2.1.x86_64 41/157
Updating : kmod-20-8.el7_2.x86_64 42/157
Updating : systemd-219-19.el7_2.13.x86_64 43/157
Updating : 1:dbus-1.6.12-14.el7_2.x86_64 44/157
Updating : systemd-sysv-219-19.el7_2.13.x86_64 45/157
Updating : dnsmasq-2.66-14.el7_2.1.x86_64 46/157
Updating : polkit-0.112-7.el7_2.x86_64 47/157
Updating : initscripts-9.49.30-1.el7_2.3.x86_64 48/157
Updating : cronie-anacron-1.4.11-14.el7_2.1.x86_64 49/157
Updating : cronie-1.4.11-14.el7_2.1.x86_64 50/157
Updating : dracut-network-033-360.el7_2.1.x86_64 51/157
Updating : 1:grub2-tools-2.02-0.34.el7.centos.x86_64 52/157
Updating : cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 53/157
Updating : openldap-2.4.40-9.el7_2.x86_64 54/157
Updating : openssh-6.6.1p1-25.el7_2.x86_64 55/157
Updating : libxml2-2.9.1-6.el7_2.3.x86_64 56/157
Updating : libndp-1.2-6.el7_2.x86_64 57/157
Updating : 1:NetworkManager-1.0.6-31.el7_2.x86_64 58/157
Updating : 1:NetworkManager-tui-1.0.6-31.el7_2.x86_64 59/157
Updating : 1:NetworkManager-wifi-1.0.6-31.el7_2.x86_64 60/157
Updating : 32:bind-libs-lite-9.9.4-29.el7_2.4.x86_64 61/157
Updating : openssh-server-6.6.1p1-25.el7_2.x86_64 62/157
Updating : openssh-clients-6.6.1p1-25.el7_2.x86_64 63/157
Updating : sudo-1.8.6p7-17.el7_2.x86_64 64/157
Updating : 1:grub2-2.02-0.34.el7.centos.x86_64 65/157
Updating : kexec-tools-2.0.7-38.el7_2.1.x86_64 66/157
Installing : kernel-3.10.0-327.36.2.el7.x86_64 67/157
Updating : 2:microcode_ctl-2.1-12.el7_2.1.x86_64 68/157
Updating : tuned-2.5.1-4.el7_2.6.noarch 69/157
Updating : dracut-config-rescue-033-360.el7_2.1.x86_64 70/157
Updating : kernel-tools-3.10.0-327.36.2.el7.x86_64 71/157
Updating : selinux-policy-targeted-3.13.1-60.el7_2.9.noarch 72/157
Updating : 1:openssl-1.0.1e-51.el7_2.7.x86_64 73/157
Updating : logrotate-3.8.6-7.el7_2.x86_64 74/157
Updating : libssh2-1.4.3-10.el7_2.1.x86_64 75/157
Updating : 1:mariadb-libs-5.5.50-1.el7_2.x86_64 76/157
Updating : gnutls-3.3.8-14.el7_2.x86_64 77/157
Updating : pcre-8.32-15.el7_2.1.x86_64 78/157
Updating : numactl-libs-2.0.9-6.el7_2.x86_64 79/157
Cleanup : 1:NetworkManager-tui-1.0.6-27.el7.x86_64 80/157
Cleanup : initscripts-9.49.30-1.el7.x86_64 81/157
Cleanup : openssh-server-6.6.1p1-22.el7.x86_64 82/157
Cleanup : openssh-clients-6.6.1p1-22.el7.x86_64 83/157
Cleanup : 32:bind-libs-lite-9.9.4-29.el7.x86_64 84/157
Cleanup : 1:openssl-1.0.1e-42.el7.9.x86_64 85/157
Cleanup : tuned-2.5.1-4.el7.noarch 86/157
Cleanup : openssh-6.6.1p1-22.el7.x86_64 87/157
Cleanup : kexec-tools-2.0.7-38.el7.x86_64 88/157
Cleanup : 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 89/157
Cleanup : 1:NetworkManager-wifi-1.0.6-27.el7.x86_64 90/157
Cleanup : 1:NetworkManager-1.0.6-27.el7.x86_64 91/157
Cleanup : 1:NetworkManager-libnm-1.0.6-27.el7.x86_64 92/157
Cleanup : dnsmasq-2.66-14.el7_1.x86_64 93/157
Cleanup : polkit-0.112-5.el7.x86_64 94/157
Cleanup : kernel-tools-3.10.0-327.el7.x86_64 95/157
Cleanup : libgudev1-219-19.el7.x86_64 96/157
Cleanup : python-perf-3.10.0-327.el7.x86_64 97/157
Cleanup : cronie-1.4.11-14.el7.x86_64 98/157
Cleanup : cronie-anacron-1.4.11-14.el7.x86_64 99/157
Cleanup : sudo-1.8.6p7-16.el7.x86_64 100/157
Cleanup : dracut-network-033-359.el7.x86_64 101/157
Cleanup : selinux-policy-targeted-3.13.1-60.el7.noarch 102/157
Cleanup : 1:grub2-2.02-0.29.el7.centos.x86_64 103/157
Cleanup : openldap-2.4.40-8.el7.x86_64 104/157
Cleanup : nss-tools-3.19.1-18.el7.x86_64 105/157
Cleanup : nss-sysinit-3.19.1-18.el7.x86_64 106/157
Cleanup : nss-3.19.1-18.el7.x86_64 107/157
Cleanup : nss-softokn-3.16.2.3-13.el7_1.x86_64 108/157
Cleanup : nss-util-3.19.1-4.el7_1.x86_64 109/157
Cleanup : 1:grub2-tools-2.02-0.29.el7.centos.x86_64 110/157
Cleanup : avahi-autoipd-0.6.31-15.el7.x86_64 111/157
Cleanup : avahi-libs-0.6.31-15.el7.x86_64 112/157
Cleanup : logrotate-3.8.6-6.el7.x86_64 113/157
Cleanup : libssh2-1.4.3-10.el7.x86_64 114/157
Cleanup : 2:microcode_ctl-2.1-12.el7.x86_64 115/157
Cleanup : gnutls-3.3.8-12.el7_1.1.x86_64 116/157
Cleanup : selinux-policy-3.13.1-60.el7.noarch 117/157
Cleanup : systemd-sysv-219-19.el7.x86_64 118/157
Cleanup : dracut-config-rescue-033-359.el7.x86_64 119/157
Cleanup : python-pyudev-0.15-7.el7.noarch 120/157
Cleanup : kpartx-0.4.9-85.el7.x86_64 121/157
Cleanup : 7:device-mapper-libs-1.02.107-5.el7.x86_64 122/157
Cleanup : 7:device-mapper-1.02.107-5.el7.x86_64 123/157
Cleanup : kmod-20-5.el7.x86_64 124/157
Cleanup : dracut-033-359.el7.x86_64 125/157
Cleanup : 1:dbus-1.6.12-13.el7.x86_64 126/157
Cleanup : systemd-219-19.el7.x86_64 127/157
Cleanup : util-linux-2.23.2-26.el7.x86_64 128/157
Cleanup : libmount-2.23.2-26.el7.x86_64 129/157
Cleanup : libblkid-2.23.2-26.el7.x86_64 130/157
Cleanup : python-2.7.5-34.el7.x86_64 131/157
Cleanup : python-libs-2.7.5-34.el7.x86_64 132/157
Cleanup : ca-certificates-2015.2.4-71.el7.noarch 133/157
Cleanup : krb5-libs-1.13.2-10.el7.x86_64 134/157
Cleanup : coreutils-8.22-15.el7.x86_64 135/157
Cleanup : 1:openssl-libs-1.0.1e-42.el7.9.x86_64 136/157
Cleanup : procps-ng-3.3.10-3.el7.x86_64 137/157
Cleanup : iproute-3.10.0-54.el7.x86_64 138/157
Cleanup : systemd-libs-219-19.el7.x86_64 139/157
Cleanup : 1:gmp-6.0.0-11.el7.x86_64 140/157
Cleanup : libuuid-2.23.2-26.el7.x86_64 141/157
Cleanup : kmod-libs-20-5.el7.x86_64 142/157
Cleanup : chkconfig-1.3.61-5.el7.x86_64 143/157
Cleanup : 1:dbus-libs-1.6.12-13.el7.x86_64 144/157
Cleanup : nspr-4.10.8-2.el7_1.x86_64 145/157
Cleanup : cyrus-sasl-lib-2.1.26-19.2.el7.x86_64 146/157
Cleanup : kernel-tools-libs-3.10.0-327.el7.x86_64 147/157
Cleanup : libndp-1.2-4.el7.x86_64 148/157
Cleanup : libxml2-2.9.1-5.el7_1.2.x86_64 149/157
Cleanup : numactl-libs-2.0.9-5.el7_1.x86_64 150/157
Cleanup : pcre-8.32-15.el7.x86_64 151/157
Cleanup : 32:bind-license-9.9.4-29.el7.noarch 152/157
Cleanup : glibc-common-2.17-105.el7.x86_64 153/157
Cleanup : bash-4.2.46-19.el7.x86_64 154/157
Cleanup : nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 155/157
Cleanup : glibc-2.17-105.el7.x86_64 156/157
Cleanup : tzdata-2015g-1.el7.noarch 157/157
Verifying : dnsmasq-2.66-14.el7_2.1.x86_64 1/157
Verifying : iproute-3.10.0-54.el7_2.1.x86_64 2/157
Verifying : sudo-1.8.6p7-17.el7_2.x86_64 3/157
Verifying : kexec-tools-2.0.7-38.el7_2.1.x86_64 4/157
Verifying : nspr-4.11.0-1.el7_2.x86_64 5/157
Verifying : util-linux-2.23.2-26.el7_2.3.x86_64 6/157
Verifying : pcre-8.32-15.el7_2.1.x86_64 7/157
Verifying : gnutls-3.3.8-14.el7_2.x86_64 8/157
Verifying : ca-certificates-2015.2.6-70.1.el7_2.noarch 9/157
Verifying : nss-util-3.21.0-2.2.el7_2.x86_64 10/157
Verifying : systemd-sysv-219-19.el7_2.13.x86_64 11/157
Verifying : numactl-libs-2.0.9-6.el7_2.x86_64 12/157
Verifying : cronie-anacron-1.4.11-14.el7_2.1.x86_64 13/157
Verifying : kernel-tools-libs-3.10.0-327.36.2.el7.x86_64 14/157
Verifying : dracut-config-rescue-033-360.el7_2.1.x86_64 15/157
Verifying : libuuid-2.23.2-26.el7_2.3.x86_64 16/157
Verifying : coreutils-8.22-15.el7_2.1.x86_64 17/157
Verifying : kpartx-0.4.9-85.el7_2.6.x86_64 18/157
Verifying : selinux-policy-3.13.1-60.el7_2.9.noarch 19/157
Verifying : 7:device-mapper-1.02.107-5.el7_2.5.x86_64 20/157
Verifying : 1:NetworkManager-tui-1.0.6-31.el7_2.x86_64 21/157
Verifying : 7:device-mapper-libs-1.02.107-5.el7_2.5.x86_64 22/157
Verifying : 2:microcode_ctl-2.1-12.el7_2.1.x86_64 23/157
Verifying : python-perf-3.10.0-327.36.2.el7.x86_64 24/157
Verifying : openldap-2.4.40-9.el7_2.x86_64 25/157
Verifying : initscripts-9.49.30-1.el7_2.3.x86_64 26/157
Verifying : 1:openssl-1.0.1e-51.el7_2.7.x86_64 27/157
Verifying : avahi-libs-0.6.31-15.el7_2.1.x86_64 28/157
Verifying : tzdata-2016g-2.el7.noarch 29/157
Verifying : glibc-2.17-106.el7_2.8.x86_64 30/157
Verifying : libblkid-2.23.2-26.el7_2.3.x86_64 31/157
Verifying : kmod-libs-20-8.el7_2.x86_64 32/157
Verifying : 32:bind-libs-lite-9.9.4-29.el7_2.4.x86_64 33/157
Verifying : krb5-libs-1.13.2-12.el7_2.x86_64 34/157
Verifying : 1:NetworkManager-libnm-1.0.6-31.el7_2.x86_64 35/157
Verifying : bash-4.2.46-20.el7_2.x86_64 36/157
Verifying : 1:gmp-6.0.0-12.el7_1.x86_64 37/157
Verifying : kernel-tools-3.10.0-327.36.2.el7.x86_64 38/157
Verifying : 32:bind-license-9.9.4-29.el7_2.4.noarch 39/157
Verifying : libssh2-1.4.3-10.el7_2.1.x86_64 40/157
Verifying : cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 41/157
Verifying : nss-tools-3.21.0-9.el7_2.x86_64 42/157
Verifying : libxml2-2.9.1-6.el7_2.3.x86_64 43/157
Verifying : chkconfig-1.3.61-5.el7_2.1.x86_64 44/157
Verifying : procps-ng-3.3.10-5.el7_2.x86_64 45/157
Verifying : avahi-autoipd-0.6.31-15.el7_2.1.x86_64 46/157
Verifying : glibc-common-2.17-106.el7_2.8.x86_64 47/157
Verifying : cronie-1.4.11-14.el7_2.1.x86_64 48/157
Verifying : 1:NetworkManager-wifi-1.0.6-31.el7_2.x86_64 49/157
Verifying : systemd-libs-219-19.el7_2.13.x86_64 50/157
Verifying : python-2.7.5-39.el7_2.x86_64 51/157
Verifying : dracut-033-360.el7_2.1.x86_64 52/157
Verifying : polkit-0.112-7.el7_2.x86_64 53/157
Verifying : 1:grub2-2.02-0.34.el7.centos.x86_64 54/157
Verifying : logrotate-3.8.6-7.el7_2.x86_64 55/157
Verifying : 1:mariadb-libs-5.5.50-1.el7_2.x86_64 56/157
Verifying : 1:grub2-tools-2.02-0.34.el7.centos.x86_64 57/157
Verifying : openssh-server-6.6.1p1-25.el7_2.x86_64 58/157
Verifying : dracut-network-033-360.el7_2.1.x86_64 59/157
Verifying : nss-softokn-3.16.2.3-14.2.el7_2.x86_64 60/157
Verifying : nss-softokn-freebl-3.16.2.3-14.2.el7_2.x86_64 61/157
Verifying : nss-3.21.0-9.el7_2.x86_64 62/157
Verifying : nss-sysinit-3.21.0-9.el7_2.x86_64 63/157
Verifying : python-pyudev-0.15-7.el7_2.1.noarch 64/157
Verifying : 1:dbus-1.6.12-14.el7_2.x86_64 65/157
Verifying : python-libs-2.7.5-39.el7_2.x86_64 66/157
Verifying : libgudev1-219-19.el7_2.13.x86_64 67/157
Verifying : selinux-policy-targeted-3.13.1-60.el7_2.9.noarch 68/157
Verifying : openssh-6.6.1p1-25.el7_2.x86_64 69/157
Verifying : libndp-1.2-6.el7_2.x86_64 70/157
Verifying : kmod-20-8.el7_2.x86_64 71/157
Verifying : 1:openssl-libs-1.0.1e-51.el7_2.7.x86_64 72/157
Verifying : systemd-219-19.el7_2.13.x86_64 73/157
Verifying : 1:NetworkManager-1.0.6-31.el7_2.x86_64 74/157
Verifying : kernel-3.10.0-327.36.2.el7.x86_64 75/157
Verifying : openssh-clients-6.6.1p1-25.el7_2.x86_64 76/157
Verifying : tuned-2.5.1-4.el7_2.6.noarch 77/157
Verifying : 1:dbus-libs-1.6.12-14.el7_2.x86_64 78/157
Verifying : libmount-2.23.2-26.el7_2.3.x86_64 79/157
Verifying : dracut-config-rescue-033-359.el7.x86_64 80/157
Verifying : gnutls-3.3.8-12.el7_1.1.x86_64 81/157
Verifying : openssh-6.6.1p1-22.el7.x86_64 82/157
Verifying : glibc-common-2.17-105.el7.x86_64 83/157
Verifying : avahi-autoipd-0.6.31-15.el7.x86_64 84/157
Verifying : 1:NetworkManager-1.0.6-27.el7.x86_64 85/157
Verifying : selinux-policy-3.13.1-60.el7.noarch 86/157
Verifying : systemd-libs-219-19.el7.x86_64 87/157
Verifying : libmount-2.23.2-26.el7.x86_64 88/157
Verifying : sudo-1.8.6p7-16.el7.x86_64 89/157
Verifying : 1:dbus-libs-1.6.12-13.el7.x86_64 90/157
Verifying : kpartx-0.4.9-85.el7.x86_64 91/157
Verifying : python-pyudev-0.15-7.el7.noarch 92/157
Verifying : python-libs-2.7.5-34.el7.x86_64 93/157
Verifying : cronie-1.4.11-14.el7.x86_64 94/157
Verifying : 1:dbus-1.6.12-13.el7.x86_64 95/157
Verifying : nss-tools-3.19.1-18.el7.x86_64 96/157
Verifying : kernel-tools-3.10.0-327.el7.x86_64 97/157
Verifying : procps-ng-3.3.10-3.el7.x86_64 98/157
Verifying : nss-softokn-3.16.2.3-13.el7_1.x86_64 99/157
Verifying : 1:NetworkManager-tui-1.0.6-27.el7.x86_64 100/157
Verifying : python-2.7.5-34.el7.x86_64 101/157
Verifying : libuuid-2.23.2-26.el7.x86_64 102/157
Verifying : 1:grub2-tools-2.02-0.29.el7.centos.x86_64 103/157
Verifying : systemd-sysv-219-19.el7.x86_64 104/157
Verifying : libgudev1-219-19.el7.x86_64 105/157
Verifying : numactl-libs-2.0.9-5.el7_1.x86_64 106/157
Verifying : nss-sysinit-3.19.1-18.el7.x86_64 107/157
Verifying : 1:gmp-6.0.0-11.el7.x86_64 108/157
Verifying : kernel-tools-libs-3.10.0-327.el7.x86_64 109/157
Verifying : kexec-tools-2.0.7-38.el7.x86_64 110/157
Verifying : cronie-anacron-1.4.11-14.el7.x86_64 111/157
Verifying : iproute-3.10.0-54.el7.x86_64 112/157
Verifying : glibc-2.17-105.el7.x86_64 113/157
Verifying : 1:grub2-2.02-0.29.el7.centos.x86_64 114/157
Verifying : ca-certificates-2015.2.4-71.el7.noarch 115/157
Verifying : util-linux-2.23.2-26.el7.x86_64 116/157
Verifying : dnsmasq-2.66-14.el7_1.x86_64 117/157
Verifying : nss-util-3.19.1-4.el7_1.x86_64 118/157
Verifying : 32:bind-license-9.9.4-29.el7.noarch 119/157
Verifying : bash-4.2.46-19.el7.x86_64 120/157
Verifying : 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 121/157
Verifying : selinux-policy-targeted-3.13.1-60.el7.noarch 122/157
Verifying : cyrus-sasl-lib-2.1.26-19.2.el7.x86_64 123/157
Verifying : pcre-8.32-15.el7.x86_64 124/157
Verifying : chkconfig-1.3.61-5.el7.x86_64 125/157
Verifying : logrotate-3.8.6-6.el7.x86_64 126/157
Verifying : nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 127/157
Verifying : initscripts-9.49.30-1.el7.x86_64 128/157
Verifying : polkit-0.112-5.el7.x86_64 129/157
Verifying : dracut-network-033-359.el7.x86_64 130/157
Verifying : 1:openssl-libs-1.0.1e-42.el7.9.x86_64 131/157
Verifying : 32:bind-libs-lite-9.9.4-29.el7.x86_64 132/157
Verifying : 2:microcode_ctl-2.1-12.el7.x86_64 133/157
Verifying : 7:device-mapper-1.02.107-5.el7.x86_64 134/157
Verifying : libxml2-2.9.1-5.el7_1.2.x86_64 135/157
Verifying : libblkid-2.23.2-26.el7.x86_64 136/157
Verifying : coreutils-8.22-15.el7.x86_64 137/157
Verifying : nss-3.19.1-18.el7.x86_64 138/157
Verifying : tuned-2.5.1-4.el7.noarch 139/157
Verifying : kmod-20-5.el7.x86_64 140/157
Verifying : libndp-1.2-4.el7.x86_64 141/157
Verifying : openssh-clients-6.6.1p1-22.el7.x86_64 142/157
Verifying : kmod-libs-20-5.el7.x86_64 143/157
Verifying : systemd-219-19.el7.x86_64 144/157
Verifying : dracut-033-359.el7.x86_64 145/157
Verifying : 7:device-mapper-libs-1.02.107-5.el7.x86_64 146/157
Verifying : krb5-libs-1.13.2-10.el7.x86_64 147/157
Verifying : avahi-libs-0.6.31-15.el7.x86_64 148/157
Verifying : 1:NetworkManager-libnm-1.0.6-27.el7.x86_64 149/157
Verifying : openssh-server-6.6.1p1-22.el7.x86_64 150/157
Verifying : tzdata-2015g-1.el7.noarch 151/157
Verifying : openldap-2.4.40-8.el7.x86_64 152/157
Verifying : libssh2-1.4.3-10.el7.x86_64 153/157
Verifying : 1:NetworkManager-wifi-1.0.6-27.el7.x86_64 154/157
Verifying : nspr-4.10.8-2.el7_1.x86_64 155/157
Verifying : 1:openssl-1.0.1e-42.el7.9.x86_64 156/157
Verifying : python-perf-3.10.0-327.el7.x86_64 157/157

Installed:
kernel.x86_64 0:3.10.0-327.36.2.el7

Updated:
NetworkManager.x86_64 1:1.0.6-31.el7_2
NetworkManager-libnm.x86_64 1:1.0.6-31.el7_2
NetworkManager-tui.x86_64 1:1.0.6-31.el7_2
NetworkManager-wifi.x86_64 1:1.0.6-31.el7_2
avahi-autoipd.x86_64 0:0.6.31-15.el7_2.1
avahi-libs.x86_64 0:0.6.31-15.el7_2.1
bash.x86_64 0:4.2.46-20.el7_2
bind-libs-lite.x86_64 32:9.9.4-29.el7_2.4
bind-license.noarch 32:9.9.4-29.el7_2.4
ca-certificates.noarch 0:2015.2.6-70.1.el7_2
chkconfig.x86_64 0:1.3.61-5.el7_2.1
coreutils.x86_64 0:8.22-15.el7_2.1
cronie.x86_64 0:1.4.11-14.el7_2.1
cronie-anacron.x86_64 0:1.4.11-14.el7_2.1
cyrus-sasl-lib.x86_64 0:2.1.26-20.el7_2
dbus.x86_64 1:1.6.12-14.el7_2
dbus-libs.x86_64 1:1.6.12-14.el7_2
device-mapper.x86_64 7:1.02.107-5.el7_2.5
device-mapper-libs.x86_64 7:1.02.107-5.el7_2.5
dnsmasq.x86_64 0:2.66-14.el7_2.1
dracut.x86_64 0:033-360.el7_2.1
dracut-config-rescue.x86_64 0:033-360.el7_2.1
dracut-network.x86_64 0:033-360.el7_2.1
glibc.x86_64 0:2.17-106.el7_2.8
glibc-common.x86_64 0:2.17-106.el7_2.8
gmp.x86_64 1:6.0.0-12.el7_1
gnutls.x86_64 0:3.3.8-14.el7_2
grub2.x86_64 1:2.02-0.34.el7.centos
grub2-tools.x86_64 1:2.02-0.34.el7.centos
initscripts.x86_64 0:9.49.30-1.el7_2.3
iproute.x86_64 0:3.10.0-54.el7_2.1
kernel-tools.x86_64 0:3.10.0-327.36.2.el7
kernel-tools-libs.x86_64 0:3.10.0-327.36.2.el7
kexec-tools.x86_64 0:2.0.7-38.el7_2.1
kmod.x86_64 0:20-8.el7_2
kmod-libs.x86_64 0:20-8.el7_2
kpartx.x86_64 0:0.4.9-85.el7_2.6
krb5-libs.x86_64 0:1.13.2-12.el7_2
libblkid.x86_64 0:2.23.2-26.el7_2.3
libgudev1.x86_64 0:219-19.el7_2.13
libmount.x86_64 0:2.23.2-26.el7_2.3
libndp.x86_64 0:1.2-6.el7_2
libssh2.x86_64 0:1.4.3-10.el7_2.1
libuuid.x86_64 0:2.23.2-26.el7_2.3
libxml2.x86_64 0:2.9.1-6.el7_2.3
logrotate.x86_64 0:3.8.6-7.el7_2
mariadb-libs.x86_64 1:5.5.50-1.el7_2
microcode_ctl.x86_64 2:2.1-12.el7_2.1
nspr.x86_64 0:4.11.0-1.el7_2
nss.x86_64 0:3.21.0-9.el7_2
nss-softokn.x86_64 0:3.16.2.3-14.2.el7_2
nss-softokn-freebl.x86_64 0:3.16.2.3-14.2.el7_2
nss-sysinit.x86_64 0:3.21.0-9.el7_2
nss-tools.x86_64 0:3.21.0-9.el7_2
nss-util.x86_64 0:3.21.0-2.2.el7_2
numactl-libs.x86_64 0:2.0.9-6.el7_2
openldap.x86_64 0:2.4.40-9.el7_2
openssh.x86_64 0:6.6.1p1-25.el7_2
openssh-clients.x86_64 0:6.6.1p1-25.el7_2
openssh-server.x86_64 0:6.6.1p1-25.el7_2
openssl.x86_64 1:1.0.1e-51.el7_2.7
openssl-libs.x86_64 1:1.0.1e-51.el7_2.7
pcre.x86_64 0:8.32-15.el7_2.1
polkit.x86_64 0:0.112-7.el7_2
procps-ng.x86_64 0:3.3.10-5.el7_2
python.x86_64 0:2.7.5-39.el7_2
python-libs.x86_64 0:2.7.5-39.el7_2
python-perf.x86_64 0:3.10.0-327.36.2.el7
python-pyudev.noarch 0:0.15-7.el7_2.1
selinux-policy.noarch 0:3.13.1-60.el7_2.9
selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.9
sudo.x86_64 0:1.8.6p7-17.el7_2
systemd.x86_64 0:219-19.el7_2.13
systemd-libs.x86_64 0:219-19.el7_2.13
systemd-sysv.x86_64 0:219-19.el7_2.13
tuned.noarch 0:2.5.1-4.el7_2.6
tzdata.noarch 0:2016g-2.el7
util-linux.x86_64 0:2.23.2-26.el7_2.3

Complete!

[root@localhost sysconfig]# yum install nano


Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package nano.x86_64 0:2.3.1-10.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
==
Package Arch Version Repository Size
========================================================================================
==
Installing:
nano x86_64 2.3.1-10.el7 base 440 k

Transaction Summary
========================================================================================
==
Install 1 Package

Total download size: 440 k


Installed size: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
nano-2.3.1-10.el7.x86_64.rpm | 440 kB 00:00:14
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : nano-2.3.1-10.el7.x86_64 1/1
Verifying : nano-2.3.1-10.el7.x86_64 1/1

Installed:
nano.x86_64 0:2.3.1-10.el7

Complete!
[root@localhost sysconfig]# yum install ftp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package ftp.x86_64 0:0.17-66.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
==
Package Arch Version Repository Size
========================================================================================
==
Installing:
ftp x86_64 0.17-66.el7 base 61 k

Transaction Summary
========================================================================================
==
Install 1 Package

Total download size: 61 k


Installed size: 96 k
Is this ok [y/d/N]: y
Downloading packages:
ftp-0.17-66.el7.x86_64.rpm | 61 kB 00:00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : ftp-0.17-66.el7.x86_64 1/1
Verifying : ftp-0.17-66.el7.x86_64 1/1

Installed:
ftp.x86_64 0:0.17-66.el7

Complete!
[root@localhost sysconfig]# yum install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-10.el7_0.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
==
Package Arch Version Repository Size
========================================================================================
==
Installing:
wget x86_64 1.14-10.el7_0.1 base 545 k

Transaction Summary
========================================================================================
==
Install 1 Package

Total download size: 545 k


Installed size: 2.0 M
Is this ok [y/d/N]: y
Downloading packages:
wget-1.14-10.el7_0.1.x86_64.rpm | 545 kB 00:00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : wget-1.14-10.el7_0.1.x86_64 1/1
Verifying : wget-1.14-10.el7_0.1.x86_64 1/1
Installed:
wget.x86_64 0:1.14-10.el7_0.1

Complete!
[root@localhost ~]# yum -y install httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-40.el7.centos.4 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-40.el7.centos.4 for package: httpd-2.4.6-
40.el7.centos.4.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
---> Package httpd-tools.x86_64 0:2.4.6-40.el7.centos.4 will be installed
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
httpd x86_64 2.4.6-40.el7.centos.4 updates 2.7 M
Installing for dependencies:
apr x86_64 1.4.8-3.el7 base 103 k
apr-util x86_64 1.5.2-6.el7 base 92 k
httpd-tools x86_64 2.4.6-40.el7.centos.4 updates 83 k
mailcap noarch 2.1.41-2.el7 base 31 k

Transaction Summary
================================================================================
Install 1 Package (+4 Dependent packages)

Total download size: 3.0 M


Installed size: 10 M
Downloading packages:
(1/5): apr-1.4.8-3.el7.x86_64.rpm | 103 kB 00:02
(2/5): mailcap-2.1.41-2.el7.noarch.rpm | 31 kB 00:02
(3/5): httpd-tools-2.4.6-40.el7.centos.4.x86_64.rpm | 83 kB 00:07
(4/5): apr-util-1.5.2-6.el7.x86_64.rpm | 92 kB 00:07
(5/5): httpd-2.4.6-40.el7.centos.4.x86_64.rpm | 2.7 MB 00:19
--------------------------------------------------------------------------------
Total 153 kB/s | 3.0 MB 00:20
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apr-1.4.8-3.el7.x86_64 1/5
Installing : apr-util-1.5.2-6.el7.x86_64 2/5
Installing : httpd-tools-2.4.6-40.el7.centos.4.x86_64 3/5
Installing : mailcap-2.1.41-2.el7.noarch 4/5
Installing : httpd-2.4.6-40.el7.centos.4.x86_64 5/5
Verifying : httpd-tools-2.4.6-40.el7.centos.4.x86_64 1/5
Verifying : apr-1.4.8-3.el7.x86_64 2/5
Verifying : mailcap-2.1.41-2.el7.noarch 3/5
Verifying : httpd-2.4.6-40.el7.centos.4.x86_64 4/5
Verifying : apr-util-1.5.2-6.el7.x86_64 5/5

Installed:
httpd.x86_64 0:2.4.6-40.el7.centos.4

Dependency Installed:
apr.x86_64 0:1.4.8-3.el7 apr-util.x86_64 0:1.5.2-6.el7
httpd-tools.x86_64 0:2.4.6-40.el7.centos.4 mailcap.noarch 0:2.1.41-2.el7

Complete!
[root@localhost ~]# yum -y install yum-plugin-priorities
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-priorities.noarch 0:1.1.31-34.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
yum-plugin-priorities noarch 1.1.31-34.el7 base 25 k

Transaction Summary
================================================================================
Install 1 Package

Total download size: 25 k


Installed size: 28 k
Downloading packages:
yum-plugin-priorities-1.1.31-34.el7.noarch.rpm | 25 kB 00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : yum-plugin-priorities-1.1.31-34.el7.noarch 1/1
Verifying : yum-plugin-priorities-1.1.31-34.el7.noarch 1/1

Installed:
yum-plugin-priorities.noarch 0:1.1.31-34.el7

Complete!
[root@localhost ~]# sed -i -e "s/\]$/\]\npriority=1/g" /etc/yum.repos.d/CentOS-Base.repo
[root@localhost ~]# yum -y install epel-release
Loaded plugins: fastestmirror, priorities
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* extras: mirror.centos.org
* updates: mirror.centos.org
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-6 extras 14 k

Transaction Summary
================================================================================
Install 1 Package

Total download size: 14 k


Installed size: 24 k
Downloading packages:
epel-release-7-6.noarch.rpm | 14 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-6.noarch 1/1
Verifying : epel-release-7-6.noarch 1/1

Installed:
epel-release.noarch 0:7-6

Complete!
[root@localhost ~]# wget https://centos7.iuscommunity.org/ius-release.rpm
--2016-10-11 21:50:07-- https://centos7.iuscommunity.org/ius-release.rpm
Resolving centos7.iuscommunity.org (centos7.iuscommunity.org)... 162.242.221.48,
2001:4802:7801:102:be76:4eff:fe21:14aa
Connecting to centos7.iuscommunity.org (centos7.iuscommunity.org)|162.242.221.48 |:443...
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release -1.0-
14.ius.centos7.noarch.rpm [following]
--2016-10-11 21:50:07-- https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86 _64/ius-
release-1.0-14.ius.centos7.noarch.rpm
Resolving dl.iuscommunity.org (dl.iuscommunity.org)... 146.20.25.47, 2001:4802:7
901:0:4ccc:ff11:0:a
Connecting to dl.iuscommunity.org (dl.iuscommunity.org)|146.20.25.47|:443... con nected.
HTTP request sent, awaiting response... 200 OK
Length: 8264 (8.1K) [application/x-redhat-package-manager]
Saving to: ‘ius-release.rpm’

100%[======================================>] 8,264 --.-K/s in 0s

2016-10-11 21:50:08 (158 MB/s) - ‘ius-release.rpm’ saved [8264/8264]

[root@localhost ~]# sudo rpm -Uvh ius-release*.rpm


warning: ius-release.rpm: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:ius-release-1.0-14.ius.centos7 ################################# [100%]
[root@localhost ~]# ^C
[root@localhost ~]# yum install http://rpms.remirepo.net/enterprise/remi-release -7.rpm
Loaded plugins: fastestmirror, priorities
remi-release-7.rpm | 8.0 kB 00:00
Examining /var/tmp/yum-root-P_7LUx/remi-release-7.rpm: remi-release-7.2-1.el7.re mi.noarch
Marking /var/tmp/yum-root-P_7LUx/remi-release-7.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package remi-release.noarch 0:7.2-1.el7.remi will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
remi-release noarch 7.2-1.el7.remi /remi-release-7 6.3 k

Transaction Summary
================================================================================
Install 1 Package

Total size: 6.3 k


Installed size: 6.3 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : remi-release-7.2-1.el7.remi.noarch 1/1
Verifying : remi-release-7.2-1.el7.remi.noarch 1/1

Installed:
remi-release.noarch 0:7.2-1.el7.remi

Complete!
[root@localhost ~]# yum install yum-utils
Loaded plugins: fastestmirror, priorities
epel/x86_64/metalink | 3.7 kB 00:00:00
epel | 4.3 kB 00:00:00
ius | 2.3 kB 00:00:00
remi-safe | 2.9 kB 00:00:00
(1/5): ius/x86_64/primary_db | 153 kB 00:00:01
(2/5): epel/x86_64/group_gz | 170 kB 00:00:02
(3/5): remi-safe/primary_db | 528 kB 00:00:08
(4/5): epel/x86_64/updateinfo | 625 kB 00:00:10
(5/5): epel/x86_64/primary_db | 4.3 MB 00:00:20
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* epel: mirror.uta.edu.ec
* extras: mirror.centos.org
* ius: mirror.team-cymru.org
* remi-safe: ca.mirror.babylon.network
* updates: mirror.centos.org
126 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-34.el7 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-34.el7.noarch
--> Running transaction check
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
--> Running transaction check
---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
yum-utils noarch 1.1.31-34.el7 base 113 k
Installing for dependencies:
python-chardet noarch 2.2.1-1.el7_1 base 227 k
python-kitchen noarch 1.1.1-5.el7 base 267 k

Transaction Summary
========================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 607 k
Installed size: 2.8 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): yum-utils-1.1.31-34.el7.noarch.rpm | 113 kB 00:00:02
(2/3): python-chardet-2.2.1-1.el7_1.noarch.rpm | 227 kB 00:00:02
(3/3): python-kitchen-1.1.1-5.el7.noarch.rpm | 267 kB 00:00:14
------------------------------------------------------------------------------------------------
Total 41 kB/s | 607 kB 00:00:14
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-chardet-2.2.1-1.el7_1.noarch 1/3
Installing : python-kitchen-1.1.1-5.el7.noarch 2/3
Installing : yum-utils-1.1.31-34.el7.noarch 3/3
Verifying : python-kitchen-1.1.1-5.el7.noarch 1/3
Verifying : yum-utils-1.1.31-34.el7.noarch 2/3
Verifying : python-chardet-2.2.1-1.el7_1.noarch 3/3

Installed:
yum-utils.noarch 0:1.1.31-34.el7

Dependency Installed:
python-chardet.noarch 0:2.2.1-1.el7_1 python-kitchen.noarch 0:1.1.1-5.el7

Complete!
[root@localhost ~]#