Linux掛載安裝VMware tool

1.點擊安裝VMware tool,以後選擇掛載進行掛載
bash

vcsa74.PNG

2.掛載Tools並解壓session

# mkdir /mnt/cdrom
# mount -t auto /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom/
# cp VMwareTools-10.1.7-5541682.tar.gz /root
# cd
# tar -zxvf VMwareTools-10.1.7-5541682.tar.gz

vcsa75.PNG


3.安裝tools
ide

# cd vmware-tools-distrib/
# yum -y install perl gcc make kernel-headers kernel-devel net-tools
# ./vmware-install.pl 
open-vm-tools packages are available from the OS vendor and VMware recommends 
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more 
information.
Do you still want to proceed with this installation? [no] yes
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
......
Creating a new initrd boot image for the kernel.
Generating the key and certificate files.
Successfully generated the key and certificate files.
SELinux setup: The 'semanage' utility was not found.
There was an error setting up the SELinux security context for VMware Tools. 
Please make sure SELinux is set up correctly.
The configuration of VMware Tools 10.1.7 build-5541682 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
3. Restart your X session.
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /mnt/cdrom. Ejecting device /dev/sr0 ...


4.卸載toolsui

# umount /mnt/cdrom


5.查看是否成功安裝tools
this

vcsa76.PNG

相關文章
相關標籤/搜索