VMware Tools をUbuntu にインストールしてみる。
Ubuntu 環境は「Linux owner-desktop 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux」。
スポンサードリンク
※VMware Player は、別途ダウンロード・解凍済とする
インストール
アップデート
すでにインストールされていてるバージョンが古い場合は次のメッセージが表示される:
You must have at least version 8.7.0 of VMware Tools installed to install this product inside a virtual machine. Your version is 8.4.0. Please update VMware Tools.
(記録がぐちゃぐちゃしてしまった。もしかしたらUbuntu にVMware Player をインストールする際に、まずはバージョンアップをするよう促されたのかもしれない)
新規インストール
以下は新規インストールの場合の例:
※一部略
※応答はデフォルトでインストールできた
$ cd デスクトップ $ ls VMwareTools-8.8.2-590212.tar.gz vmware-tools-distrib $ cd vmware-tools-distrib/ $ sudo ./vmware-install.pl A previous installation of VMware Tools has been detected. The previous installation was made by the tar installer (version 4). Keeping the tar4 installer database format. You have a version of VMware Tools installed. Continuing this install will first uninstall the currently installed version. Do you wish to continue? (yes/no) [yes] Uninstalling the tar installation of VMware Tools. Stopping services for VMware Tools : : 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] What is the directory that contains the init scripts? [/etc/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] 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 8.8.2 build-590212 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. [EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that creates backups of virtual machines. Please refer to the VMware Knowledge Base for more details on this capability. Do you wish to enable this feature? [no] Before you can compile modules, you need to have the following installed... make gcc kernel headers of the running kernel Searching for GCC... Detected GCC binary at "/usr/bin/gcc". The path "/usr/bin/gcc" appears to be a valid path to the gcc binary. Would you like to change it? [no] Searching for a valid kernel header path... Detected the kernel headers at "/lib/modules/2.6.32-38-generic/build/include". The path "/lib/modules/2.6.32-38-generic/build/include" appears to be a valid path to the 2.6.32-38-generic kernel headers. Would you like to change it? [no] Using 2.6.x kernel build system. : : 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] Using 2.6.x kernel build system. : : !!! [EXPERIMENTAL] !!! VMware automatic kernel modules enables automatic building and installation of VMware kernel modules at boot they are not already present. By selecting yes, you will be enabling this experimental feature. You can always disable this feature by re-running vmware-config-tools.pl. Would you like to enable VMware automatic kernel modules? [no] Disabling timer-based audio scheduling in pulseaudio. Detected X server version 1.7.6 X is running fine with the new config file. Creating a new initrd boot image for the kernel. update-initramfs: Generating /boot/initrd.img-2.6.32-38-generic vmware-tools start/running The configuration of VMware Tools 8.8.2 build-590212 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 or by invoking "/usr/bin/vmware-toolbox" from the command line 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 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
※一部略
(参考)gdm のリスタート
$ sudo restart gdm
追記 2012.05.07
Ubuntu 12.04 Desktop LTS 、VMware Tools(記事中と同バージョン)でも動作を確認した。
Linux owner 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
コメント