记录日常工作关于系统运维,虚拟化云计算,数据库,网络安全等各方面问题。

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




转载请标明出处【如何使用yum给Xen Server装上GCC 】。

《www.micoder.cc》 虚拟化云计算,系统运维,安全技术服务.

网站已经关闭评论