VMware Server在Ubuntu8.04上的安装

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
iakuf
帖子: 227
注册时间: 2006-10-23 7:58
送出感谢: 0
接收感谢: 0
联系:

VMware Server在Ubuntu8.04上的安装

#1

帖子 iakuf » 2008-04-26 22:22

转载本站文章请注明,转载自:扶凯[http://www.php-oa.com]

本文链接: http://www.php-oa.com/2008/04/26/vmwareubuntu804/

VMware Server 是一个非常不错的让Windows, BSD and Linux 运行在你的电脑上的软件 ,Vmware Server更加方便,可以让用户远程打开来控制Vmware.下面我来讲讲Ubuntu 8.04上的安装.

在开始安装前

先下载下列的软件

* VMware-server-1.0.5-80187.tar.gz
* vmware-any-any-update-116.tgz
* VMware-server-linux-client-1.0.5-80187.zip

接下来安装编译环境.

# sudo apt-get install xinetd

# sudo apt-get install build-essential

i686 用户:

# sudo apt-get install libxtst6 libxt6 libice6 libsm6 libxrender1 libxi6

amd64 用户:

# sudo apt-get install ia32-libs

安装你的头文件,编译用

# sudo aptitude install linux-headers-generic

正式安装

接下来正 安装 VMware Server 你要运行这个目录中的vmware-config.pl 不过我的上面编译通不过,运行到一半出错.如果你的出错(vmmon.ko错误,vmmon-only),就用请执行下面(any-any)的步骤.

# tar xzf VMware-server-1.0.5-80187.tar.gz -C /tmp

# cd /tmp/vmware-server-distrib

# sudo ./vmware-install.pl

安装补丁

运行vmware的补丁。最新的系统好象不认识,内核太新,所以要运行这个

# tar xzf vmware-any-any-update116.tar.gz -C /tmp

# cd /tmp/vmware-any-any-update116

# gcc -o update update.c

# sudo ./runme.pl

安装VMware Server Console

# unzip VMware-server-linux-client-1.0.5-80187.zip
# tar xzf VMware-server-console-1.0.5-80187.tar.gz -C /tmp
# cd /tmp/vmware-server-console-distrib
# sudo ./vmware-install.pl
# sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/libgcc_s.so.1/
头像
herry_dlzeng
帖子: 9
注册时间: 2007-01-26 9:26
送出感谢: 0
接收感谢: 0

#2

帖子 herry_dlzeng » 2008-04-27 1:15

还是不能运行啊。
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

我也参照了网上的一些做法
如下:
$ cd /usr/lib/vmware/lib/
$ sudo mv libpng12.so.0/libpng12.so.0 libpng12.so.0/libpng12.so.0.disabled
$ sudo ln -sf /usr/lib/libpng12.so.0 libpng12.so.0/libpng12.so.0
结果还是不行。
请指点,谢谢!
yhj2064643
帖子: 6
注册时间: 2006-09-09 22:01
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 yhj2064643 » 2008-04-27 18:16

我也是这样阿 高手快来阿~~ /usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
yhj2064643
帖子: 6
注册时间: 2006-09-09 22:01
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 yhj2064643 » 2008-04-27 18:47

参考http://forum.ubuntu.org.cn/viewtopic.php?t=17220&sid=b97a82e98865c82f8532b7237ed5a6f4的方法删了 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1及 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so,便解决了,且运行一切正常
portwell
帖子: 8
注册时间: 2008-04-16 9:13
送出感谢: 0
接收感谢: 0

#5

帖子 portwell » 2008-07-28 12:36

能解释一下原因吗? 谢谢
回复

回到 “虚拟机和虚拟化”