Linux Install VM Tools

Source: Internet
Author: User
Tags gz file tmp file knowledge base

Linux VMware Tools Installation steps the simple Linux VMware Tools installation estimate is a bit difficult, and I've seen many versions of Linux installing VMware Tools on the Web, all in the same way. But in the installation process, still encountered some problems. But eventually it was done. I am running VMware Workstation 8.0.4, Os:centos 6.01.    In the CD-ROM virtual drive, select Use ISO image to locate the VMware TOOLS installation files, such as C:\program\VMware\VMware Workstation\programs\linux.iso Of course this ISO is the Linux.iso in the directory where you install VMware Workstation, not your Linux OS image file. VMware tools is typically in this file. 2. Enter Linux,root account 3 as Administrator. To exit to Windows, in the Virtual Machine menu bar, click Virtual Machines, install the VMWARE TOOLS submenu, the dialog box pops up and click "Confirm" to install 4. Mount Optical drive: mount-t iso9660/dev/cdrom/mnt load CDROM device, this is if you enter the/MNT directory, you will find a file: Vmwaretools-8.8.4-743747.tar.gz this is dead vmware Tools Linux Package, also we just used Winiso open Liunx.iso some VMS on the estimated execution mount/dev/cdrom/mnt/cdrom if the following error is indicated, the mount point does not exist.  , [[email protected]/] #mount/dev/cdrom/mnt/cdrom mount:mount point/mnt/cdrom dose not exist please execute this command directly: mount/dev/cdrom/opt cd/opt or you should be able to use auto mount to go directly to CD/MISC/CD5. Copy this file to the Temp folder CP/MNT/MVMWARETOOLS-8.8.4-743747.TAR.GZ/TMP6. Uninstall CDROM, execute umount/dev/cdrom7. Go to the TMP file directory and unzip this package cd/tmp tar zxf VMWare-linux-tools.tar.gz Unzip the default to the Vmware-tools-distrib directory: At this point you can use Ls-ll to view the files under folder 8. Go to Vmware-tools-distrib and install VMware Tools. /vmware-install.pl perform the installation, during the installation he will be step-by-step with a problem response, and in this process you encounter a direct input yes that shows [Yes],[no],[yes][no] later, and then enter. Other questions regardless of [] inside is what, direct enter is good, do not enter. 9. The installation is completed in about 5 minutes. Perform init 6 restart OK. Linux VMware Tools Installation Step graphic version, you can refer to the following operating procedures are as follows: [[email protected] ~]# CD/[[email protected]/]# lsbin Dev Home lost+ Found misc net proc sbin srv Tftpboot Usrboot etc Lib Media mnt opt root selinux sys tmp VAR[[EMAIL&NB Sp;protected]/]# cd/media[[email protected] media]# lsvmware tools[[email protected] media]# CD VMware\ Tools/[[email protected] VMware tools]# lsmanifest.txt vmwaretools-8.1.3-203739.tar.gz[[email protected] VMware tools]# CP vmwaretools-8.1.3-203739.tar.gz/tmp[[email protected] VMware tools]# cd/tmp[[email prote                              CTED] tmp]# lsgconfd-root SCIM-HELPER-MANAGER-SOCKET-ROOTKEYRING-LBBFVV Scim-panEl-socket:0-rootmapping-root Scim-socket-frontend-rootorbit-root [email protected]:0.0 [email protected]:0.0 vmwaretools-8.1.3-203739.tar.gz[[email protected] tmp ]# tar-zxf vmwaretools-8.1.3-203739.tar.gz [[email protected] tmp]# Lsgconfd-root SC                                IM-PANEL-SOCKET:0-ROOTKEYRING-LBBFVV Scim-socket-frontend-rootmapping-root Ssh-fmnvlj2751orbit-root [email protected]:0.0 [Email protected]os t:0.0 vmware-tools-distribscim-helper-manager-socket-root[[email protected] tmp]# CD vmware-tools-distrib/[[ Email protected] vmware-tools-distrib]# lsbin doc etc FILES INSTALL installer Lib vmware-install.pl[[email  Protected] vmware-tools-distrib]#./vmware-install.pl Creating A new VMware Tools installer database using the TAR4 format . Installing VMware tools.in which DIrectory does want to install the binary files? [/usr/bin] Yes the path "yes" is a relative path. Please enter an absolute path. In which directory does want to install the binary files? [/usr/bin] What's the directory that contains the init directories (rc0.d/to rc6.d/)? [/ETC/RC.D] What's the directory that contains the init scripts? [/ETC/RC.D/INIT.D] In which directory does want to install the daemon files? [/usr/sbin] In which directory does want to install the library files? [/usr/lib/vmware-tools] The path "/usr/lib/vmware-tools" does not exist currently. This are going to create it, including needed parent directories. What are you want? [Yes] Yes in which directory does want to install the documentation files? [/usr/share/doc/vmware-tools] The path "yes" is a relative path. Please enter an absolute path. In which directory does want to install the documentation files? [/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" does not existCurrently. This are going to create it, including needed parent directories. What are you want? [Yes] The installation of VMware Tools 8.1.3 build-203739 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-un install-tools.pl ". Before running VMware Tools for the first time, your need to configure it by invoking the following command: "/usr/bin/vmwa re-config-tools.pl ". Do you want the "to invoke the" command for? [Yes] Stopping VMware Tools Services in the virtual Machine:guest operating system daemon: [OK]virtual Printing daemon: [OK]unmounting HGFS shares: [OK]guest file System driver: [Determines]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 ... [Experimental] The VMware FileSystem Sync Driver (Vmsync) is a new feature thatcreates backups of virtual machines. Refer to the VMware knowledge Base for more details on this capability. Does wish to enable this feature? [No] Found a compatible pre-built module for VMCI. Installing it ... Found a compatible pre-built module for Vsock. Installing it ... Found a compatible pre-built module for Vmxnet3. Installing it ... Found a compatible pre-built module for PVSCSI. Installing it ... Detected X.Org version 7.1.Host resolution detected as "1440 X 900". Choose one of the following display sizes that X would start with:[1] "320x200" [2] "X-ray" [3] "400x300" [4] "512x38 4 "[5]" 640x400 "[6]" 640x480 "[7]" 720x480 "[8]" 800x480 "[9]" 854x480 "[Ten]" 720x576 "[One]" 800x600 "[[]" 1024x768 "[13]" 1280x720 "[+]" 1280x768 "[[]" 1152x864 "[+]" 1280x800 "[17]<" 1366x768 "Please enter a number between1 and 17:[17] X Window System version 7.1.1Release date:12 may 2006X Protocol version one, Revision 0, Release 7.1.1B Uild Operating system:linux 2.6.18-128.1.16.el5 i686 Red Hat, inc.current Operating system:linux localhost.localdomain 2 .6.18-164.el5 #1 SMP Tue 15:51:54 EDT i686build date:22 July 2009Build id:xorg-x11-server 1.1.1-48.67.el5 be Fore reporting problems, check http://wiki.x.orgto Make sure so you have the latest version. Module Loader presentmarkers: (-) probed, (*) from config file, (= =) default setting, (+ +) from command line, (!!) Notice , (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: "/tmp/vmware-config0/xf86configlog.16172", Time:thu APR 1 02:40:28 (+ +) Using Config file: "/tmp/vmware-con fig0/xf86config.16172 "The Xkeyboard keymap compiler (XKBCOMP) reports:> warning:multiple symbols for Level 1/ Group 1 on key <I5F>> Using Xf86sleep, ignoring xf86standby&Gt Warning:symbol map for Keys <I5F> redefined> Using Last definition for conflicting fie Ldserrors from Xkbcomp was not fatal to the X Serverx was running fine with the new config file. Freefontpath:fpe "unix/:7100" RefCount is 2, should be 1; Fixing. Creating a new INITRD boot image for the kernel. Starting VMware Tools Services in the virtual machine:switching to guest configuration: [OK]paravirt UAL SCSI module: [OK]guest filesystem driver: [OK]mounting H  GFS shares: [Failed]guest memory manager: [OK]guest vmxnet Fast network device: [OK]VM communication interface: [OK]VM communicati  On interface Socket family: [OK]blocking file system: [OK]file system sync Driver: [OK]guest OperaTing system daemon: [OK]virtual Printing daemon: [OK]the Configura tion of VMware Tools 8.1.3 build-203739 for Linux for this Runningkernel completed successfully. 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 X server session. To enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you'll need to Do one (or more) of the following:1. Manually start/usr/bin/vmware-user2. Log out and log to into your desktop session; and,3. Restart your X session. To use the Vmxnet driver, restart networking using the following commands:/etc/init.d/network stoprmmod pcnet32rmmod VMXN  Etmodprobe vmxnet/etc/init.d/network Startenjoy,--the VMware teamfound VMware Tools CDROM mounted at/media/vmware tools. ejecting device/dev/hdc ... [[email protected] vmware-tools-distrib]#  



First, install the Vmtools

Click on the VMware menu-Virtual machine-install Vmwaretools and select "Install" in the Pop-up dialog box. At this point, the Linux version of the Vmwaretools installation CD image will be loaded automatically under Ubuntu. You will see a disc icon named Vmwaretools on the desktop of the virtual machine and is automatically opened. This includes two files of vmwaretools-5.3.3-34685-i386.rpm and vmwaretools-5.3.3-34685.tar.gz.

The. rpm file is for Red Hat, and we only need the. tar.gz, and copy it to a folder (because the CD drive is not writable).

$ tar zxf vmwaretools-5.3.3-34685.tar.gz (the system will decompress the. tar.gz file after carriage return)

$ cd Vmware-tools-distrib (enter after the directory will be converted to the unzipped folder)

$ sudo./vmware-install.pl (you will be prompted to enter your password after the carriage return, indicating that you will perform an action with more advanced permissions-install the software; Enter again after the installation begins)

After confirming the carriage return (which is equivalent to the many dialogs that were filled in when the software was installed in Windows, we use the default settings here) until the end of the word "enjoy--the VMware team", Vmwaretools finally installed.

If you are using VMware Workstation 6.0.0, you should now be able to see the effect of the Vmwaretools installation: The mouse will no longer need to switch between the virtual and the reality with the Ctrl+alt, all the transition is so natural The resolution of the virtual machine can be automatically adapted to the size of the window, and everything looks so harmonious. But we're using VMware Workstation 5.5.3, so for the time being you don't see anything, let's do the final setup.

In VMware Workstation 5.5.3, VMware Tools under Ubuntu are installed with manual execution of/usr/bin/vmware-toolbox to show the effect. You can run it by entering the following command in the terminal:

$/usr/bin/vmware-toolbox

But if you're in trouble, we need to get Vmware-toolbox to run automatically. Click on Ubuntu Menu: system--Preferences--session--startupprograms,add a name called "Vmware-toolbox", Command is "/usr/bin/vmware-toolbox" launcher. This will automatically run the vmwaretools after each boot. Restart Ubuntu to see how it works! (Note: Vmware-toolbox is not running in the background, do not close after startup)

25.PNG

VMware Tools is a good thing, but there are side effects, such as: the mouse wheel in the virtual machine is not good enough. We solve this problem, or open the terminal, enter:

$ sudo gedit/etc/x11/xorg.conf

This command enables the system to open the mouse configuration file/etc/x11/xorg.conf with root privileges. Put the files in the

Option "Protocol" "PS/2"

Change into

Option "Protocol" "IMPS/2"

Restart Ubuntu to fix it.

Second, set the resolution:

1, Cd/usr/bin

Use this command to enter the/usr/bin directory;

2, LS *.pl

Use this command to find the vmware-config-tools.pl file;

3,./vmware-config-tools.pl

Run the vmware-config-tools.pl file;

4. Set the resolution

Enter the corresponding number of return can, feel the same as the original system can be set;

5. Restart the virtual machine.

Three, compact virtual machine space

Virtual machine with the use of space will be more and more large, and even if the deletion of the files, the space will not be reduced, you can use the shrink of VMware tools, the execution of Vmware-toolbox, and then compressed with shrink can be, the effect is very good, but the time is a bit long.

  

Linux Install VM Tools

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.