wiki:TipAndDoc/VM/VMware/Server/Lucid

Version 2 (modified by mitty, 14 years ago) (diff)

--

install VMware Server 2.0.2 on Ubuntu Lucid

procedure produced by Radu

install Ubuntu Lucid with ubuntu-10.04-server-amd64.iso

  • uname -a
    Linux vmserv 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux
    

set password to user root

  • sudo su -
  • # passwd
  • rootにパスワードを設定するのは安全性が下がるので、本来は別にユーザを作って管理するようにした方が良い

install packages

  • sudo aptitude install -R linux-headers-uname -r build-essential
    The following NEW packages will be installed:
      binutils{a} build-essential dpkg-dev{a} g++{a} g++-4.4{a} gcc{a}
      gcc-4.4{a} libc-dev-bin{a} libc6-dev{a} libgomp1{a} liblzma1{a}
      libstdc++6-4.4-dev{a} linux-libc-dev{a} xz-utils{a}
    The following packages will be upgraded:
      libc-bin libc6
    The following packages are RECOMMENDED but will NOT be installed:
      fakeroot manpages-dev
    

3rd-party patched

  • mkdir vmware
  • mv VMware-server-2.0.2-203138.x86_64.tar.gz vmware
  • wget http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh
    Location: http://github.com/raducotescu/vmware-server-linux-2.6.3x-kernel/tarball/master [following]
    Location: http://waitdownload.github.com/raducotescu-vmware-server-linux-2.6.3x-kernel-592e882.tar.gz [following]
    Saving to: `raducotescu-vmware-server-linux-2.6.3x-kernel-592e882.tar.gz'
    
  • tar xzf raducotescu-vmware-server-linux-2.6.3x-kernel-592e882.tar.gz
  • mv raducotescu-vmware-server-linux-2.6.3x-kernel-592e882/* vmware/
  • ll vmware/
    total 463352
    drwxr-xr-x 2 mitty mitty      4096 2010-06-06 14:22 ./
    drwxr-xr-x 8 mitty mitty      4096 2010-06-06 14:21 ../
    -rw-r--r-- 1 mitty mitty      1321 2010-04-26 05:18 LICENSE
    -rw-r--r-- 1 mitty mitty      1980 2010-04-26 05:18 README
    -rwxr-xr-x 1 mitty mitty       702 2010-04-26 05:18 start-VMware-console.sh*
    -rw-r--r-- 1 mitty mitty      1111 2010-04-26 05:18 vmware-config.patch
    -rw-r--r-- 1 mitty mitty     13618 2010-04-26 05:18 vmware-server-2.0.2-203138-update.patch
    -rw-r--r-- 1 mitty mitty 474415801 2009-10-24 08:13 VMware-server-2.0.2-203138.x86_64.tar.gz
    -rwxr-xr-x 1 mitty mitty     11358 2010-04-26 05:18 vmware-server-2.0.x-kernel-2.6.3x-install.sh*
    

install VMware Server

  • cd vmware/
  • ~/vmware$ sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
    The current administrative user for VMware Server  is ''.  Would you like to
    specify a different administrator? [no] yes
    
    Please specify the user whom you wish to be the VMware Server administrator
     root
    
    Using root as the VMware Server administrator.
    

問題点

vmware-config.plが使えない

  • sudo vmware-config.pl
    The following VMware kernel modules have been found on your system that were
    not installed by the VMware Installer.  Please remove them then run this
    installer again.
    
    vmnet
    vmci
    vmmon
    
    I.e. - 'rm /lib/modules/2.6.32-21-server/misc/<ModuleName>.{o,ko}'
    
    Execution aborted.