在默认情况下,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.
1 | 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/