如何为centos配置一个新的yum
2013-11-24 16:38
176 查看
比如说当我需要安装cloudstack for kvm的agent的时候,为了方便起见,我首先使用yum的方式进行安装,
“yum install cloudstack-agent”
可以执行这个命名时,任何rpm包都没有安装,并出现下面的提示信息
“
...
Error:Noting to do
”
此时再看cloudstack的官方网站上提供了配置yum的方式来安装cloudstack-agent,于是根据官方网站的说明采取如下的步骤进行配置
“4.4.2. RPM package repository
There is a RPM package repository for CloudStack so you can easily install on RHEL based platforms.
If you're using an RPM-based system, you'll want to add the Yum repository so that you can install CloudStack with Yum.
Yum repository information is found under /etc/yum.repos.d. You'll see several .repo files in this directory, each one denoting a specific repository.
To add the CloudStack repository, create /etc/yum.repos.d/cloudstack.repo and insert the following information.
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.2/
enabled=1
gpgcheck=0”
“yum install cloudstack-agent”
可以执行这个命名时,任何rpm包都没有安装,并出现下面的提示信息
“
...
Error:Noting to do
”
此时再看cloudstack的官方网站上提供了配置yum的方式来安装cloudstack-agent,于是根据官方网站的说明采取如下的步骤进行配置
“4.4.2. RPM package repository
There is a RPM package repository for CloudStack so you can easily install on RHEL based platforms.
If you're using an RPM-based system, you'll want to add the Yum repository so that you can install CloudStack with Yum.
Yum repository information is found under /etc/yum.repos.d. You'll see several .repo files in this directory, each one denoting a specific repository.
To add the CloudStack repository, create /etc/yum.repos.d/cloudstack.repo and insert the following information.
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.2/
enabled=1
gpgcheck=0”
相关文章推荐
- 如何为centos配置一个新的yum
- CenOS中yum可用的一个配置CentOS-Base.repo
- CentOS如何配置国内YUM源
- Centos 6.5 本地YUM配置
- 如何配置一个简易的密码弹出框Dialog
- centos 5.5如何配置vnc,开启linux远程桌面教程
- APACHE中如何在同一个IP配置两个虚拟主机
- 如何制作一个通用的多系统安装U盘五(制作主配置文件)
- Redhat 6 配置CentOS yum source
- 将CentOS配置成本地yum
- 从Github上Clone一个AndroidStudio工程如何配置环境
- centos 5 yum安装与配置vsFTPd FTP服务器
- 如何配置一个 Docker Swarm 原生集群
- CentOS下如何给Apache添加配置mod_evasive模块防止CC攻击
- win7+iss7的配置,以及如何在本地IIS服务器挂载一个网站
- 【OpenWRT之旅】如何自定义一个配置文件的设置界面
- CentOS 6.0如何安装配置Kamailio
- 如何给火狐浏览器新建一个新的用户配置文件
- linux,Centos 6.3 yum安装Nginx+php+Mysql,配置防火墙,开启,关闭端口命令
- CentOS下通过yum安装svn及配置