Fedora14 VMware Tools安装详细步骤
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Fedora14 VMware Tools安装详细步骤
1、看看是否安装上了perl,没有的话要先安装,否则提示命令找不到。
[root@rd01 ~]# which perl
进行安装
[root@rd01 ~]# yum install perl
2、安装kernel-devel 套件编译時候c路径才找得到
[root@rd01 ~]# yum install kernel-devel
3、检查kernel跟kernel-devel的版本号,要一样才可以。
[root@rd01 ~]# uname –r #获取kernel版本号
[root@localhost ~]# rpm -q kernel-devel #获取kernel-deve版本号
4、通过升级使版本号一致。
[root@rd01 ~]# yum -y upgrade kernel
[root@rd01 ~]# yum -y upgrade kernel-devel
5、重启后,确认版本号一致。
6、进行VMware Tools的安装
①在虚拟机上挂载VMware Tools的镜像。
VMware菜单栏中,点击“VM→Settings…”,在Virtual Machine Settings 对话框中,选择“Hardware”选项卡,点击“CD/VCD(IDE)”,在“Connection”框中,选择“Use ISO image file:”,添加linux.iso 的路径,(我的是D:\Program Files\VMware\VMware Workstation\linux.iso),设置完毕,点击OK退出。②安装文件复制
VMware菜单栏中,点击“VM→Install VMware Tools…”,虚拟机自动加载镜像,fedora下弹出一个VMtools窗口,将里面的VMwareTools-*****.tar.gz 复制到root/tmp/目录下。直接图形界面下复制。
③命令行完成安装
以root身份登录,运行如下命令。
[root@rd01 ~]# cd /tmp
[root@rd01 ~]# tar -zxpf VMwareTools-*****.tar.gz
[root@rd01 ~]# cd vmware-tools-distrib
[root@rd01 vmware-tools-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
# 安装过程的画面,全部使用默认值,一路Enter 就好!
In which directory do you want to install the binary files?
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want? [yes]
…………#中间过程略去
You must restart your X session before any mouse or graphics changes take effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an XFree86 session.
To use the vmxnet driver, restart networking using the following commands: /etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start