2015-05-15 10:16:07
来 源
中存储网
Ubuntu
1:安装编译环境 sudo apt-get install build-essential linux-headers-`uname -r` sudo apt-get install make sudo apt-get install gcc 2:下载Vmware-server和安装脚本 点击 http://vmware.com/download/server/ 下载Vmware-server: 点击 http://codebin.co

1:安装编译环境

sudo apt-get install build-essential linux-headers-`uname -r`
sudo apt-get install make
sudo apt-get install gcc

2:下载Vmware-server和安装脚本

点击 http://vmware.com/download/server/ 下载Vmware-server:

点击 http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh 下载安装脚本:

将脚本解压缩(我的下载目录为/Downloads):

www@linux-laptop:~/Downloads$  tar  zxvf   raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.5-1-g71f8b66.tar.gz

然后将下载到的Vmware压缩包放到脚这篇文章件夹安装:

www@linux-laptop:~/Downloads$ mv  VMware-server-2.0.2-203138.i386.tar.gz   ./raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/

查看当前文件夹里的文件,如下:

www@linux-laptop:~/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66$ ls
LICENSE                  VMware-server-2.0.2-203138.i386.tar.gz
README                   vmware-server-2.0.2-203138-update.patch
start-VMware-console.sh  vmware-server-2.0.x-kernel-2.6.3x-install.sh
vmware-config.patch

3:运行安装脚本,开始安装

www@linux-laptop:~/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66$ sudo    ./vmware-server-2.0.x-kernel-2.6.3x-install.sh

PS:注意这里需要以ROOT身份运行脚本,安装时候会提示各种安装目录和安装参数设置(包括虚拟网卡设置,访问端口设置等等),没有什么特殊的,一路默认即可

安装的最后看到如下信息:

Enjoy,

--the VMware team

Starting VMware services:
Virtual machine monitor                                             done
Virtual machine communication interface                             done
VM communication interface socket family:                           done
Virtual ethernet                                                    done
Bridged networking on /dev/vmnet0                                   done
Host-only networking on /dev/vmnet1 (background)                    done
DHCP server on /dev/vmnet1                                          done
Host-only networking on /dev/vmnet8 (background)                    done
DHCP server on /dev/vmnet8                                          done
NAT service on /dev/vmnet8                                          done
VMware Server Authentication Daemon (background)                    done
Shared Memory Available                                             done
Starting VMware management services:
VMware Server Host Agent (background)                               done
VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
Virtual machines                                                    done

The configuration of VMware Server 2.0.2 build-203138 for Linux for this
running kernel completed successfully.

Housekeeping...
Thank you for using the script!
Patch provided by:
Ramon de Carvalho Valle
http://risesecurity.org
Script author:
Radu Cotescu
http://radu.cotescu.com

4:访问虚拟机

安装好后可以通过以下网址访问: http://127.0.0.1:8222  或者 https://127.0.0.1:8333(SSH)

完整安装参考官方文档:点击https://help.ubuntu.com/community/VMware/Server

从WEB登录VMware时,需要使用Ubuntu的root用户名和密码。默认Ubuntu是没有root用户的,可用如下命令开启root命令:

sudo passwd root

然后输入并确认密码即可。

声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。