2012년 9월 9일 일요일

yum: repositore 추가 하기


Webtatic Yum Repository

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:
Installation

To set up the repository, install the webtatic-release RPM:

CentOS/RHEL 6:




rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm

CentOS/RHEL 5:
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

Additional information
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.

CentOS/RHEL 6 usage
As of el6, Webtatic avoids using the same package names as the base repositories that CentOS/RHEL 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

CentOS/RHEL 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








  
http://www.webtatic.com/projects/yum-repository/

댓글 없음:

댓글 쓰기