LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 855|回复: 3

Ubutu下安装VMware的方法(转载并翻译)

[复制链接]
发表于 2005-7-13 11:05:02 | 显示全部楼层 |阅读模式
转贴老外的,翻译一下
05-25-2005, 01:31 AM              #1
i3dmaster
Ubuntu Espresso Roast

i3dmaster is Offline:
Join Date: Nov 2004
Posts: 51 i3dmaster is on a distinguished road
       
Default HOWTO: Install vmware under your ubuntu
Wouldn't be nice if we can play diff OSs under ubuntu? Yes, that will have a lot of fun... I just tried install the latest VMware workstation 5 under ubuntu and it went pretty successfully (well, I did some researches beforehands). So I am gonna share it with everyone here.
>>>>
如何在ubuntu下安装vmware
在unbuntu下运行起不同的操作系统应该很棒吧,没错,会有很多乐趣。。。我最近试着在unbuntu下安装VMWare workstation 5,结果很成功(之前当然做了些准备工作)。所以我想把我的经历拿来同大家分享。


1. Since VMware does not support any of the current Hoary kernels (2.6.10-x), you will have to build the vmware modules during the installation, so there are something you have to load before you start installing Vmware.
a. build-essential (apt-get install build-essential). It gives you all the compiling tools that you MUST need.
b. linux-source (apt-get install linux-source-xxx). For instance, mine is 2.6.10 for my running kernel 2.6.10-5-686
c. linux-headers (apt-get install linux-headers-xxx). For instance, mine is 2.6.10-5-686.
Anyway, just search apt repos for the headhers, source for your running kernel.
>>>>
1、因为VMware不支持任何现有的Hoary 内核(2.6.10-x),所以你必须在安装时构建vmware模块,下面就是你在安装Vmware之前要做的一些事情了:
  (a)安装build-essential(apt-get install build-essential 译者注:实际上你需要准备好安装盘,内容在那里)。这个东东提供了你所需要的所有编译工具。
  (b)安装linux-source(apt-get install linux-headers-xxx),比如我的运行内核是2.6.10-5-686对应的xxx就是2.6.10。
  (c)安装linux-headers(apt-get install linux-headers-xxx),比如我的应该写2.6.10-5-686。(译者注:Ubuntu 5.04默认的话都是这个)
  其实就是把你的运行内核版本搞清楚,找到对应的source和header就得。


2. the kernel source does not get installed after you apt-get, so you will need to go to the /usr/src dir and manually untar it. After you get the directory, then do "ln -sf you_linux_source_dir linux". This will create a symblic link named "linux" under the same dir.
>>>>
2、内核代码在apt-get之后并没有默认安装,所以你必须到/usr/src目录之后手动解压。解压缩之后你执行“ln -sf your_linux_source_dir linux”。这样将会在同一路径下建立一个名为linux的链接。

3. Once you have them loaded, go to www.vmware.com to download the vmware 5 code (version 13124 is the latest). I recommend the tar.gz format since it has a nice installation perl script.
>>>>
3、以上你完成之后,到www.wmware.com下载vmware5的 ... 它提供一个perl 脚本的非常棒的安装界面。

3. gunzip and untar it, it will have a vmware-distrib directory generated, go to that dir and run the vmware-install.pl script.
>>>>
3、将vmware解压,你将得到一个vmware-distrib的目录,进去然后运行vmware-install.pl脚本。

4. Follow the instructions and take pretty much all default settings (as long as you don't make any customized changes on the previous installations, header files location, source location, etc will all be in the default places)
>>>>
4、安装安装时的提示,大多数你选默认设置就好了(你如果在安装过程的前部不做什么特别设置的话,那么头文件目录、源文件目录等都在默认位置)。

Hopefully, the installation script will build the kernel modules without any problem (it normally shouldn't), if so, congratulations! You have Vmware available on your ubnutu now. you can just do "vmware" to bring up the GUI and install whatever OSs you like in there...
>>>>
若如我们所愿,安装脚本将成功建好内核模块(通常情况下不会有什么问题),这样的话,恭喜你!你已经在你的unbuntu系统之后可以使用vmware了。你只需要敲入命令“vmware”就可以进入图形界面了,安装你所想要的操作系统。。。

A comment is when you setup the virtual network interfaces during the installation process, make sure you bridge the right NIC card to the virtual interface. The default is "eth0" but you might want to make sure you do have "eth0"...
>>>>
需要注意的是在你安装过程中设置虚拟网络接口的时候,请确认你把正确的那个NIC卡桥接到虚拟接口上。默认是“eth0”但是你得确认你是否真的有“eth0”。。。

Have fun...
>>>>
呵呵,玩你的VMWare吧。。。
发表于 2005-7-13 12:43:40 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2005-7-13 16:10:36 | 显示全部楼层



我按照这个方法安装了,起动不了vmware
回复 支持 反对

使用道具 举报

发表于 2005-7-13 18:42:30 | 显示全部楼层
已经修正文档不利用 alien 转 rpm ,直接安装 tar.gz 试试。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表