about Linux virtual machine , You can use the command line tools to manually install or upgrade VMware Tools.
This time Linux The virtual machine is CentOS6.5
Turn on virtual machine .
Verify that the client operating system is running .
because VMware Tools Setup is using Perl Compiling , therefore , Please confirm that... Is installed in the client operating system Perl.
install VMware Tools Purpose
VMware Tools yes VMware An enhancement tool that comes with the virtual machine , amount to VirtualBox Enhanced features in （Sun VirtualBox Guest Additions）, yes VMware Provides enhanced virtual graphics card and hard disk performance 、 And the driver to synchronize the virtual machine and host clock .
Only in VMware The virtual machine is installed VMware Tools, In order to realize the file sharing between the host and the virtual machine , At the same time, it can support the function of free dragging , The mouse can also move freely in front of the virtual machine and the host （ Don't press again ctrl+alt）, And the virtual machine screen can also achieve full screen .
1、 On a host computer , from Workstation Pro Select virtual machine from the menu bar > install VMware Tools.
If you have an earlier version of VMware Tools, Then the menu item is update VMware Tools.
2、 In virtual machine , With root Log in to the client operating system and open the terminal window .
3、 Run without parameters mount Order to confirm Linux Does the distribution load automatically VMware Tools fictitious CD-ROM image .
If it's loaded CD-ROM equipment , It will be listed as follows CD-ROM Equipment and its loading point ：
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)
At this point , I have a problem , For a long time ：
It's me passing through mount /dev/sr0 /mnt Command mount CD-ROM drive （ Namely the CentOS CDROM Mounted on /mnt Directory , Then you can access the content in the quilt ）, But I'm here mnt There's nothing in the catalog .
What's the reason for this ？
It turns out that it's because I mounted /nmt The partition is already mounted , That's why this happens ！！！
resolvent ： First umount /mnt Unload then mount /dev/sr0 /mnt
Note appended ： The prompt in the red box below is normal . There is no need to solve .
/dev/sr0 Write protect , Mount... As read-only .
mount Commands mount a device in read-write mode by default , And the CD is read-only , Therefore, when mounting the CD-ROM device, the above prompt of switching from read-write mode to read-only mode will appear . If you don't want to see this tip , Please mount Add parameters after the command , Specifies that the device is mounted in read-only mode .
Next steps ：
4、 Go to the working directory , for example /tmp/
5、 Unzip the installation program .
tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
x.x.x The value is the product version number ,yyyy Is the build number of the product version .
If you try to install tar Install to cover RPM Install or vice versa , Setup will detect previous installations and must convert the setup database format , Then we can continue to operate .
6、 You will find more than one folder in the directory vmware-tools-distrib, There's a vmware-install.pl file
7、 Use ./vmware-install.pl Come on Executable files
[[email protected] mnt]# cd ../..
[[email protected] /]# cd /tmp
[[email protected] tmp]# ls
keyring-0Xytmd keyring-hyGJPh keyring-UvmLHe virtual-carsonzhu.FBAXXT
keyring-4WJiO6 keyring-Hzpfne orbit-carsonzhu virtual-carsonzhu.YLd5ur
keyring-Dtts8C keyring-nPu72R orbit-gdm
keyring-fRCtRE keyring-P2Kgdv pulse-JJ4pstxF4ptg
keyring-GgwNeg keyring-tLjlND pulse-rR5aSeUpvxJC
[[email protected] tmp]# cd /mnt
[[email protected] mnt]# cp VMwareTools-10.0.0-2977863.tar.gz /tmp
[[email protected] mnt]# cd /tmp
[[email protected] tmp]# ls
keyring-0Xytmd keyring-Hzpfne orbit-gdm
keyring-4WJiO6 keyring-nPu72R pulse-JJ4pstxF4ptg
keyring-Dtts8C keyring-P2Kgdv pulse-rR5aSeUpvxJC
keyring-fRCtRE keyring-tLjlND virtual-carsonzhu.FBAXXT
keyring-GgwNeg keyring-UvmLHe virtual-carsonzhu.YLd5ur
keyring-hyGJPh orbit-carsonzhu VMwareTools-10.0.0-2977863.tar.gz
[[email protected] tmp]# tar zxpf VMwareTools-10.0.0-2977863.tar.gz
[[email protected] tmp]# ls
keyring-0Xytmd keyring-nPu72R pulse-rR5aSeUpvxJC
keyring-4WJiO6 keyring-P2Kgdv virtual-carsonzhu.FBAXXT
keyring-Dtts8C keyring-tLjlND virtual-carsonzhu.YLd5ur
keyring-fRCtRE keyring-UvmLHe VMwareTools-10.0.0-2977863.tar.gz
keyring-GgwNeg orbit-carsonzhu vmware-tools-distrib
[[email protected] tmp]# cd vmware-tools-distrib
[[email protected] vmware-tools-distrib]# ls
bin doc FILES installer vgauth vmware-install.real.pl
caf etc INSTALL 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 do you want to install the binary files?
[/usr/bin] 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] The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
In which directory do you want to install the common agent library files?
In which directory do you want to install the common agent transient files?
In which directory do you want to install the documentation files?
The path "yes" is a relative path. Please enter an absolute path. In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] The installation of VMware Tools 10.0.0 build-2977863 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-uninstall-tools.pl". Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] Initializing... Making sure services for VMware Tools are stopped. Stopping Thinprint services in the virtual machine:
Stopping Virtual Printing daemon: done
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ determine ]
VMware User Agent (vmware-user): [ determine ]
Unmounting HGFS shares: [ determine ]
Guest filesystem driver: [ determine ] 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 will not be modified by this installer. The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer. The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer. The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] Could not create the '/mnt/hgfs' directory. Please make sure it is writeable
and/or not currently in use.
The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature. If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ] Found a compatible pre-built module for vmxnet. Installing it... The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[yes] VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl. Would you like to enable VMware automatic kernel modules?
[no] Thinprint provides driver-free printing. Do you wish to enable this feature?
[yes] Disabling timer-based audio scheduling in pulseaudio. Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed
if you want to enable Common Agent (caf). [yes] Do you want to enable Common Agent (caf)? [yes] Detected X server version 1.13.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.
Generating the key and certificate files.
Successfully generated the key and certificate files.
Starting Virtual Printing daemon: done
Checking acpi hot plug [ determine ]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ determine ]
VM communication interface: [ determine ]
VM communication interface socket family: [ determine ]
Blocking file system: [ determine ]
Guest operating system daemon: [ determine ]
VGAuthService: [ determine ]
Common Agent: [ determine ]
The configuration of VMware Tools 10.0.0 build-2977863 for Linux for this
running kernel completed successfully. You must restart your X session before any mouse or graphics changes take
effect. You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line. To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session. Enjoy, --the VMware team Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
Found VMware Tools CDROM mounted at /mnt. Ejecting device /dev/sr0 ...
8、 Then enter the command reboot Just restart ！
attach ： Modify the virtual machine linux The resolution of the system
- Reprint stay Linux Manually install or upgrade in a virtual machine VMware Tools
- linux Install in virtual machine mongodb
In today's linux The virtual machine has mongodb database , The installation process mainly refers to a document on the Internet , Most places don't make much difference , It's just a change in some details . It's my reference document :http://my.oschina.net/ ...
- linux Install in virtual machine vm_tool The method and the use of
solve the problem : Implementing virtual machines VMware On linux And windows Copy and paste each other freely . For example, under the same system ctrl+c And ctrl+v As convenient as . It can only be solved through U The cumbersome problem of copying the plate ferry . System environment : virtual machine VMwa ...
- How to be in VMware ubuntu linux Install in virtual machine VMware tools
VMware Tools Can be implemented on the host <-> Copy text between virtual machines . File and other functions . This article talks about how to VMware ubuntu linux Install in virtual machine VMware tools. Test environment : VMwa ...
- Linux（ Two ）：VMware In the virtual machine Ubuntu Installation details
Linux( Two ):VMware In the virtual machine Ubuntu Installation details Catalog 1 Get ready 2 install 2.1 The establishment of virtual machine 2.2 Virtual machine installation Ubuntu System 2.3 Virtual machine settings 3 complete 1 Get ready 1. operating system ...
- VMware How to install VMWare-Tools Detailed explanation
VMware How to install VMWare-Tools Detailed explanation benefits : Can support graphical interface , It can support the function of sharing files and so on VMware How to configure display in virtual machine VMware As a virtual machine tool , A lot of people use it to achieve Linux ...
- Hyper-V Running on Linux The virtual machine verifies that the integration service is installed
Hyper-V Running on Linux The virtual machine verifies that the integration service is installed ps aux|grep "hv"root 311 0.0 0.0 0 0 ? ...
- VMware workstation And then install workstation
stay VMware workstation 10 In the virtual machine running in workstation Software , There will be a constant restart failure during startup , terms of settlement : In the host virtual machine .vmx Add a line to the file monitor_cont ...
- The latest version Kali Linux Virtual machine installation Open-vm-tools replace VMware tools
since Kali 2.0 After the release , You will often encounter installation vmware tools Can't succeed , Or prompt that the installation is successful, but still unable to drag and drop files . The problem of copy and cut . Today, I'm going to install a system for my new computer , Re downloaded the latest version ,Kali 2017. ...
- tomcat server Interpretation of container
1. server The instance class of is :org.apache.catalina.core.StandardServer For the top container . 2. Secondary container GlobalNamingResources, Set authentication user information . & ...
- php Realize message function
php It's really fun ! Write the front page first index.php: <!DOCTYPE html> <html lang="en"> <head> < ...
- C# Zhongbu 0
C# Zhongbu 0 Prepared by :CC daddy 2014-3-16 First, add two left complement and complement functions #region This function dynamically adds spaces , Align the ticket public string AddSpace(string text ...
- be based on Sql Server 2008 The practice of distributed database based on （ One ）
original text be based on Sql Server 2008 The practice of distributed database based on ( One ) To configure Sql Server 2008(Win7) 1. open SQL server2012, Use windows Identity login 2. After logging in , Right click to select ...
- stay Ubuntu16.04.4 Installation on jdk
stay Ubuntu16.04.4 Installation on jdk One . Installation steps 1. download jdk Installation package First of all we have oracle Download on the official website jdk-8u161-linux-x64.tar.gz, Of course, you can also download other versions ...
- Java Realize the producer and consumer model
Producers keep adding data to the queue , Consumers keep getting data from queues . If the queue is full , Then the producer cannot add data : If the queue is empty , Then consumers can't get the data . With the help of, we have realized BlockingQueue Interface LinkedBlockingQ ...
- exec Detailed explanation of family function and loop creation subprocess
Preface : I knew before exec Family functions , But not completely , I learned it again yesterday , I've basically mastered it , There are also problems with parent-child processes and loop creation of child processes , I'll also talk about environment variables , Share today . One . environment variable Let's first introduce the concept and characteristics of environment ...
- Node Connection pool pool
//1: Load the corresponding module http url fs mysqlconst http = require("http");const url = require("url&qu ...
- Android Use a third party login （QQ And Sina Weibo ）
I'm going to skip the account application here !( I believe you can handle all the documents ) This blog is for guidance only -- Mainly for those who don't know how to start .( If you need more powerful functions, you can take a look at the documents on the open platform , It's all up there ) Use QQ ...