2019年9月9日月曜日

Debian 10 - 3 VMware Tools のインストール

VMware Tools をインストールすると、VMware Workstation Player のウィンドウを拡大縮小するだけでゲストOSの解像度を自動的に変更できます。

VMware Tools のインストールメッセージは、Debian の起動時に表示されます。今回は次の手順でインストールしました。





a Debian を起動しログインした後で、VMware Workstation Player のツールバーの「Player」ボタンをクリックして 管理 -> VMware Tools のインストール をクリックします。




b 「ソフトウェアの更新」ウィンドウが表示されるので「ダウンロードしてインストール」ボタンをクリックします。



c 次のような「このまま切断してロックを無視しますか。」と表示されるので、「はい」ボタンをクリックします。



このとき、次のように表示されるとインストールできます。









表示されなかった場合は、以下のように操作します。
Player -> 管理 -> VMware tools のインストールをキャンセル をクリックし、もう一度、Player -> 管理 -> VMware tools のインストール をクリックします。





それでも表示されない場合は、このブログの「1 VMware Player のインストール(http://nobmob.blogspot.jp/2015/05/1-vmware-player.html)」を参考にしてください。

d 「VMware Tools」をクリックし、表示された「開く」をクリックします。








e 開いたウィンドウは閉じます。









f アクティビティ -> アプリケーションを表示する(左側の一番下のアイコン)をクリックしてを起動します。








g ユーザ -> 端末 アイコンをクリックします。











h cdrom のマウントを確認します。

user@deb10-vmw:~$ ls /media/cdrom

user@deb10-vmw:~$ ls /media/cdrom
VMwareTools-10.3.10-12406962.tar.gz  vmware-tools-upgrader-32
manifest.txt                         vmware-tools-upgrader-64
run_upgrader.sh

i VMware tools のパッケージをホームディレクトリなどにコピーします。

user@deb10-vmw:~$ cp /media/cdrom/VMwareTools-10.3.10-12406962.tar.gz ./

j パッケージを展開して vmware-tools-distrib に移動します。

user@deb10-vmw:~$ tar xvzf VMwareTools-10.3.10-12406962.tar.gz
user@deb10-vmw:~$ ls vmware-tools-distrib/
FILES  INSTALL  bin  caf  doc  etc  installer  lib  vgauth  vmware-install.pl

k スーパーユーザになります。

user@deb10-vmw:~/vmware-tools-distrib$ su
パスワード:
root@deb10-vmw:/home/user/vmware-tools-distrib#

l ./vmware-install.pl を実行します。

Setup is unable to find the "depmod" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?
[yes] Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866.


ここで「y」または「yes」と入力して「Enter」キーを押して進めます。

Setup is unable to find the "depmod" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?
[yes] Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866.
y


What is the location of the "depmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, <stdin> line 1.


depmod の位置を入力します。

What is the location of the "depmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, <stdin> line 1.
/sbin/depmod


以降、modprobe、rmmod も次のように入力します。

Setup is unable to find the "modprobe" program on your machine. Please make
sure it is installed. Do you want to specify the location of this program by
hand? [yes] Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, <stdin> line 2.
y


What is the location of the "modprobe" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, <stdin> line 3.
/sbin/modprobe


Setup is unable to find the "rmmod" program on your machine. Please make sure
it is installed. Do you want to specify the location of this program by hand?
[yes] Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, <stdin> line 4.
y


What is the location of the "rmmod" program on your
machine? Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, line 5.
/sbin/rmmod


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] y


この後、いろいろ聞かれますが「Enter」キーを押して進めます。

m Debian を再起動します。

0 件のコメント: