VMware Linux using Virtual optical drive installation VMware Tools detailed __linux

Source: Internet
Author: User
Tags documentation mkdir

I use the Linux system is fedora, just learning Linux, a lot of things will not, last night because you need to copy or pull files between the host System window 7 and the virtual system fedora, you need to install VMware Tools on the virtual machine system fedora, The detailed installation process is documented as follows:

Make sure that the virtual machine is powered on and that the virtual operating system is running correctly before installing.

1. On the VMware Workstation menu on the host system, select Vm->install VMware Tools. If earlier versions of VMware Tools have been installed, the VM menu displays update VMware Tools, If the current version of VMware Tools has been installed, reinstall VMware Tools is displayed under the menu.
2. Log on to the system as Administrator (root) on the virtual operating system.
3. If your Linux configuration does not mount CD-ROMs automatically, mount the virtual CD-ROM image of VMware Tools.

A. If necessary, create a directory/mnt/cdrom directory:

Mkdir/mnt/cdrom

B. Mount CD-ROM drive

Some Linux systems are configured with different driver names and organization directories, and if your CD-ROM drive is not/dev/cdrom or your mount point is not/mnt/cdrom, modify the corresponding command according to your configuration environment.

Mount/dev/cdrom/mnt/cdrom

4. Change of working directory (e.g./tmp)

Cd/tmp

5. If there is a previous installation file, delete the previous Vmware-tools-distrib directory.

The location of the directory is related to the location where you previously placed the installation files, and usually he is placed in/tmp/vmware-tools-distrib.

6. Unpack and install the program

Tar zxpf/mnt/cdrom/vmwaretools-8.4.4-301548.tar.gz

The value <x.x.x> is the product version, the number and <yyyy> is the product package release number.

7. If necessary, Umount CD-ROM mirroring.

If the Linux system configuration is to mount the CD-ROM automatically, there is no need to umount CD-ROM mirroring.

Umount/dev/cdrom

8. Run VMware Tools installation files.

CD Vmware-tools-distrib

./vmware-install.pl

Prompt to install Wizard information on the command line, press ENTER to accept the default value. The configuration file is automatically run when the installation is complete vmware-config-tools.pl

9. If you are updating VMware Tools, you will need to restart the virtual operating system or manually reload the PVSCSI, vmxnet, and Vmxnet3 Linux kernel modules. If the kernel module is reloaded, then the network of the virtual machine is interrupted.

10. Restart the network by running the following command:

 /etc/init.d/network Stop rmmod pcnet32 rmmod vmxnet modprobe start

  11. Log out of the administrator account, that is, root. Exit 12.   (optional) access to the system graphics environment 13.   Run the VMware User process in the terminal (terminal), enter the following command: Vmware-user the following is my own installation process and command (not in explanation): [Lxiron@fedoraos ~]$ su Root password:  [Root@fedoraos lxiron]# mkdir/mnt/cdrom [Root@fedoraos lxiron]# CD/[Root@fedoraos/]# pwd/[Root@Fedor AOS/]# ls bin   Dev  home  lost+found  mnt  proc  sbin     SRV  tmp  va R Boot  etc  lib   media       opt  root  selinux  sys  usr [Root@fedora OS/]# CD mnt [Root@fedoraos mnt]# cd CDROM [Root@fedoraos cdrom]# CD/[Root@fedoraos/]# Mount/dev/cdrom/mnt/cdrom MoU Nt:block Device/dev/sr0 is write-protected, mounting read-only [Root@fedoraos/]# cd/tmp [Root@FedoraOS tmp]# tar ZXPF /mnt/cdrom/vmwaretools-8.4.4-301548.tar.gz [Root@fedoraos tmp]# umount/dev/cdrom [Root@FedoraOS tmp]# CD Vmware-tools-distrib [Root@fedoraos vmware-tools-distrib]#./vmware-install.pl Creating a new VMware tools instalThe LER database using the TAR4 format. Installing VMware Tools. In which directory does you want to install the binary files?  [/usr/bin]  are the directory that What 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 does you want to install the daemon files?  in [/usr/sbin]  which Ctory do your want to install the library files?  [/usr/lib/vmware-tools]  the path "/usr/lib/vmware-tools" does Not exist currently. This is is  going to create it, including needed parent directories. Is this what for you want? [yes]  in which directory does you want to install the documentation files?  T He path, "yes" is a relative path. Please enter a absolute path. In which directory does you want to install the documentation files?  [/usr/share/doc/vmware-tools]  the path/US r/share/doc/vmware-Tools "does not exist currently. This program  was going to create it, including needed parent directories. Is this what you  want? [yes]  the installation of VMware Tools 8.4.4 build-301548 for Linux completed  successfully. Can decide to remove this software from your system at any  time by invoking the following command: "/USR/BIN/VMW are-uninstall-tools.pl ". Before running VMware Tools for the "I", you need to configure it by  invoking the following command: "/usr/bi n/vmware-config-tools.pl ". Do your want  this program to invoke the command for your now? [yes]  initializing ... Making sure services for VMware Tools are stopped. Found a compatible pre-built module for VMMEMCTL.  installing it ... Found a compatible pre-built module for Vmhgfs.  installing it ... Found a compatible pre-built module for vmxnet.  installing it ... Found a compatible pre-built module for Vmblock.  installing it ... Found a compatible Pre-builT module for VMCI.  installing it ... Found a compatible pre-built module for Vsock.  installing it ... The module Vmxnet3 has already been installed on this system by another  Installer or package and won't be modifie D By this installer.  use the flag --clobber-kernel-modules=vmxnet3 to override. The module PVSCSI has already been installed on this system by another  Installer or package and won't be modified By this installer.  use the flag --clobber-kernel-modules=pvscsi to override. Disabling timer-based audio scheduling in PulseAudio. Detected Xorg X Server version 1.8.0. Distribution provided drivers for Xorg X server are used. Skipping x configuration because X drivers are not included. Creating a new INITRD boot image for the kernel. Vmware-tools start/running The configuration of VMware tools 8.4.4 build-301548 for Linux for this running kernel D successfully. You must restart your X sessions before any mouse or graphics chaNges take  effect. can now run VMware Tools by invoking '/usr/bin/vmware-toolbox-cmd ' from the ' command line ' or by invoking '/USR/BIN/VMWA Re-toolbox "from the command line  during a session of X server. To enable advanced X features (e.g., guest resolution fit, drag and drop, and  file and text copy/paste), you NE Ed to did one (or more) of the following:1. Manually start/usr/bin/vmware-user 2. Log out and log back into the your desktop session; And, 3. Restart your X session. To use the Vmxnet driver, restart networking using the following commands: /etc/init.d/network stop Rmmod pcnet32 RM MoD vmxnet modprobe vmxnet/etc/init.d/network start Enjoy,--the VMware team Found VMware Tools CDROM Mounted Mware Tools. ejecting device /dev/sr0 ... [Root@fedoraos vmware-tools-distrib]#/etc/init.d/network stop shutting down interface eth0:  device state:3 (Disco nnected)                      &NBSp                                   &NB Sp [ ok  ] Shutting down loopback interface:  error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg file '/ Etc/sysconfig/network-scripts/ifcfg-lo ' Unknown Error org.freedesktop.NetworkManagerSettings.InvalidConnection: ifcfg file '/etc/sysconfig/network-scripts/ifcfg-lo ' unknown Error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg file '/etc/sysconfig/network-scripts/ifcfg-lo ' Unknown Error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg file '/etc/sysconfig/network-scripts/ Ifcfg-lo ' unknown                                                            [ ok   ] [Root@fedoraos vmware-tools-distrib]# rmmod vmxnet [Root@fedoraos vmware-tools-distrib]# modprobe vmxnet [Root@fedoraos vmware-tools-distrib]#/etc/init.d/network start bringing up loopback interface: &NB Sp Error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg file '/etc/sysconfig/network-scripts/ Ifcfg-lo ' unknown Error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg file '/etc/sysconfig/ Network-scripts/ifcfg-lo ' unknown Error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg file '/etc/ Sysconfig/network-scripts/ifcfg-lo ' Unknown Error org.freedesktop.NetworkManagerSettings.InvalidConnection:ifcfg File '/etc/sysconfig/network-scripts/ifcfg-lo ' unknown                  &NBS P                                   &NB Sp     [ ok &nbsp] Bringing up interface eth0:  active connection state:activating Active connection p Ath:/ORG/FREEDESKTOP/NETWORKMANAGER/ACTIVECONNECTION/1 STAte:activated Connection activated                        &NBS P                                   [& Nbsp;ok &nbsp] [Root@fedoraos vmware-tools-distrib]# lxiron Command not found. Su Lxiron [Root@fedoraos vmware-tools-distrib]# su Lxiron [Lxiron@fedoraos vmware-tools-distrib]$ 
This installation step is my translation and VMware Workstation help manual, reprint please indicate my copyright information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.