如何使用yum给Xen Server装上GCC

来源:互联网 发布:mac废纸篓在哪 编辑:程序博客网 时间:2024/05/29 04:26

在默认情况下,Xen Server不允许利用yum自动安装GCC,这让我们在服务器上安装、编译一些程序的时候很麻烦!有没什么方法能安装?

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.

yum --enablerepo=base install gcc

This will enable the base repository and pull the required packages for gcc.

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