install vmware server on ubuntu

Now, to the install steps:

  1. Install the necesarry prerequisites

sudo apt-get install linux-headers-`uname -r` build-essential xinetd
  1. Now change into the directory where you saved your VMWare TAR ball. I saved mine in /home/paul/vm

    cd /home/efuchxu/vm


  2. Now Extract the TAR ball and run the installer

    tar xvfz VMware-server-*.tar.gz
    
    cd vmware-server-distrib
    sudo ./vmware-install.pl
  3. when you get an error such as:"The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel"

        you should first

sudo apt-get install linux-source

  1. You can hit enter for all of the defaults, except when asked for a name of an alternate administrator. For that enter your username. If you don't, you will have to reset the root password as that is the default administrator for VMWare Server. Also, when asked for the direcrory of virtual machines, you have the option of saving them in a different directory. I for instance like to save mine in /home/efuchxu/vm.
  2. Near the end, you will have to enter your serial number which you received when you first registered for the download.

   

sudo sed -i -e "s/\/sbin\/insmod -s -f \"\/lib\/modules\/\`uname -r\`\/misc\/\$1.o\"/modprobe -s -f \$1/" /etc/init.d/vmware
sudo sed -i -e "s/sub configure_module {/sub configure_module {\n return 'yes';/" /usr/bin/vmware-config.pl
sudo vmware-config.pl
sudo /etc/init.d/vmware restart

you may need not to do the following commands:

sudo ln -s /lib/modules/3.2.0-27-generic/build/include/generated/autoconf.h /lib/modules/3.2.0-27-generic/build/include/linux/autoconf.h

sudo ln -s /lib/modules/3.2.0-27-generic/build/include/generated/utsrelease.h /lib/modules/3.2.0-27-generic/build/include/linux/utsrelease.h

  1. VMware Server for Windows 921AM-YUW8G-167G7-49N9D 
    VMware Server for Linux 98H80-YH7F1-29N4Q-4T5V9
  2. Done! Now you are ready to login! You can login to the web console by browsing to http://servername:822

转载于:https://my.oschina.net/u/238880/blog/77137

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值