VMware ESXiとはハイパーバイザ型の仮想化ソフトウェア(OS)であり
ホストOSを介さずサーバに直接VMwareをインストールし、
ESXi上に仮想マシン・ゲストOSの作成および管理をする事ができます。
[1]イメージの取得
VMware社よりダウンロードする
ライセンスを取得する
[2]ISOイメージをCDに焼く
CDManipulator等
[3]CDよりサーバブート
インストールプロセスが開始される
「Welcome to the VMware ESXi 4.0.0 Instaler」
→Enter
「End User License Agreement」
→F11 ( Accept and Continue)
「Select a Disk」 :: Logical Volume SAS 279.4GB
→Enter(Continue)
「Confirm Disk Selection」 :: 元々RHES5を入れていたので表示されたかな
→Enter(Continue)
「Confirm Install」
→F11 (Install)
インストールが開始される…しばし待つ…
「Installation Complete」
→Enter (Reboot) 再起動するのでCDをリジェクト.
-再起動ゴ-
<F2>Customize System
パスワード設定
configure Password Old : 空
New Password : xxxxxxxx
Confirm Password : xxxxxxxx
ログ設定?
Configure Lockdown Mode : Disabled (とりあえずデフォルトのまま)
IP設定
Configure Management Network
├ Network Adapters : (デフォルトのまま)
├ VLAN(optional) : Nt Set (デフォルトのまま)
├ IP Configuration (静的にします)
IP Address :10.0.21.99
Subnet Mask : 255.255.255.0
DefaultGateway :10.0.21.254
(Enter)
IPv6 : disabled (デフォルトのまま)
├ DNS Configuration
Primary DNS Server : 10.0.21.114
Alternate Dns Server : 空
Hostname : xxx.xxx.xxx (ESXiサーバのホスト名)
「Configure Management Network : Confirm」
→Y (Yes)
→Esc
→F12 (Shut Down / Restart)
※以上で基本的にはサーバ側の設定は完了です.
■ESXiでSSHを可能にする場合
1] Vmware ESXi のコンソール画面にて [Alt] + [F1]を押します。
2] 黒く色の変わったコンソール画面にて”" unsupported “” と入力 (入力文字は見えません)
※入力を間違った場合[Ctrl] + [u]
3] メンテナンス用の画面にて “” Password”" のプロンプトが表示されますので
パスワードを入力します
4] パスワードの認証が成功すると、シェルのプロンプトが表示されます
5] inetd.confを編集します(/etc/inetd.conf)
ssh行に コメントアウトされている’#'を削除します
※vi編集後、保存するとき( : コロンではなぜか効かないので…)
-> [ESC] >[Shift][;]>[w]>[q]
</p> # /etc/inetd.conf: see inetd(8) for further informations. ## Internet server configuration database # # # If you want to disable an entry so it isn't touched during # package updates just comment it out with a single '#' character. # # If you make changes to this file, either reboot your machine or # send the inetd process a HUP signal: # Do a "ps x" as root and look up the pid of inetd. Then do a # kill -HUP <pid of inetd> # inetd will re-read this file whenever it gets that signal. # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args># #:INTERNAL: Internal services # It is generally considered safer to keep these off. #echo stream tcp nowait root internal #echo dgram udp wait root internal #discard stream tcp nowait root internal #discard dgram udp wait root internal ~ # cat /etc/inetd.conf # /etc/inetd.conf: see inetd(8) for further informations. # # Internet server configuration database # # # If you want to disable an entry so it isn't touched during # package updates just comment it out with a single '#' character. # # If you make changes to this file, either reboot your machine or # send the inetd process a HUP signal: # Do a "ps x" as root and look up the pid of inetd. Then do a # kill -HUP <pid of inetd> # inetd will re-read this file whenever it gets that signal. # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> # #:INTERNAL: Internal services # It is generally considered safer to keep these off. #echo stream tcp nowait root internal #echo dgram udp wait root internal #discard stream tcp nowait root internal #discard dgram udp wait root internal #daytime stream tcp nowait root internal #daytime dgram udp wait root internal #chargen stream tcp nowait root internal #chargen dgram udp wait root internal #time stream tcp nowait root internal #time dgram udp wait root internal # Remote shell access # ssh stream tcp nowait root /sbin/dropbearmulti dropbear ++min=0,swap,group=shell -i -K60 #ssh stream tcp6 nowait root /sbin/dropbearmulti dropbear ++min=0,swap,group=shell -i -K60 #telnet stream tcp nowait root /bin/busybox telnetd ++min=0,swap,group=shell #telnet stream tcp6 nowait root /bin/busybox telnetd ++min=0,swap,group=shell # VMware authentication daemon # authd stream tcp nowait root /sbin/authd authd authd stream tcp6 nowait root /sbin/authd authd
6] ホストを再起動する
reboot と入力
7] 再起動ゴ、SSHにてログインできるかを確認します.
8] ホストをシャットダウンする
poweroff