Third Party YUM Repos with Centmin Mod

Centmin Mod 1.2.3-eva2000.08+ and higher installs and configures several third party YUM repositories to fullfill various YUM and source compilation dependencies and to make available YUM packages that CentOS base default repositories don't have. These Yum repositories are managed via Yum Priorities Plugin.

Centmin Mod uses MariaDB MySQL server by default and uses the official MariaDB Yum repo for both CentOS 6 and CentOS 7 (disable CentOS 7 MariaDB in favour of official repo for latest versions).

For example CentOS 7 has MariaDB 5.5.41 default from base repo. However, Centmin Mod installs MariaDB 10.0.x latest via official MariaDB Yum repo.

yum list MariaDB* -q   
Installed Packages
MariaDB-client.x86_64                          10.0.20-1.el7.centos          @mariadb
MariaDB-common.x86_64                          10.0.20-1.el7.centos          @mariadb
MariaDB-compat.x86_64                          10.0.20-1.el7.centos          @mariadb
MariaDB-devel.x86_64                           10.0.20-1.el7.centos          @mariadb
MariaDB-server.x86_64                          10.0.20-1.el7.centos          @mariadb
MariaDB-shared.x86_64                          10.0.20-1.el7.centos          @mariadb
Available Packages
MariaDB-Galera-test.x86_64                     10.0.20-1.el7.centos          mariadb 
MariaDB-connect-engine.x86_64                  10.0.20-1.el7.centos          mariadb 
MariaDB-oqgraph-engine.x86_64                  10.0.20-1.el7.centos          mariadb 
MariaDB-test.x86_64                            10.0.20-1.el7.centos          mariadb 
mariadb.x86_64                                 1:5.5.41-2.el7_0              base    
mariadb-bench.x86_64                           1:5.5.41-2.el7_0              base    
mariadb-devel.x86_64                           1:5.5.41-2.el7_0              base    
mariadb-embedded.x86_64                        1:5.5.41-2.el7_0              base    
mariadb-embedded-devel.x86_64                  1:5.5.41-2.el7_0              base    
mariadb-libs.x86_64                            1:5.5.41-2.el7_0              base    
mariadb-server.x86_64                          1:5.5.41-2.el7_0              base    
mariadb-test.x86_64                            1:5.5.41-2.el7_0              base    

These third party Yum repos include:

List of repo files at /etc/yum.repos.d/. There's a backup of each repo file with .OLD extension prior to implementing Yum priorities.

ls -lah /etc/yum.repos.d/ | grep -v .OLD
total 136K
drwxr-xr-x  2 root root 4.0K Jul 16 19:10 .
drwxr-xr-x 70 root root 4.0K Jul 16 19:10 ..
-rw-r--r--  1 root root 1.7K Jul 16 19:00 CentOS-Base.repo
-rw-r--r--  1 root root 1.3K Jul 16 19:00 CentOS-CR.repo
-rw-r--r--  1 root root  649 Mar 31 22:27 CentOS-Debuginfo.repo
-rw-r--r--  1 root root 1.3K Mar 31 22:27 CentOS-Sources.repo
-rw-r--r--  1 root root 1002 Mar 31 22:27 CentOS-Vault.repo
-rw-r--r--  1 root root  290 Mar 31 22:27 CentOS-fasttrack.repo
-rwxr-xr-x  1 root root  832 Jul 16 19:01 atrpms-bleeding.repo
-rwxr-xr-x  1 root root  823 Jul 16 19:01 atrpms-testing.repo
-rwxr-xr-x  1 root root  772 Jul 16 19:01 atrpms.repo
-rw-r--r--  1 root root 1.2K Jul 16 19:10 axivo.repo
-rw-r--r--  1 root root 1.1K Nov 25  2014 epel-testing.repo
-rw-r--r--  1 root root 1007 Jul 16 19:01 epel.repo
-rw-r--r--  1 root root  169 Jul 16 19:05 mariadb.repo
-rw-r--r--  1 root root  739 Jun 12  2014 mirrors-rpmforge
-rw-r--r--  1 root root  717 Jun 12  2014 mirrors-rpmforge-extras
-rw-r--r--  1 root root  728 Jun 12  2014 mirrors-rpmforge-testing
-rw-r--r--  1 root root 2.6K Jul 16 19:01 percona-release.repo
-rw-r--r--  1 root root 2.3K Jul 16 19:01 remi.repo
-rw-r--r--  1 root root 1.2K Jul 16 19:01 rpmforge.repo
-rw-r--r--  1 root root  223 Jul 16 19:01 varnish.repo
-rw-r--r--  1 root root  219 May 15 04:19 vz.repo

Majority of the third party Yum repositories are disabled by default and would require enabling by passing the following Yum options on the Yum command line where REPONAME is replaced with the name of the repository (it's repo id found in yum repolist all output below):

--enablerepo=REPONAME --disableplugin=priorities

Examples:

Installing Redis 3.0.2 from Remi Yum repo.

yum list redis --enablerepo=remi --disableplugin=priorities -q
Available Packages
redis.x86_64                                               3.0.2-1.el7.remi                                                remi

yum -y install redis --enablerepo=remi --disableplugin=priorities

Installing Varnish Cache 3.0.7 from Varnish Cache official repo

yum list varnish --enablerepo=varnish-3.0 --disableplugin=priorities -q           
Available Packages
varnish.x86_64                                             3.0.7-1.el6                                              varnish-3.0

yum -y install varnish --enablerepo=varnish-3.0 --disableplugin=priorities

Installing Percona Xtrabackup from Percona Yum repo

yum list percona-xtrabackup --enablerepo=percona-release-x86_64 --disableplugin=priorities -q
Available Packages
percona-xtrabackup.x86_64                                  2.2.11-1.el7                                  percona-release-x86_64

yum -y install percona-xtrabackup --enablerepo=percona-release-x86_64 --disableplugin=priorities

You can also take advantage of CentOS-Fasttrack repository for more recent YUM package updates. CentOS-Fasttrack repo is disabled by default.

CentOS-Fasttrack - Bugfix and enhancement updates are issued from time to time between update sets that may be rolled into the next update set by the upstream provider. The repository config files are included in the centos-release RPM for CentOS-5, CentOS-6, and CentOS-7 .. but are disabled by default. If you want to opt in and enable Fasttrack, you can edit the file /etc/yum.repos.d/CentOS-fasttrack.repo and set the Enabled=0 to Enabled=1 to turn on the fasttrack repo for all active versions of CentOS.

So to enable use the following optons on Yum command line:

--enablerepo=fasttrack --disableplugin=priorities

Example listing available updates with Fasttrack repo enabled.

yum list updates -q --enablerepo=fasttrack --disableplugin=priorities
Updated Packages
bind-libs.x86_64                    32:9.9.4-18.el7_1.3     updates  
bind-license.noarch                 32:9.9.4-18.el7_1.3     updates  
bind-utils.x86_64                   32:9.9.4-18.el7_1.3     updates  
cronie.x86_64                       1.4.11-14.el7           fasttrack
cronie-anacron.x86_64               1.4.11-14.el7           fasttrack
gzip.x86_64                         1.5-8.el7               fasttrack
libmemcached.x86_64                 1.0.16-5.el7            fasttrack
libmemcached-devel.x86_64           1.0.16-5.el7            fasttrack
perl-Date-Calc.noarch               6.3-14.el7              fasttrack

You can also tag on the --enablrepo= line centosplus, remi-test and epel-testing repositories to enable those to see if there's available updates:

yum list updates -q --enablerepo=fasttrack,centosplus,epel-testing,remi-test --disableplugin=priorities
Updated Packages
bind-libs.x86_64                    32:9.9.4-18.el7_1.3         updates  
bind-license.noarch                 32:9.9.4-18.el7_1.3         updates  
bind-utils.x86_64                   32:9.9.4-18.el7_1.3         updates  
cronie.x86_64                       1.4.11-14.el7               fasttrack
cronie-anacron.x86_64               1.4.11-14.el7               fasttrack
gzip.x86_64                         1.5-8.el7                   fasttrack
libmemcached.x86_64                 1.0.16-5.el7                fasttrack
libmemcached-devel.x86_64           1.0.16-5.el7                fasttrack
perl-Date-Calc.noarch               6.3-14.el7                  fasttrack 
postfix.x86_64                      2:2.10.1-6.0.1.el7.centos   centosplus
postfix-perl-scripts.x86_64         2:2.10.1-6.0.1.el7.centos   centosplus

yum list updates -q --enablerepo=fasttrack,centosplus,epel-testing,remi-test --disableplugin=priorities

Full list of Yum repositories available in Centmin Mod 1.2.3-eva2000.08+ and higher

yum repolist all -q
repo id                              repo name                                                               status
C7.0.1406-base/x86_64                CentOS-7.0.1406 - Base                                                  disabled
C7.0.1406-centosplus/x86_64          CentOS-7.0.1406 - CentOSPlus                                            disabled
C7.0.1406-extras/x86_64              CentOS-7.0.1406 - Extras                                                disabled
C7.0.1406-fasttrack/x86_64           CentOS-7.0.1406 - CentOSPlus                                            disabled
C7.0.1406-updates/x86_64             CentOS-7.0.1406 - Updates                                               disabled
atrpms/7/x86_64                      Red Hat Enterprise Linux 7 - x86_64 - ATrpms                            disabled
atrpms-bleeding/7/x86_64             Red Hat Enterprise Linux 7 - x86_64 - ATrpms bleeding                   disabled
atrpms-bleeding-debuginfo/7/x86_64   Red Hat Enterprise Linux 7 - x86_64 - ATrpms bleeding - Debug           disabled
atrpms-bleeding-source/7/x86_64      Red Hat Enterprise Linux 7 - x86_64 - ATrpms bleeding - Source          disabled
atrpms-debuginfo/7/x86_64            Red Hat Enterprise Linux 7 - x86_64 - ATrpms - Debug                    disabled
atrpms-source/7/x86_64               Red Hat Enterprise Linux 7 - x86_64 - ATrpms - Source                   disabled
atrpms-testing/7/x86_64              Red Hat Enterprise Linux 7 - x86_64 - ATrpms testing                    disabled
atrpms-testing-debuginfo/7/x86_64    Red Hat Enterprise Linux 7 - x86_64 - ATrpms testing - Debug            disabled
atrpms-testing-source/7/x86_64       Red Hat Enterprise Linux 7 - x86_64 - ATrpms testing - Source           disabled
axivo/7/x86_64                       AXIVO Packages for Enterprise Linux 7 - x86_64                          disabled
axivoclient/7/x86_64                 AXIVO Client Packages for Enterprise Linux 7 - x86_64                   disabled
axivoplus/7/x86_64                   AXIVO Plus Packages for Enterprise Linux 7 - x86_64                     disabled
!base/7/x86_64                       CentOS-7 - Base                                                         enabled: 6710+1942
base-debuginfo/x86_64                CentOS-7 - Debuginfo                                                    disabled
base-source/7                        CentOS-7 - Base Sources                                                 disabled
centosplus/7/x86_64                  CentOS-7 - Plus                                                         disabled
centosplus-source/7                  CentOS-7 - Plus Sources                                                 disabled
cr/7/x86_64                          CentOS-7 - cr                                                           disabled
!epel/x86_64                         Extra Packages for Enterprise Linux 7 - x86_64                          enabled:  7585+683
epel-debuginfo/x86_64                Extra Packages for Enterprise Linux 7 - x86_64 - Debug                  disabled
epel-source/x86_64                   Extra Packages for Enterprise Linux 7 - x86_64 - Source                 disabled
epel-testing/x86_64                  Extra Packages for Enterprise Linux 7 - Testing - x86_64                disabled
epel-testing-debuginfo/x86_64        Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug        disabled
epel-testing-source/x86_64           Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source       disabled
!extras/7/x86_64                     CentOS-7 - Extras                                                       enabled:       149
extras-source/7                      CentOS-7 - Extras Sources                                               disabled
fasttrack/7/x86_64                   CentOS-7 - fasttrack                                                    disabled
!mariadb                             MariaDB                                                                 enabled:      10+4
percona-experimental-noarch/7        Percona-Experimental YUM repository - noarch                            disabled
percona-experimental-source/7        Percona-Experimental YUM repository - Source packages                   disabled
percona-experimental-x86_64/7/x86_64 Percona-Experimental YUM repository - x86_64                            disabled
percona-release-noarch/7             Percona-Release YUM repository - noarch                                 disabled
percona-release-source/7             Percona-Release YUM repository - Source packages                        disabled
percona-release-x86_64/7/x86_64      Percona-Release YUM repository - x86_64                                 disabled
percona-testing-noarch/7             Percona-Testing YUM repository - noarch                                 disabled
percona-testing-source/7             Percona-Testing YUM repository - Source packages                        disabled
percona-testing-x86_64/7/x86_64      Percona-Testing YUM repository - x86_64                                 disabled
!remi                                Les RPM de remi pour Enterprise Linux 7 - x86_64                        disabled
remi-debuginfo/x86_64                Les RPM de remi pour Enterprise Linux 7 - x86_64 - debuginfo            disabled
remi-php55                           Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - x86_64             disabled
remi-php55-debuginfo/x86_64          Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - x86_64 - debuginfo disabled
remi-php56                           Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - x86_64             disabled
remi-php56-debuginfo/x86_64          Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - x86_64 - debuginfo disabled
remi-test                            Les RPM de remi en test pour Enterprise Linux 7 - x86_64                disabled
remi-test-debuginfo/x86_64           Les RPM de remi en test pour Enterprise Linux 7 - x86_64 - debuginfo    disabled
!rpmforge                            RHEL 7 - RPMforge.net - dag                                             enabled:    164+81
rpmforge-extras                      RHEL 7 - RPMforge.net - extras                                          disabled
rpmforge-testing                     RHEL 7 - RPMforge.net - testing                                         disabled
!updates/7/x86_64                    CentOS-7 - Updates                                                      enabled:   735+209
updates-source/7                     CentOS-7 - Updates Sources                                              disabled
varnish-3.0/x86_64                   Varnish 3.0 for Enterprise Linux el6 - x86_64                           disabled
!vz-base                             vz-base                                                                 enabled:         1
!vz-updates                          vz-updates                                                              enabled:         0