CentOS5.3 & ZendServer CE
来源:互联网 发布:多重网络怎么解决方法 编辑:程序博客网 时间:2024/05/21 09:59
Installing RPMforge
RPMforge is a collaboration of Dag, Dries, and other packagers. They provide over 4000 packages for CentOS, including mplayer, xmms-mp3, and other popular media tools. It is not part of RedHat or CentOS but is designed to work with these major distributions.
Packages are supplied in RPM format and in most cases are ready to use. Beware that some packages are newer than the official CentOS version and you should not blindly install those packages. Before you replace a CentOS package you should make sure that will not break anything important. In most cases you can revert any mistakes but it is best to avoid the mess.
Contents
- CentOS 5
- Priorities
- RPMforge
- CentOS 4
- Priorities
- RPMforge
- CentOS 3
- CentOS 2
1. CentOS 5
You should make sure that you have Priorities installed.
1.1. Priorities
yum-priorities is available in the CentOS 5 repositories:
yum install yum-priorities
Plugins are enabled in CentOS 5 by default.
Make sure that yum-priorities is enabled by editing the /etc/yum/pluginconf.d/priorities.conf file, and ensuring that it contains the following lines:
[main]enabled=1
Edit the .repo files in /etc/yum.repos.d/ and set up priorities by adding the line:
priority=N
to a repository entry, where N is an integer number from 1 to 99.
The recommended settings are:
[base], [addons], [updates], [extras] ... priority=1 [centosplus],[contrib] ... priority=2Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)
1.2. RPMforge
Download the rpmforge-release package. Choose one of the two links below, depending on your architecture. If you are unsure of which one to use you can check your architecture with the command uname -i
i386 http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
x86_64 http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
(You can find a complete list of rpmforge-release package packages at http://dag.wieers.com/packages/rpmforge-release/ but it is recommended that you use one of the two listed above).
Install DAG's GPG key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Verify the package you have downloaded
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the package and trust Dag then it should be safe.
Install the package
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
This will add a yum repository config file and import the appropriate GPG keys. At this point, you can set the priority of the RPMForge repository, and also of the CentOS repositories if you have not done so yet.
Test with this command:
yum check-update
It should output these two lines:
Loading "priorities" plugin...76 packages excluded due to repository priority protections
The number above may differ, but there should be several packages shown as being excluded.
If so then it looks like things are working so try installing something like this
yum install mplayer
2. CentOS 4
You should make sure that you have Priorities installed.
2.1. Priorities
Assuming you have centos extras enabled in your current yum configuration
yum install yum-plugin-priorities
Make sure that yum-priorities is enabled by editing the /etc/yum/pluginconf.d/priorities.conf file, and ensuring that it contains the following lines:
[main]enabled=1
Edit the .repo files in /etc/yum.repos.d/ and set up priorities by adding the line:
priority=N
to a repository entry, where N is an integer number from 1 to 99.
The recommended settings are:
[base], [addons], [update], [extras] ... priority=1 [centosplus],[contrib] ... priority=2Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)
2.2. RPMforge
Download the rpmforge-release package. Choose one of the two links below, depending on your architecture. If you are unsure of which one to use you can check your architecture with the command uname -i
i386 http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
x86_64 http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
(You can find a complete list of rpmforge-release package packages at http://dag.wieers.com/packages/rpmforge-release/ but it is recommended that you use one of the two listed above).
Install DAG's GPG key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Verify the package you have downloaded
rpm -K rpmforge-release-0.3.6-1.el4.rf.*.rpm
Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the package and trust Dag then it should be safe.
Install the package
rpm -i rpmforge-release-0.3.6-1.el4.rf.*.rpm
This will add a yum repository config file and import the appropriate GPG keys. At this point, you can set the priority of the RPMForge repository, and also of the CentOS repositories if you have not done so yet.
Test with this command:
yum check-update
It should output these two lines:
Loading "priorities" plugin...76 packages excluded due to repository priority protections
If so then it looks like things are working so try installing something like this
yum install mplayer
Hope that it works
3. CentOS 3
Does not have protectbase.
Does have a rpmforge-release package but you don't want it enabled
4. CentOS 2
Does anyone still use that
- CentOS5.3 & ZendServer CE
- 在ubuntu linux 系统安装zendserver ce mysql和phpmyadmin
- 安装配置Zend Server CE 后的无法登陆ZendServer的问题
- centos5.3
- CentOS5.3源配置
- centos5.3 安装 kscope
- 设置Centos5.3防火墙
- centos5.3升级oracle
- centos5.3服务简介
- centOS5.3常见问题解决方法
- centos5.3安装gcc
- ZendServer Internal Server Error 500
- 【ZendServer】Internal Server Error解决办法
- 现用centos5.3yum源
- 定制CentOS5.3系统安装盘
- Centos5.3 oracle11g 安装笔记
- 设置centos5.3 yum源
- centos5.3 启动服务设置
- 开放平台的开发者如何赚钱
- HMM学习最佳范例四:隐马尔科夫模型
- 如何成功应聘ERP实施顾问
- 有关自定义属性的相关详解 !
- c#获得Mobile操作系统版本信息
- CentOS5.3 & ZendServer CE
- apache http server 和tomcat整合
- 如何上picasa相册(无需代理软件)
- 继承(一)
- 多数据库系统分析
- TCP/IP详解学习笔记(1)-基本概念
- Java在Web开发语言上败给了PHP
- HMM学习最佳范例五:前向算法1
- VS2005 增加命名空间