Install VMware10 Tools in Ubuntu 14.04

Source: Internet
Author: User

I have been worried for a few days because I cannot install vm tools. In fact, there are other alternatives, but I still have a flaw in my mind.

I used 64-bit Ubuntu14.04 in VMware7. I had a lot of errors when installing vm tools. I checked a lot of information and only used the shared clipboard function. My goal is to enable the shared folder.

I searched for the latest version of VMware this morning and found 10 in the Chinese version. I plan to try it again in the casual installation. After the installation, I did not find any errors reported by VMware7, on the contrary, there are several new errors, and after the installation, even the most basic shared clipboard function is gone. Continue to query the information and finally find the answer in google

1-Run: apt-get install dkms linux-headers-$ (uname-r) build-essential psmisc
2-Run: git clone https://github.com/rasa/vmware-tools-patches.git
3-Run: cd vmware-tools-patches/patches
4-Remove every folder into t "vmhgfs ".
5-Get the last version of VMwareTools clicking on VMWare Bar> VM> Install/Reinstall VMWare Tools. It will open a virtual CD containing the "tar" file.
6-Copy VMwareTools-9.2.4-1398046.tar.gz to "vmware-tools-patches" folder.
7-On "vmware-tools-patches" folder, run:./untar-and-patch-and-compile.sh

After the restart, the resolution is adaptive and the clipboard can be used normally. Enter lsmod | grep vm to see vmhgfs. However, in the shared directory/mnt/hgfs, the system prompts that the folder is not a directory.

I found the VMware10 Bug on the Internet. It was fixed in 10.0.2 and is being downloaded. I will try again tomorrow.

After the restart, the resolution is adaptive and the clipboard can be used normally. Enter lsmod | grep vm to see vmhgfs. However, in the shared directory/mnt/hgfs, the system prompts that the folder is not a directory.

I found the VMware10 Bug on the Internet. It was fixed in 10.0.2 and is being downloaded. I will try again tomorrow.

Creating a new initrd boot image for the kernel.
Update-initramfs: Generating/boot/initrd. img-3.13.0-24-generic
Initctl: Unknown task: vmware-tools-thinprint
Unable to start services for VMware Tools

Execution aborted.

I checked some information about printing. I don't need the printing function anyway. Just delete it.

Root @ www. bkjia.com:/etc/init # rm vmware-tools-thinprint.conf

Restart the service

Root @ www.bkjia.com:/etc/vmware-tools #./services. sh restart
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
VMware User Agent (vmware-user): done
Blocking file system: done
Unmounting HGFS shares: done
Guest filesystem driver: done
VM communication interface: done
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
VM communication interface: done
Guest filesystem driver: done
Mounting HGFS shares: done
Blocking file system: done
VMware User Agent: done
Guest operating system daemon: done

View shared directories

Root @ www.bkjia.com:/etc/vmware-tools # df
File System 1K-blocks available in use % mount point
/Dev/sda1 19478204 4487716 13978008 25%/
None 4 0 4 0%/sys/fs/cgroup
Udev 1010624 4 1010620 1%/dev
Tmpfs 204276 1072 203204 1%/run
None 5120 0 5120 0%/run/lock
None 1021364 152 1021212 1%/run/shm
None 102400 56 102344 1%/run/user
/Dev/sr0 61542 61542 0 100%/media/yufan/VMware Tools
. Host:/186165244 47665228 138500016 26%/mnt/hgfs
Root @ www.bkjia.com:/etc/vmware-tools # cd/mnt/hgfs
Root @ www.bkjia.com:/mnt/hgfs # ls
WindowsShare
Root @ www.bkjia.com:/mnt/hgfs # cd WindowsShare/
Root @ www.bkjia.com:/mnt/hgfs/WindowsShare # ls
Abc la Rada txt

Finally!
-----------------------------------------------------
Sudo mount-t vmhgfs. host: // mnt/hgfs
Vmware-hgfsclient.host:/shared/home/pnuts/shared vmhgfs defaults 0 0

Install VMware Tools in Ubuntu 12.04

Related Article

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.