XenServer yum

首先清除一点,XenServer使用的是CentOS系统。在默认情况下,XenServer不允许用户使用yum命令进行安装软件,这让我们在服务器上安装、编译一些程序的时候很麻烦!有没什么方法能安装?

By default CentOS base repositories won’t be configured on XenServer. To compile and install nagios/bacula or any other app on server you might end up searching for compiler tools like gcc etc.

Here is a simple way to enable base repo and install gcc on your XenServer.

view plain copy
yum –enablerepo=base install gcc
其实也很简单,多加了一个参数“–enablerepo=base”。

这样的话,就可以在XenServer安装任何自己想要的软件的,当然首先是欲要安装的软件包在CentOS的软件库中要存在,呵呵…

from:http://www.fuwuqiweihu.com/xen-server-install-gcc/

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *