[Turn] Detailed Tutorial VM-Tools installation for Linux systems in VMware

Installation VM-Tools for Linux systems in VMware Detailed Tutorial

If you plan to install Linux, then in a VMware virtual machine, then after completing the installation of Linux, if not installed Vm-Tools, then part of the function will not be fully applied, such as graphics, mouse can not be between the virtual and physical machines freedom of movement and other functions. After following are installed in Fedora 16 without installing Vmware-Tools of the error will be reported as follows:

Linux-Fedora 16-2011-11-11-18-23-08

If the windows are installed in the system, then the Vmware, Vmware-Tools installation is very simple, as long as the implementation of the following steps:

image

After allowing the system to open the CD-ROM to run the installer under my computer to automatically install Vmware-Tools, or the installation CD-ROM runs automatically. After the installation reboot the system. But after installing Linux installed in Vmware Vmware-Tools like windows so simple. Let us work together to learn about installing it in Vmware Vmware-Tools in!

Install Linux in a virtual machine, "to install Vmware-Tools" click under "Virtual Machine" menu

image

The following menu appears, prove Vmware-Tools CD-ROM image file into the drive device already.

Linux-Fedora 16-2011-11-11-18-23-47

In the Linux system, if you want to use a hard disk, a floppy disk or MO disk and other storage devices, you must be mount (Mount). After completion of the storage device mount, it may be used as a directory to access the. Mount point must be an existing directory, mount no ability to create a mount point.

Open the Linux Terminal Terminal Device Emulator

Linux-Fedora 16-2011-11-11-18-50-35

Linux-Fedora 16-2011-11-11-18-51-03

First introduce the following use to install the tool when several directories:

/ Mnt mount directory used to temporarily mount other file systems, hardware devices

Temporary file / tmp directory for temporary files, used to store produce different degrees of execution

/ Sudo execute commands as the system administrator

Enter the following command in the terminal:

mkdir /mnt/cdrom‘在/mmt目录下创建名位cdrom 的目录。如果你像我一样不是以root用户登录的话会提示权限不够导致不能够在该路径下创建目录,所以必须切换到root用户,如下输入su -表示切换到root用户,提示输入密码,输入安装系统时设置的root密码。回车后即可切换到root用户了。

Linux-Fedora 16-2011-11-11-18-54-16

再执行上面创建目录的命令,此时可以顺利执行了。

Linux-Fedora 16-2011-11-11-18-58-58

mount /dev/cdrom /mnt/cdrom ’把/dev/cdrom光驱挂载到我们上面创建的目录中。

Linux-Fedora 16-2011-11-11-19-01-41

cd /mnt/cdrom ‘却换到挂载的目录。

Linux-Fedora 16-2011-11-11-19-02-52

ls ’列出该目录下中的文件.

Linux-Fedora 16-2011-11-11-19-03-33

cp VMwareTools-6.0.2-59824.tar.gz /tmp ‘复制目录下的VMwareTools-6.0.2-59824.tar.gz安装文件到/tmp目录

Linux-Fedora 16-2011-11-11-19-05-03

cd /tmp ‘却换到/tmp文件夹

Linux-Fedora 16-2011-11-11-19-05-52

ls /tmp

列出该目录是否从/mnt/cdrom中成功拷贝VMwareTools-6.0.2-59824.tar.gz文件。

Linux-Fedora 16-2011-11-11-19-07-30

tar –zxvf VMwareTools-6.0.2-59824.tar.gz ’解压VMwareTools-6.0.2-59824.tar.gz安装文件。

 Linux-Fedora 16-2011-11-11-19-10-53

sudo vmware-tools-distrib/ vmware-install.pl‘安装vmware-tools,也就是我们的主要目的。

Linux-Fedora 16-2011-11-11-19-12-54

一路enter

Linux-Fedora 16-2011-11-11-19-13-36

Linux-Fedora 16-2011-11-11-19-14-45

注意:当屏幕上出现 what is the location of "gcc"program on your machine 时请按回车,之后又会提示:Would you like to change it 注意这项, 你选 NO ,输入的方法就是 空格+no 然后它就不会出现那个what is the location of "gcc"program on your machine,然后出现警告,不管他,直接全部回车按下去。

 

image

最后会出现如下界面

image

完成vmare tools的安装!reboot重新启动系统。不再出现显示的报错了!

Linux-Fedora 16-2011-11-11-19-42-52

在VMware中为Linux系统安装VM-Tools的详解教程

如果大家打算在VMware虚拟机中安装Linux的话,那么在完成Linux的安装后,如果没有安装Vm-Tools的话,一部分功能将得不到充分应用,如显卡,鼠标不能够在虚拟机和物理机间自由移动等功能。以下是安装完Fedora 16后在没有安装Vmware-Tools的情况下会报如下错误:

Linux-Fedora 16-2011-11-11-18-23-08

如果是在Vmware中安装windows系统的话,安装Vmware-Tools是非常简单的,只要按如下照步骤执行:

image

让后打开系统的我的电脑下的光驱运行安装程序即可自动安装Vmware-Tools,或者光驱自动运行进行安装。安装后重启系统即可。但是在Vmware中安装Linux后安装Vmware-Tools不像windows那么简单。下面就让我们一起来学习一下在Vmware中安装Vmware-Tools吧!

在安装Linux的虚拟机中,单击“虚拟机”菜单下的“安装Vmware-Tools”

image

出现以下菜单,证明Vmware-Tools的光驱镜像文件已经放入光驱设备。

Linux-Fedora 16-2011-11-11-18-23-47

在Linux系统中,如果要使用硬盘、光盘、软盘或MO盘等存储设备,必须先进行挂装(Mount)。当存储设备挂装完成之后,就可以将其作为一个目录来进行访问了。挂载点必须是一个已经存在的目录,mount没有创建挂载点的功能。

打开Linux的Terminal终端设备仿真程序

Linux-Fedora 16-2011-11-11-18-50-35

Linux-Fedora 16-2011-11-11-18-51-03

先介绍一下下面安装该工具时要用到的几个目录:

/mnt 挂载目录,用来临时挂载别的文件系统,硬件设备

/tmp临时文件的目录,用来存放不同程度执行时产生的临时文件

/sudo 以系统管理者的身份执行命令

在终端中输入以下命令:

mkdir /mnt/cdrom‘在/mmt目录下创建名位cdrom 的目录。如果你像我一样不是以root用户登录的话会提示权限不够导致不能够在该路径下创建目录,所以必须切换到root用户,如下输入su -表示切换到root用户,提示输入密码,输入安装系统时设置的root密码。回车后即可切换到root用户了。

Linux-Fedora 16-2011-11-11-18-54-16

再执行上面创建目录的命令,此时可以顺利执行了。

Linux-Fedora 16-2011-11-11-18-58-58

mount /dev/cdrom /mnt/cdrom ’把/dev/cdrom光驱挂载到我们上面创建的目录中。

Linux-Fedora 16-2011-11-11-19-01-41

cd /mnt/cdrom ‘却换到挂载的目录。

Linux-Fedora 16-2011-11-11-19-02-52

ls ’列出该目录下中的文件.

Linux-Fedora 16-2011-11-11-19-03-33

cp VMwareTools-6.0.2-59824.tar.gz /tmp ‘复制目录下的VMwareTools-6.0.2-59824.tar.gz安装文件到/tmp目录

Linux-Fedora 16-2011-11-11-19-05-03

cd /tmp ‘却换到/tmp文件夹

Linux-Fedora 16-2011-11-11-19-05-52

ls /tmp

列出该目录是否从/mnt/cdrom中成功拷贝VMwareTools-6.0.2-59824.tar.gz文件。

Linux-Fedora 16-2011-11-11-19-07-30

tar –zxvf VMwareTools-6.0.2-59824.tar.gz ’解压VMwareTools-6.0.2-59824.tar.gz安装文件。

 Linux-Fedora 16-2011-11-11-19-10-53

sudo vmware-tools-distrib/ vmware-install.pl‘安装vmware-tools,也就是我们的主要目的。

Linux-Fedora 16-2011-11-11-19-12-54

一路enter

Linux-Fedora 16-2011-11-11-19-13-36

Linux-Fedora 16-2011-11-11-19-14-45

注意:当屏幕上出现 what is the location of "gcc"program on your machine 时请按回车,之后又会提示:Would you like to change it 注意这项, 你选 NO ,输入的方法就是 空格+no 然后它就不会出现那个what is the location of "gcc"program on your machine,然后出现警告,不管他,直接全部回车按下去。

 

image

最后会出现如下界面

image

Vmare tools to complete the installation! reboot reboot the system. Error display no longer there!

Linux-Fedora 16-2011-11-11-19-42-52

Guess you like

Origin www.cnblogs.com/wwtao/p/11514671.html