This post covers the steps on how to setup additional yum repository using Webtatic. Webtatic yum repository is a repository containing updated web-related packages for CentOS and Redhat Enterprise Linux (RHEL). Webtatic 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. It’s also serve as an additional installation option for some of Webtatic’s projects.
RHEL 6/ CentOS 6 for i386
RHEL 6/ CentOS 6 for x86_64
1.Download the webtatic-release package :
[root@centos63 ~]# wget http://repo.webtatic.com/yum/el6/i386/webtatic-release-6-2.noarch.rpm
Example :
[root@centos63 ~]# wget http://repo.webtatic.com/yum/el6/i386/webtatic-release-6-2.noarch.rpm --2012-08-13 23:42:08-- http://repo.webtatic.com/yum/el6/i386/webtatic-release-6-2.noarch.rpm Resolving repo.webtatic.com... 184.22.117.192 Connecting to repo.webtatic.com|184.22.117.192|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11576 (11K) [application/x-redhat-package-manager] Saving to: âwebtatic-release-6-2.noarch.rpmâ 100%[==========================================================>] 11,576 15.7K/s in 0.7s 2012-08-13 23:42:10 (15.7 KB/s) - âwebtatic-release-6-2.noarch.rpmâ
2. Download or directly import webtatic-andy GPG key :
[root@centos63 ~]# rpm --import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
3. Do verification on the webtatic-release package that you have downloaded :
[root@centos63 ~]# rpm -K webtatic-release-6-2.noarch.rpm webtatic-release-6-2.noarch.rpm: (sha1) dsa sha1 md5 gpg OK
4. Install Webtatic Repository :
[root@centos63 ~]# rpm -Uvh webtatic-release-6-2.noarch.rpm Preparing... ########################################### [100%] 1:webtatic-release ########################################### [100%]
5. How you can use Webtatic repository to install, update the packages :
[root@centos63 ~]# yum --enablerepo=webtatic install [rpm package]
Examples :
[root@centos63 ~]# yum --enablerepo=webtatic install postfix -y
1 Comment
An old post, but still relevant.
Please NEVER download, or rpm/yum any link using http. It is bad form from a security perspective. If we are talking about production servers, then all yum/rpm commands should use full path, and all URLs should be https.