caboのIT系Tipsの情報まとめ

インフラエンジニアなのでそれに関連したIT関連の記事や技術情報をメインに扱います。また、趣味のアウトドアや写真(主に風景)が好きなのでそちらもネタがあれば載せようと思います。

ESXi6.5上のSolaris10 VMtoolインストール

VMware上のtoolsのISOイメージがなかったのでESXiに展開してインストールしていあす。

 

これって正式手順ではないと思いますが、環境構築の上で必要なので実施しています。

役立つかわかりませんが、一応残しておこうかと。

 

  • ダウンロード

VMtools

https://my.vmware.com/group/vmware/details?downloadGroup=VMTOOLS1010&productId=614

VMware Tools packages for FreeBSD, Solaris and OS Xのイメージをダウンロードします。

展開して3つのファイルを確認

・solaris.iso
・solaris.iso.sha
・solaris.iso.sig

 

 

 

  • アップロード

ESXiの転送方法は簡単なのが、sftpなのでwinSCPなどで接続して上記のファイルを転送。

転送先は、/usr/lib/vmware/isoimage

 

 

  • vmtoolインストール

あとは通常通り。vmtoolをマウントして、展開でperlで実行。

ポイントはDISPLAYぐらいですかね。

 

bash-3.2# cd vmware-tools-distrib/
bash-3.2# ls
FILES              bin                etc                lib
INSTALL            doc                installer          vmware-install.pl
bash-3.2# perl 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]

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]

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?
[yes]

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.1.0 build-4449150 for Solaris 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 VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done


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? [no]

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?
[no]

 


Detected X version 7.2.0


Unable to detect guest resolution.


Please choose one of the following display sizes that X will start with:

[1]< 640x480
[2]  800x600
[3]  1024x768
[4]  1280x800
Please enter a number between 1 and 4:

[1] 3

Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   Guest memory manager:                                               done
   Guest operating system daemon:                                      done
Unable to determine if libpng is installed. Please make sure that you have
libpng installed for full functionality.

The configuration of VMware Tools 10.1.0 build-4449150 for Solaris 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.

Enjoy,

--the VMware team

 

 

 google-site-verification: googlebe6dc91f5294fd34.html