Feb 08, 2006

[VMWare] VMWare Player on Debian Sarge インストールメモ:

Debian Sarge に VMWare Player をインストールしたときのメモ。 大した障害はなかったが、Windows 版の様にインストーラ一発で終了、というわけには行かなかった。

インストール手順

  1. (もしインストールされていなければ) X Window System をインストール。X は VMWare Player の実行に必須の様だ。
    # apt-get install x-window-system
    
  2. カーネルのバージョンに合わせてカーネルのヘッダファイルをインストールする。
    # apt-get install kernel-headers-2.4.27-2-386
    パッケージリストを読みこんでいます... 完了
    依存関係ツリーを作成しています... 完了
    以下の特別パッケージがインストールされます:
      kernel-headers-2.4.27-2
    以下のパッケージが新たにインストールされます:
      kernel-headers-2.4.27-2 kernel-headers-2.4.27-2-386
    アップグレード: 0 個、新規インストール: 2 個、削除: 0 個、保留: 0 個。
    2120kB のアーカイブを取得する必要があります。
    展開後に追加で 29.8MB のディスク容量が消費されます。
    続行しますか? [Y/n]
    
  3. ここから Linux 版の VMWare Player をダウンロード。ここでは VMware-player-1.0.1-19317.tar.gz を使う
  4. VMWare Player のインストーラを実行して、インストールと初期設定を行う。
    # tar zxvf ./VMware-player-1.0.1-19317.tar.gz
    # ./vmware-player-distrib/vmware-install.pl
    Creating a new installer database using the tar3 format.
    
    Installing the content of the package.
    
    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 library files?
    [/usr/lib/vmware]
    
    The path "/usr/lib/vmware" does not exist currently. This program is going to
    create it, including needed parent directories. Is this what you want? [yes] yes
    
    In which directory do you want to install the documentation files?
    [/usr/share/doc/vmware]
    
    The path "/usr/share/doc/vmware" does not exist currently. This program is going
    to create it, including needed parent directories. Is this what you want?
    [yes] yes
    
    The installation of VMware Player 1.0.1 build-19317 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.pl".
    
    Before running VMware Player for the first time, you need to configure it by
    invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
    program to invoke the command for you now? [yes] yes
    
    The correct version of one or more libraries needed to run VMware Player may be
    missing.  This is the output of ldd /usr/bin/vmware:
            libm.so.6 => /lib/libm.so.6 (0x4001c000)
            libdl.so.2 => /lib/libdl.so.2 (0x4003e000)
            libpthread.so.0 => /lib/libpthread.so.0 (0x40041000)
            libX11.so.6 => not found
            libXtst.so.6 => not found
            libXext.so.6 => not found
            libXt.so.6 => not found
            libICE.so.6 => not found
            libSM.so.6 => not found
            libXrender.so.1 => not found
            libz.so.1 => /usr/lib/libz.so.1 (0x40094000)
            libc.so.6 => /lib/libc.so.6 (0x400a6000)
            /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
    
    This program cannot tell for sure, but you may need to upgrade libc5 to glibc
    before you can run VMware Player.
    
    Hit enter to continue.
    
    Making sure services for VMware Player are stopped.
    
    Stopping VMware services:
       Virtual machine monitor                                             done
    
    You must read and accept the End User License Agreement to continue.
    Press enter to display it.
    
    (snip)
    
    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 icons?
    [/usr/share/icons]
    
    The path "/usr/share/icons" does not exist currently. This program is going to
    create it, including needed parent directories. Is this what you want? [yes] yes
    
    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications]
    
    In which directory do you want to install the application's icon?
    [/usr/share/pixmaps]
    
    Trying to find a suitable vmmon module for your running kernel.
    
    None of the pre-built vmmon modules for VMware Player is suitable for your
    running kernel.  Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes] yes
    
    Using compiler "/usr/bin/gcc". Use environment variable CC to override.
    
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/kernel-headers-2.4.27-2-386/include
    
    Extracting the sources of the vmmon module.
    
    Building the vmmon module.
    
    Using standalone build system.
    make: Entering directory `/tmp/vmware-config0/vmmon-only'
    make[1]: Entering directory `/tmp/vmware-config0/vmmon-only'
    make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27-2-386'
    make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27-2-386'
    make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27-2-386'
    make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27-2-386'
    make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only'
    make: Leaving directory `/tmp/vmware-config0/vmmon-only'
    The module loads perfectly in the running kernel.
    
    Do you want networking for your virtual machines? (yes/no/help) [yes] yes
    
    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 virtual machines? (yes/no)
    [yes] no
    
    Do you want to be able to use host-only networking in your virtual machines?
    [no] no
    
    Extracting the sources of the vmnet module.
    
    Building the vmnet module.
    
    Using standalone build system.
    make: Entering directory `/tmp/vmware-config0/vmnet-only'
    make: Leaving directory `/tmp/vmware-config0/vmnet-only'
    The module loads perfectly in the running kernel.
    
    Would you like to enable the Google searchbar? (yes/no) [no]
    
    Starting VMware services:
       Virtual machine monitor                                             done
       Virtual ethernet                                                    done
       Bridged networking on /dev/vmnet0                                   done
    
    The configuration of VMware Player 1.0.1 build-19317 for Linux for this running
    kernel completed successfully.
    
    You can now run VMware Player by invoking the following command:
    "/usr/bin/vmplayer".
    
    Enjoy,
    
    --the VMware team
    
    #
    
  5. 後は、「X が起動した状態で」VMWare Player を起動する。

Posted in VMWare | このエントリーをはてなブックマークに追加 | この記事をクリップ! livedoor クリップ |