为了从主机向虚拟机中直接拖入文件(比较方便),安装Vmware Tools ,首先启动ubuntu系统,选择Vmware选项栏中的VM下拉菜单中的Install Vmware Tools,虚拟系统中会出现一个光盘,将文件VMwareTools压缩包解压,在终端中运行
./vmware-install.pl
即可,一路回车下去,看到提示“Enjoy, — the VMware team”就安装完毕!
————————————————————————————————————————————————
在ubuntu11.04中安装会出现以下问题:
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
What is the location of the directory of C header files ........
到这一步卡住,网上寻找解决办法:
在终端下执行以下命令:
(注意这里版本号可能有所不同,可以在终端中执行uname -r查看当前内核版本)
重新安装即可。