Linux Memo/VMWare Server
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
*VMWare Sever [#b5718ef1]
RIGHT:更新日&lastmod();
**GuestOSの時計が狂うとき [#vc97e3f3]
/etc/vmware/configに以下を追加し一度GustOSを止め、起動さ...
host.cpukHz = 2400000
host.noTSC = TRUE
ptsc.noTSC = TRUE
host.cpukHzはHostOSのCPUクロック数。この場合は2.4GHz
**インストール [#jf88e4ce]
VMWare Severはフリーなので登録すれば[[ここ:http://www.vmw...
登録してライセンスキーを取得する必要がある
Downloadは「VMware-server-1.0.4-56528.i386.rpm、VMware-mu...
***Sever本体のインストール [#v39796ad]
# rpm -ivh VMware-server-1.0.4-56528.i386.rpm
***Serverの設定 [#u3d05d6b]
# /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor ...
You must read and accept the End User License Agreement ...
Press enter to display it. <==Enter
VMWARE MASTER END USER LICENSE AGREEMENT
NOTICE: BY DOWNLOADING AND INSTALLING,
(略)
Foundation (GPL). A copy of the GPL is
included on the media on which you
Do you accept? (yes/no) <==yes
Thank you.
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type ...
[/usr/share/icons] <==Enter
What directory contains your desktop menu entry files? T...
.desktop file extension. [/usr/share/applications] <==En...
In which directory do you want to install the applicatio...
[/usr/share/pixmaps] <==Enter
Trying to find a suitable vmmon module for your running ...
None of the pre-built vmmon modules for VMware Server is...
running kernel. Do you want this program to try to buil...
your system (you need to have a C compiler installed on ...
Using compiler "/usr/bin/gcc". Use environment variable ...
What is the location of the directory of C header files ...
kernel? [/lib/modules/2.6.16-0vl73/build/include] <==Enter
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config0/vmmon-only' に入...
make -C /lib/modules/2.6.16-0vl73/build/include/.. SUBDI...
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
(略)
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/modulelo...
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
cp -f vmmon.ko ./../vmmon.o
make: ディレクトリ `/tmp/vmware-config0/vmmon-only' から...
The module loads perfectly in the running kernel.
Do you want networking for your virtual machines? (yes/n...
Configuring a bridged network for vmnet0.
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
All your ethernet interfaces are already bridged.
Do you want to be able to use NAT networking in your vir...
[yes] <==no (NATは使用しない)
Do you want to be able to use host-only networking in yo...
[no] <==Enter
xtracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config0/vmnet-only' に入...
make -C /lib/modules/2.6.16-0vl73/build/include/.. SUBDI...
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
(略)
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
Warning: could not find /tmp/vmware-config0/vmnet-only/....
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
cp -f vmnet.ko ./../vmnet.o
make: ディレクトリ `/tmp/vmware-config0/vmnet-only' から...
The module loads perfectly in the running kernel.
The default port : 902 is not free. We have selected a s...
port for VMware Server use. You may override this value ...
Remember to use this port when connecting to this server.
Please specify a port for remote console connections to ...
[VMware Server Consoleの接続ポート(Defaultは902だが使用...
xinetdがインストールされていないと以下のようなWARNINGで止...
(
WARNING: VMware Server has been configured to run on a p...
default port. Remember to use this port when connecting ...
Unable to find any instance of the super-server "inetd" ...
possible that you do not have one of these packages inst...
Please install "inetd" or "xinetd".
If you do have "inetd" or "xinetd" installed, make sure ...
/etc/xinetd.d exists.
The configuration will continue, but you should re-run
/usr/bin/vmware-config.pl after you fix the super-server.
Hit enter to continue.
# <==終了してしまう
)
''Xinetdのインストール''
# apt-get install xinetd
''/usr/bin/vmware-config.plの再実行の続き''
# /usr/bin/vmware-config.pl
(略)
WARNING: VMware Server has been configured to run on a p...
default port. Remember to use this port when connecting ...
xinetdを停止中: ...
xinetdを起動中: ...
Configuring the VMware VmPerl Scripting API.
Building the VMware VmPerl Scripting API.
Using compiler "/usr/bin/gcc". Use environment variable ...
Installing the VMware VmPerl Scripting API.
The installation of the VMware VmPerl Scripting API succ...
Generating SSL Server Certificate
In which directory do you want to keep your virtual mach...
[/var/lib/vmware/Virtual Machines] <== Enter
The path "/var/lib/vmware/Virtual Machines" does not exi...
program is going to create it, including needed parent d...
what you want? [yes] <== Enter
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: <==シ...
Starting VMware services:
Virtual machine monitor ...
Virtual ethernet ...
Bridged networking on /dev/vmnet0 ...
The configuration of VMware Server 1.0.4 build-56528 for...
kernel completed successfully.
***マネージメントインターフェイスのインストール [#uf9174a5]
# tar zxvf VMware-mui-1.0.4-56528.tar.gz
# cd vmware-mui-distrib
# ./vmware-install.pl
Creating a new installer database using the tar3 format.
You must read and accept the End User License Agreement ...
Press enter to display it. <== Enter
VMWARE MASTER END USER LICENSE AGREEMENT
NOTICE: BY DOWNLOADING AND INSTALLING,
(略)
Foundation (GPL). A copy of the GPL is
included on the media on which you
Do you accept? (yes/no) <==yes
Thank you.
Installing the content of the package.
In which directory do you want to install the binary fil...
[/usr/bin] <== Enter
What is the directory that contains the init directories...
[/etc/rc.d] <== Enter
What is the directory that contains the init scripts?
[/etc/rc.d/init.d] <== Enter
In which directory do you want to install the VMware Man...
files? [/usr/lib/vmware-mui] <== Enter
The path "/usr/lib/vmware-mui" does not exist currently....
to create it, including needed parent directories. Is th...
[yes] <== Enter
In which directory would you like to install the documen...
[/usr/lib/vmware-mui/doc] <== Enter
The path "/usr/lib/vmware-mui/doc" does not exist curren...
going to create it, including needed parent directories....
[yes] <== Enter
The installation of VMware Management Interface 1.0.4 bu...
completed successfully. You can decide to remove this so...
at any time by invoking the following command:
"/usr/bin/vmware-uninstall-mui.pl".
Before running VMware Management Interface for the first...
configure it by invoking the following command:
"/usr/bin/vmware-config-mui.pl". Do you want this progra...
for you now? [yes]<== Enter
Configuring httpd.conf to run Apache as:
User: nobody and Group: nobody
Set the number of minutes before a http session times ou...
of time before someone connecting to VMware Management I...
out) [60] <== Enter
Generating SSL Server Certificate
Starting httpd.vmware: ...
The configuration of VMware Management Interface complet...
***起動と停止 [#e5f74499]
''VMWare ServerのVMwareの起動と停止''
# /etc/rc.d/init.d/vmware stop
Stopping VMware services:
Virtual machine monitor ...
Bridged networking on /dev/vmnet0 ...
Virtual ethernet ...
# /etc/rc.d/init.d/vmware start
Starting VMware services:
Virtual machine monitor ...
Virtual ethernet ...
Bridged networking on /dev/vmnet0 ...
Starting VMware virtual machines... ...
''Management Interfaceの起動と停止''
# /etc/rc.d/init.d/httpd.vmware stop
Shutting down http.vmware: ...
# /etc/rc.d/init.d/httpd.vmware start
Starting httpd.vmware: ...
**GuestOSのインストール [#u44ab29f]
Xwindowのターミナルから
$vmware
と入力するとWindowsと同じような画面(コンソール)が開くので...
コンソールを終了してもguestOSは起動している
また、このコンソール(VMware Server Windows client package...
**Setting [#s0c8617a]
コンソールで以下のようにセットするとホストOSをシャットダ...
をシャットダウンし、ホストOSを起動したときにguestOSも起動...
VM -> Setting
Option
Startup/Shutdown
On host startup: Power on virtual machine
On host shutdown: Shut down guest operation system
**参考ページ [#kb67a2f1]
[[VMware Server インストール:http://rewse.jp/fukugan/arti...
終了行:
*VMWare Sever [#b5718ef1]
RIGHT:更新日&lastmod();
**GuestOSの時計が狂うとき [#vc97e3f3]
/etc/vmware/configに以下を追加し一度GustOSを止め、起動さ...
host.cpukHz = 2400000
host.noTSC = TRUE
ptsc.noTSC = TRUE
host.cpukHzはHostOSのCPUクロック数。この場合は2.4GHz
**インストール [#jf88e4ce]
VMWare Severはフリーなので登録すれば[[ここ:http://www.vmw...
登録してライセンスキーを取得する必要がある
Downloadは「VMware-server-1.0.4-56528.i386.rpm、VMware-mu...
***Sever本体のインストール [#v39796ad]
# rpm -ivh VMware-server-1.0.4-56528.i386.rpm
***Serverの設定 [#u3d05d6b]
# /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor ...
You must read and accept the End User License Agreement ...
Press enter to display it. <==Enter
VMWARE MASTER END USER LICENSE AGREEMENT
NOTICE: BY DOWNLOADING AND INSTALLING,
(略)
Foundation (GPL). A copy of the GPL is
included on the media on which you
Do you accept? (yes/no) <==yes
Thank you.
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type ...
[/usr/share/icons] <==Enter
What directory contains your desktop menu entry files? T...
.desktop file extension. [/usr/share/applications] <==En...
In which directory do you want to install the applicatio...
[/usr/share/pixmaps] <==Enter
Trying to find a suitable vmmon module for your running ...
None of the pre-built vmmon modules for VMware Server is...
running kernel. Do you want this program to try to buil...
your system (you need to have a C compiler installed on ...
Using compiler "/usr/bin/gcc". Use environment variable ...
What is the location of the directory of C header files ...
kernel? [/lib/modules/2.6.16-0vl73/build/include] <==Enter
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config0/vmmon-only' に入...
make -C /lib/modules/2.6.16-0vl73/build/include/.. SUBDI...
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
(略)
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/modulelo...
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
cp -f vmmon.ko ./../vmmon.o
make: ディレクトリ `/tmp/vmware-config0/vmmon-only' から...
The module loads perfectly in the running kernel.
Do you want networking for your virtual machines? (yes/n...
Configuring a bridged network for vmnet0.
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
All your ethernet interfaces are already bridged.
Do you want to be able to use NAT networking in your vir...
[yes] <==no (NATは使用しない)
Do you want to be able to use host-only networking in yo...
[no] <==Enter
xtracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config0/vmnet-only' に入...
make -C /lib/modules/2.6.16-0vl73/build/include/.. SUBDI...
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
(略)
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
Warning: could not find /tmp/vmware-config0/vmnet-only/....
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: ディレクトリ `/usr/src/kernels/2.6.16-0vl73-i68...
cp -f vmnet.ko ./../vmnet.o
make: ディレクトリ `/tmp/vmware-config0/vmnet-only' から...
The module loads perfectly in the running kernel.
The default port : 902 is not free. We have selected a s...
port for VMware Server use. You may override this value ...
Remember to use this port when connecting to this server.
Please specify a port for remote console connections to ...
[VMware Server Consoleの接続ポート(Defaultは902だが使用...
xinetdがインストールされていないと以下のようなWARNINGで止...
(
WARNING: VMware Server has been configured to run on a p...
default port. Remember to use this port when connecting ...
Unable to find any instance of the super-server "inetd" ...
possible that you do not have one of these packages inst...
Please install "inetd" or "xinetd".
If you do have "inetd" or "xinetd" installed, make sure ...
/etc/xinetd.d exists.
The configuration will continue, but you should re-run
/usr/bin/vmware-config.pl after you fix the super-server.
Hit enter to continue.
# <==終了してしまう
)
''Xinetdのインストール''
# apt-get install xinetd
''/usr/bin/vmware-config.plの再実行の続き''
# /usr/bin/vmware-config.pl
(略)
WARNING: VMware Server has been configured to run on a p...
default port. Remember to use this port when connecting ...
xinetdを停止中: ...
xinetdを起動中: ...
Configuring the VMware VmPerl Scripting API.
Building the VMware VmPerl Scripting API.
Using compiler "/usr/bin/gcc". Use environment variable ...
Installing the VMware VmPerl Scripting API.
The installation of the VMware VmPerl Scripting API succ...
Generating SSL Server Certificate
In which directory do you want to keep your virtual mach...
[/var/lib/vmware/Virtual Machines] <== Enter
The path "/var/lib/vmware/Virtual Machines" does not exi...
program is going to create it, including needed parent d...
what you want? [yes] <== Enter
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: <==シ...
Starting VMware services:
Virtual machine monitor ...
Virtual ethernet ...
Bridged networking on /dev/vmnet0 ...
The configuration of VMware Server 1.0.4 build-56528 for...
kernel completed successfully.
***マネージメントインターフェイスのインストール [#uf9174a5]
# tar zxvf VMware-mui-1.0.4-56528.tar.gz
# cd vmware-mui-distrib
# ./vmware-install.pl
Creating a new installer database using the tar3 format.
You must read and accept the End User License Agreement ...
Press enter to display it. <== Enter
VMWARE MASTER END USER LICENSE AGREEMENT
NOTICE: BY DOWNLOADING AND INSTALLING,
(略)
Foundation (GPL). A copy of the GPL is
included on the media on which you
Do you accept? (yes/no) <==yes
Thank you.
Installing the content of the package.
In which directory do you want to install the binary fil...
[/usr/bin] <== Enter
What is the directory that contains the init directories...
[/etc/rc.d] <== Enter
What is the directory that contains the init scripts?
[/etc/rc.d/init.d] <== Enter
In which directory do you want to install the VMware Man...
files? [/usr/lib/vmware-mui] <== Enter
The path "/usr/lib/vmware-mui" does not exist currently....
to create it, including needed parent directories. Is th...
[yes] <== Enter
In which directory would you like to install the documen...
[/usr/lib/vmware-mui/doc] <== Enter
The path "/usr/lib/vmware-mui/doc" does not exist curren...
going to create it, including needed parent directories....
[yes] <== Enter
The installation of VMware Management Interface 1.0.4 bu...
completed successfully. You can decide to remove this so...
at any time by invoking the following command:
"/usr/bin/vmware-uninstall-mui.pl".
Before running VMware Management Interface for the first...
configure it by invoking the following command:
"/usr/bin/vmware-config-mui.pl". Do you want this progra...
for you now? [yes]<== Enter
Configuring httpd.conf to run Apache as:
User: nobody and Group: nobody
Set the number of minutes before a http session times ou...
of time before someone connecting to VMware Management I...
out) [60] <== Enter
Generating SSL Server Certificate
Starting httpd.vmware: ...
The configuration of VMware Management Interface complet...
***起動と停止 [#e5f74499]
''VMWare ServerのVMwareの起動と停止''
# /etc/rc.d/init.d/vmware stop
Stopping VMware services:
Virtual machine monitor ...
Bridged networking on /dev/vmnet0 ...
Virtual ethernet ...
# /etc/rc.d/init.d/vmware start
Starting VMware services:
Virtual machine monitor ...
Virtual ethernet ...
Bridged networking on /dev/vmnet0 ...
Starting VMware virtual machines... ...
''Management Interfaceの起動と停止''
# /etc/rc.d/init.d/httpd.vmware stop
Shutting down http.vmware: ...
# /etc/rc.d/init.d/httpd.vmware start
Starting httpd.vmware: ...
**GuestOSのインストール [#u44ab29f]
Xwindowのターミナルから
$vmware
と入力するとWindowsと同じような画面(コンソール)が開くので...
コンソールを終了してもguestOSは起動している
また、このコンソール(VMware Server Windows client package...
**Setting [#s0c8617a]
コンソールで以下のようにセットするとホストOSをシャットダ...
をシャットダウンし、ホストOSを起動したときにguestOSも起動...
VM -> Setting
Option
Startup/Shutdown
On host startup: Power on virtual machine
On host shutdown: Shut down guest operation system
**参考ページ [#kb67a2f1]
[[VMware Server インストール:http://rewse.jp/fukugan/arti...
ページ名: