红果园之恋

倚天照海花无数,流水高山心自知。

电子类资料网站(不断增添中)

Linux操作系统安装VMwareTools详解

ming posted @ 2010年11月02日 02:57 in 未分类 , 1484 阅读

        前言:本文以我使用的Linux发行版CentOS为例说明。

        启动软件VMware,运行CentOS5.4,用非管理员帐户登陆。登陆后退出虚拟机,回到Windows系统,在VMware的工具栏中选“VM”的子菜单“Install VMware Tools”会弹出对话框,点击“确认”安装。这时CentOS系统里面会挂载一个镜像“VMware Tools”,打开镜像,一般里面会有三个文件“manifest.txt”、“VMwareTools-x.x.x-xxxxxx.tar.gz(VMware的版本不同,x不同)”和“VMwareTools-x.x.x-xxxxxx.rpm”三个文件。有的版本只有前两个文件,没有“VMwareTools-x.x.x-xxxxxx.rpm”文件。移动鼠标进入CentOS。
        如果VMware Tools镜像中有“VMwareTools-x.x.x-xxxxxx.rpm”文件可直接点击运行此文件进行安装。如果没有“VMwareTools-x.x.x-xxxxxx.rpm”文件的话要对“VMwareTools-x.x.x-xxxxxx.tar.gz”文件进行编译安装。

       下面详细说一下对“VMwareTools-x.x.x-xxxxxx.tar.gz”文件进行编译安装的过程。
       1.  将“VMwareTools-x.x.x-xxxxxx.tar.gz”文件拷贝到桌面,也可以是选择别的文件夹,这里以Desktop文件夹为例说明;
       2.  运行终端进行如下操作:[new@localhost ~]$ su root,输入root密码,进入[root@localhost new]#(new为CentOS的非管理员帐户);
       3.  进入文件夹
[root@localhost new]#  cd /home/new/Desktop/
[root@localhost Dessktop]#

       4.  查看文件及解压缩
[root@localhost Desktop]# ls
VMwareTools-x.x.x-xxxxxx.tar.gz
[root@localhost Desktop]# tar zxvf VMwareTools-x.x.x-xxxxxx.tar.gz

       5.  进入解压出来的目录
[root@localhost Desktop]#cd vmware-tools-distrib
[root@localhost vmware-tools-distrib ]#

      6.  执行安装
[root@localhost vmware-tools-distrib ]# ./vmware-install.pl

      这样就可以安装了,然后看着提示一路YES回车就可以了。
      安装完以后还有选择一下显示器分辨率,找到适合你的显示器分辨率尺寸的分辨率序号,填写一下即可。最后就是Reboot。
      重启虚拟机后,就可以实现鼠标在Linux系统与Windows系统之间来回切换及文件共享了。

NCERT Physics Questi 说:
2022年9月24日 03:14

Candidates of Class 10th Grade who practiced to get top scores can download the NCERT STD-10 Physics Sample Paper 2023 to know the new exam scheme or question pattern, Candidates of Class 10th Grade who practiced to get top scores can download the NCERT STD-10 Physics Sample Paper 2023 to know the new exam scheme or question pattern, NCERT Physics Question Paper Class 10 and the subject experts have introduced Physic question Bank that’s cover various topics the subject effectively through tailor-made questions to make studies effective and time-efficient.and the subject experts have introduced Physic question Bank that’s cover various topics the subject effectively through tailor-made questions to make studies effective and time-efficient.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter