最近需要把miriad安装在Linux上遇到的一些问题(miriad不是重点)

来源:互联网 发布:matrix矩阵计算器安卓 编辑:程序博客网 时间:2024/04/30 01:33

1、首先解决Vmware9.0上安装Redhat 9.0的问题,这个很容易安装,无压力可以参考下我写的这个教程

http://blog.csdn.net/meng4411yu/article/details/8692526,大体上都差不多,就是有三个iso文件需要你安装的时候,需要你connected。

2、Redhat 9.0在Vmware上的连网问题,这个可以参考以下两个文档,这个也很容易解决

http://wenku.baidu.com/view/f973cc0f6c85ec3a87c2c540.html;

http://wenku.baidu.com/view/34ffb6eb6294dd88d0d26b29.html;

3、yum的安装问题,因为yum好像是在Redhat 5以后才自带,所以我这个人很懒,没去下载更新的redhat,电脑有redhat 9(再说Redhat 9.0完全免费,这个是重点),所以将就着用,结果yum没有,崩溃。

yum的安装,我选择的是安装了一个低版本的http://download.csdn.net/detail/meng4411yu/6008197(yum-2.0.4-1.rh.fr.i386.rpm),然后再yum update下,因为我直接下载http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz最新版本,然后安装上去出错,估计是redhat版本太低的原因,所以我就先安装低版本,再升级,经测试无误。

4、vmware tools的安装问题

①之前直接VM——Install VMware Tools——安装上去,出现一个

 

Searching for GCC...  The path "" is not valid path to the gcc binary.  Would you like to change it? [yes] yes  What is the location of the gcc program on your machine?


 

问题。这个问题可能是因为没有安装gcc或者是简体中文版不能识别出gcc。

(1)那么解决这个问题首先就是要确认你安装了GCC没有:

rpm -qa gcc

若安装过了,则显示gcc的版本信息,如果没有,则会显示package gcc is not installed,那么就安装gcc吧:

yum -y install gcc

自动安装完成,若没有yum,可以参考gcc的iso安装http://hi.baidu.com/dsfire/item/25083a3827c840fb96f88d47;

那么接下来就可以在

What is the location of the gcc program on your machine?

后面加上:

/usr/bin/gcc

就OK,不能解决那么就选择(2);

(2)要是还没用,那就直接选择no。

②出现下面这个问题就需要安装kernel;

Searching for a valid kernel header path...The path "" is not valid.Would you like to change it? [yes]What is the location of the directory of C header files that match your runningkernel?

Redhat 9对应的kernelhttp://download.csdn.net/detail/meng4411yu/6008821。

rpm -ivh kernel-2.4.20-8.i686.rpm

安装上之后重启。

注:如果你在Debian系列(Debian、Ubuntu等)的系统上遇到这个问题可以参考http://benohead.com/vmware-the-path-usrbingcc-is-not-valid-path-to-the-gcc-binary/

 

接下来,继续安装miriad。

原创粉丝点击