当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 在ubuntu下如何安装VMwareTools
帖子发表于 : 2007-08-17 16:21 
头像

注册: 2007-08-14 10:16
帖子: 55
地址: gxtc
送出感谢: 0 次
接收感谢: 0 次
在Server 2003中安装VMware Workstation 6.0.0.45731,然后在VMware Workstation 6.0.0.45731中安装ubuntu6.06 lts
如何安装vm tools
1、以ROOT身份进入LINUX

  2、按下 CTRL+ALT组合键,进入主操作系统,点击VMWARE状态栏安装提示,或者点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单。

  3、确认安装VMWARE TOOLS。

  这时我们并没有真正的安装上了VMWARE TOOLS软件包,如果您点击菜单:DEVICES,您就会发现光驱的菜单文字变为:ide1:0-> C:\\Program Files\\VMware\\VMware Workstation\\Programs\\linux.iso,这表示VMWARE将LINUX的ISO映象文件作为了虚拟机的光盘

  4、鼠标点击LINUX界面,进入LINUX。

  5、运行如下命令,注意大小写。

  mount -t iso9660 /dev/cdrom /mnt

  加载CDROM设备,这时如果进入 /mnt 目录下,你将会发现多了一个文件:vmware-linux-tools.tar.gz。这就是WMWARE TOOLS的LINUX软件包,也就是我们刚才使用WINISO打开LINUX.ISO文件所看到的。

  cp /mnt/vmware-linux-tools.tar.gz /tmp

  将该软件包拷贝到LINUX的 TMP目录下。

  umount /dev/cdrom

  卸载CDROM。

  cd /tmp

  进入TMP目录

  tar zxf vmware-linux-tools.tar.gz

  解压缩该软件包,默认解压到vmware-linux-tools目录下(与文件名同名)。

  cd vmware-linux-tools

  进入解压后的目录

  ./install.pl

  运行安装命令。

操作过程:
root@boysnet-desktop:~# mount -t iso9660 /dev/cdrom /mnt
mount: block device /dev/cdrom is write-protected, mounting read-only
root@boysnet-desktop:~# cd /mnt
root@boysnet-desktop:/mnt# ls
VMwareTools-6.0.0-45731.i386.rpm VMwareTools-6.0.0-45731.tar.gz
root@boysnet-desktop:/mnt# cp VMwareTools-6.0.0-45731.tar.gz /tmp
root@boysnet-desktop:/mnt# umount /dev/cdrom
umount: /mnt: device is busy
umount: /mnt: device is busy
root@boysnet-desktop:/mnt# cd /tmp
root@boysnet-desktop:/tmp# ls
VMwareTools-6.0.0-45731.tar.gz orbit-boysnet
gconfd-boysnet orbit-root
gconfd-root scim-helper-manager-socket-boysnet
kde-boysnet scim-panel-socket:0-boysnet
keyring-qQVrtq scim-socket-frontend-boysnet
ksocket-boysnet ssh-lhqtXI4487
mapping-boysnet virtual-boysnet.WCqMit
root@boysnet-desktop:/tmp# tar zxf VMwareTools-6.0.0-45731.tar.gz
root@boysnet-desktop:/tmp# ls
VMwareTools-6.0.0-45731.tar.gz orbit-root
gconfd-boysnet scim-helper-manager-socket-boysnet
gconfd-root scim-panel-socket:0-boysnet
kde-boysnet scim-socket-frontend-boysnet
keyring-qQVrtq ssh-lhqtXI4487
ksocket-boysnet virtual-boysnet.WCqMit
mapping-boysnet vmware-tools-distrib
orbit-boysnet
root@boysnet-desktop:/tmp# cd vmware-tools-distrib
root@boysnet-desktop:/tmp/vmware-tools-distrib# ls

FILES INSTALL bin doc etc installer lib vmware-install.pl
root@boysnet-desktop:/tmp/vmware-tools-distrib# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools. This may take from several minutes to over an hour
depending upon its size.

In which directory do you want to install the binary files?
[/usr/bin] y

The path "y" is a relative path. Please enter an absolute path.

In which directory do you want to install the binary files?
[/usr/bin] /usr/bin

The file /usr/bin/vmware-config-tools.pl that this program was about to install
already exists. Overwrite? [yes] y

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] /etc

What is the directory that contains the init scripts?
[/etc/init.d] /etc/init.d

In which directory do you want to install the daemon files?
[/usr/sbin] /usr/sbin

In which directory do you want to install the library files?
[/usr/lib/vmware-tools] /usr/lib/vmware-tools

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] y

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools] /usr/share/doc/vmware-tools

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] y

The installation of VMware Tools 6.0.0 build-45731 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] y


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your 这个VMtools版本不
running kernel. Do you want this program to try to build the vmmemctl module 适合我现在的kernel
for your system (you need to have a C compiler installed on your system)?

[yes] y

Setup is unable to find the "gcc" program on your machine. Please make sure it
is installed. Do you want to specify the location of this program by hand?
[yes] y

What is the location of the "gcc" program on your machine?
虽然最后我自己也没有装好!但步骤应该是这样了!如果有错漏或有更好的方法,请贴出来分享,谢谢!向大家学习


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-11-13 19:24 

注册: 2007-11-10 19:13
帖子: 41
送出感谢: 0 次
接收感谢: 0 次
谢谢楼主啊
我来试一下啊~!
这么好的东西到支持就不好了~!


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-11-20 21:35 

注册: 2007-11-20 18:19
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
呵呵
What is the location of the "gcc" program on your machine?
这句话的回答才是最关键的
楼主更好停在这。晕了。


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-06-27 3:15 
头像

注册: 2007-12-02 1:23
帖子: 259
送出感谢: 0 次
接收感谢: 0 次
选择YES就可以自动安装GCC啊


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译