如何给Xenserver安装gcc和make

这几天折腾虚拟机,原本以为还容易,跟windows一样,现在才知道麻烦还真不少,主要是用了新系统,和一些旧系统上的操作不一样。好多东西都找不到教材了,唉! 最主要的还是,买的机器驱动不行,不的不折腾啊!

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

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

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

发表评论

电子邮件地址不会被公开。 必填项已用*标注

你需要开启你的javascript才可以哦!