The Webtatic Yum repository is a CentOS/RHEL repository containing updated web-related packages. Its main goals are:
- to provide CentOS/RHEL administrators with the latest stable minor releases of web development/hosting software, which are not provided in CentOS/RHEL distribution minor releases.
- to serve as an additional installation option for some of Webtatic’s projects.
All packages are signed using GnuPG, and are verified using the Webtatic GPG key:
To set up the repository, install the webtatic-release RPM:
Webtatic EL6 for CentOS/RHEL 6:
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Webtatic EL5.1 for CentOS/RHEL 5:
rpm -Uvh http://repo.webtatic.com/yum/el5/latest.rpm
Webtatic 5 for CentOS/RHEL 5:
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
The RPMs are built from the also provided SRPMs. The Mock build system is used to build both i386 and x86_64 RPMs which satisfy the base, updates and extra repositories of CentOS, which are set up in the base installation of CentOS.
Webtatic EL5.1/EL6 usage
Webtatic avoids using the same package names as the base repositories that CentOS/RHEL 5/6 uses, so that packages are not implicitly automatically upgraded without consent. This also means that the repository can be run enabled=1.
To install packages you just need to use the correct package name as described in the packages wiki:
yum install package-name
To install packages from the archive repository, you need to specify the version of the package you want and enable the archive repository:
yum install package-name.version --enablerepo=webtatic-archive
Webtatic 5 usage
It is recommended to use the “enabled=0″ parameter in the webtatic.repo file (which is provided in this state wherever it can be downloaded/installed on this site). This can be used to limit which packages you would like to update, as you may prefer to keep some packages at their CentOS-provided versions.
Packages can then be installed using the flag –enablerepo=webtatic to explicitly enable the repository for only that command, e.g.:
yum install --enablerepo=webtatic package-name