[原创][WinXP+VMware+Ubuntu]安装+VMwareTools+输入法+系统美化全攻略

Kvm、VMware、Virtualbox、Xen、Qemu 等
头像
oken
帖子: 31
注册时间: 2008-03-29 11:44
来自: CHINA

#31

帖子 oken » 2008-03-30 23:53

linux菜鸟 写了:由于第一次用Linux,这个终端在哪一开始都花了我很久才知道,这里告诉下和我一样的新手:Application-Accesorries-Terminal,中文是应用程序-附件-终端),输入:
引用:
sudo password root
这里的password是指你设定的root密码,然后系统会让你输入你当前帐号的密码,接着输入root的密码并确认。这样root帐号就被激活了

这步居然出问题了……输入了命令,回车,下一行要求输入密码,打键盘,毫无反应……泪水了……
应该系 sudo passwd root 而不是password吧?
你试下!我就是这样的!
sudo passwd root 回车
输入你的用户名的密码(注意:密码 没有显示出来的)回车
输入你想设置 的root的密码
再次 输入你想设置 的root的密码
ok 笑了。。。。
头像
oken
帖子: 31
注册时间: 2008-03-29 11:44
来自: CHINA

#32

帖子 oken » 2008-03-31 0:03

2.开始安装VMware Tools。先进入Ubuntu系统,然后切换到VMware Workstation中的VM菜单,在下面选择Install VMware Tools.
上面的都很顺利,并且我做完第一步就可以直接上网了,不用设置第二步的1。不过到了2就有问题了。Ubuntu的桌面上
没有
自动挂载一个VMwareTools的光驱
后面的更不用说了。vm菜单上显示“取消安装vm tools”左下角显示“你没有安装Vm tools”
望高手指点!
先谢谢了!
rickydd
帖子: 89
注册时间: 2007-09-08 1:12
来自: Unite states

#33

帖子 rickydd » 2008-03-31 7:15

shashenzi 写了:楼上的劲哦
viewtopic.php?t=111733&highlight=

t61..7.04 host vm xp+8.04
IBM T61
T7250 2.00G
2048mb COrsair DDr2 667 X2
5k80+seagate freeagent 750Gb
9CEll
6Cell 死于398循环
Slim battery
Windows 2008 datacenter
Quadro Nvs 140M
1024x768 Standard Screen
3M Privacy Screen Protection
and IBM LX220 X2
rickydd
帖子: 89
注册时间: 2007-09-08 1:12
来自: Unite states

#34

帖子 rickydd » 2008-03-31 7:16

oken 写了:
linux菜鸟 写了:由于第一次用Linux,这个终端在哪一开始都花了我很久才知道,这里告诉下和我一样的新手:Application-Accesorries-Terminal,中文是应用程序-附件-终端),输入:
引用:
sudo password root
这里的password是指你设定的root密码,然后系统会让你输入你当前帐号的密码,接着输入root的密码并确认。这样root帐号就被激活了

这步居然出问题了……输入了命令,回车,下一行要求输入密码,打键盘,毫无反应……泪水了……
应该系 sudo passwd root 而不是password吧?
你试下!我就是这样的!
sudo passwd root 回车
输入你的用户名的密码(注意:密码 没有显示出来的)回车
输入你想设置 的root的密码
再次 输入你想设置 的root的密码
ok 笑了。。。。

应该系 sudo passwd root 而不是password吧?

oh my god!!! well done!!!!!!!!!!!!!!!!!!!!!
IBM T61
T7250 2.00G
2048mb COrsair DDr2 667 X2
5k80+seagate freeagent 750Gb
9CEll
6Cell 死于398循环
Slim battery
Windows 2008 datacenter
Quadro Nvs 140M
1024x768 Standard Screen
3M Privacy Screen Protection
and IBM LX220 X2
rickydd
帖子: 89
注册时间: 2007-09-08 1:12
来自: Unite states

#35

帖子 rickydd » 2008-03-31 7:19

在雨中 写了:我是第一次接触VMware也是第一次尝试安装Ubuntu
问题可能很幼稚

我已经将我的F盘删除了
现在的F盘 盘符在windows下已经没有了 是未分配空间

如果在VMware里设置安装目录为F:\


是不是用VMware的话 直接虚拟就好了 不需要专门划分Linux分区?
vm partion can set anywhere as you want.. what ever /documents or /C:
but if you install it on parpation you need to acvitive it before use when you reset your mashine
IBM T61
T7250 2.00G
2048mb COrsair DDr2 667 X2
5k80+seagate freeagent 750Gb
9CEll
6Cell 死于398循环
Slim battery
Windows 2008 datacenter
Quadro Nvs 140M
1024x768 Standard Screen
3M Privacy Screen Protection
and IBM LX220 X2
头像
oken
帖子: 31
注册时间: 2008-03-29 11:44
来自: CHINA

#36

帖子 oken » 2008-03-31 23:45

昨天是桌面上没有出现那个vm的,今天在开机时就点击那个“安装vm tools“,结果桌面出现那东西了。与楼主描述的一样。按着楼主的说明作下去,一路默认。全部搞定后重启,但是要释放鼠标依然要安ctrl-alt!
不过在左下角就没有“你没有安装vm tools“的字样了。不知为何如此!是不是我那一步做错了呢?安装过程如下:
okenjian@oken:~/Desktop/vmware-tools-distrib$ sudo ./vmware-install.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

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

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

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

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

In which directory do you want to install the library files?
[/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]

yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "yes" is a relative path. Please enter an absolute path.

In which directory do you want to install the documentation files?
[/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]

The installation of VMware Tools 5.5.3 build-34685 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]


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:-ne done

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-15-generic/build/include]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmhgfs-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dev.o
CC [M] /tmp/vmware-config0/vmhgfs-only/driver.o
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-config0/vmhgfs-only/main.o
CC [M] /tmp/vmware-config0/vmhgfs-only/staticEscape.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.

pcnet32 34052 0
Unloading pcnet32 module

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmxnet-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config0/vmxnet-only/vmxnet.o
/tmp/vmware-config0/vmxnet-only/vmxnet.c: In function ‘vmxnet_netpoll’:
/tmp/vmware-config0/vmxnet-only/vmxnet.c:1058: error: too many arguments to function ‘vmxnet_interrupt’
make[2]: *** [/tmp/vmware-config0/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmxnet-only'
Unable to build the vmxnet module.

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.


Please enter a number between 1 and 13:

[6]


X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux oken 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
Build Date: 04 April 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config1/XF86ConfigLog.7528", Time: Mon Mar 31 20:56:25 2008
(++) Using config file: "/tmp/vmware-config1/XF86Config.7528"
(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
(EE) AIGLX: Screen 0 is not DRI capable
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
No such file or directory.
Error opening /dev/input/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
No such file or directory.
Error opening /dev/input/wacom : Success
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
No such file or directory.
Error opening /dev/input/wacom : Success
Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, removing from list!

X is running fine with the new config file.

FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:-ne done

Guest filesystem driver:-ne done

DMA setup:-ne done

Guest operating system daemon:-ne done


The configuration of VMware Tools 5.5.3 build-34685 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an XFree86 session.

Enjoy,

--the VMware team

希望高手指点!
头像
oken
帖子: 31
注册时间: 2008-03-29 11:44
来自: CHINA

#37

帖子 oken » 2008-04-01 22:51

哈哈。。。经过三天的努力,终于把ubuntu搞好拉!虽然自己还是不知道如何做,但起码可以方便的用了。
中文法可以用了,鼠标可以不用按ctrl+alt也可以释放了。可以使用滚动了。发现有一篇很好的文章,大家可以参考:
http://www.linuxdiyf.com/viewarticle.php?id=80878
头像
oken
帖子: 31
注册时间: 2008-03-29 11:44
来自: CHINA

#38

帖子 oken » 2008-04-04 13:00

20113248 写了:还有过一段时间后它在左下角提示‘你没有安装vmware tools’这样的提示!
我很想快点知道其中的问题!
:twisted: :twisted:
因为你没有真正安装vm tools!看看我后面的回复吧!应该对你有帮助
头像
vivo888444
帖子: 4
注册时间: 2008-05-01 2:40

#39

帖子 vivo888444 » 2008-05-01 3:24

这个要好好的收藏,呵呵~! :lol:
回复