红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

[红旗] 【图解】VMware安装红旗Linux桌面版5.0

如果使用光盘镜像来安装Linux,则点击“编辑虚拟机设置”,在“硬件”标签页中点击“CD-ROM1(IDE 1:0)”,勾选右侧的“使用 ISO 映象”,点击“浏览”选择ISO文件,点击“打开”即可。如下图所示。
附件: 您所在的用户组无法下载或查看附件
很久没来论坛了http://hexun.com/subbo

TOP

如果已经将ISO文件刻录成光盘,则将光盘放入光驱,点击“启动此虚拟机”,点击黑色背景的启动界面,让虚拟机捕获鼠标,按下F2键进入虚拟机的BIOS设置界面,按光标键的右箭头移到“Boot”标签页,按光标键的下箭头选择“CD-ROM Drive”,按数字键盘区的加号键将“CD-ROM Drive”移到第一位。如下图所示。
附件: 您所在的用户组无法下载或查看附件
很久没来论坛了http://hexun.com/subbo

TOP

按F10按回车,接下来就是按照正常步骤安装红旗Linux桌面版5.0。只有分区方面需要说明一下。

分区时选择“使用 Disk Druid 进行手工分区”,点击“下一步”,这时会提示无法读取sda的分区表,这是因为我们创建的虚拟硬盘如同刚买回来的硬盘一样,没有进行过分区操作,点击“是”即可。

进入如下图所示的分区界面,点击空闲分区进行新建分区的操作即可,下面的操作都比较简单。
附件: 您所在的用户组无法下载或查看附件
很久没来论坛了http://hexun.com/subbo

TOP

安装完成后登录系统,进行硬件配置,使用系统自动检测的即可。接下来要安装VMware Tools。

按Ctrl+Alt释放鼠标,右击显示虚拟机名称的标签,选择“安装 VMware 工具”。如下图所示。

需要说明的是,安装完vmware-tools之后,要右击显示虚拟机名称的标签,选择“取消 VMware 安装”,否则光驱会被占用。

[ 本帖最后由 Subbo 于 2006-6-16 22:36 编辑 ]
附件: 您所在的用户组无法下载或查看附件
很久没来论坛了http://hexun.com/subbo

TOP

在弹出的警告窗口上点击“Install”,过一会儿,红旗Linux桌面版5.0会自动挂载VMware Tools的ISO镜像并弹出Konqueror文件管理器窗口,双击VMwareTools-5.5.1-19175.i386.rpm进行安装。

安装完成后双击KDE桌面上的系统终端,执行:vmware-config-tools.pl,接下来会进行一些询问,按照中括号里面的提示来回答即可。

然后进入红旗Linux桌面版5.0的“控制面板——系统配置——服务”,确保vmware-tools这项服务的“启动类别”为“自动”。

重启红旗Linux桌面版5.0,至此,VM安装红旗Linux桌面版5.0完成。这时你会发现,鼠标指针能够在主机系统和虚拟系统之间平滑移动了,不再需要按Ctrl+Alt键(2.6.x内核的特性)。

此外,关于主机系统和虚拟系统共享文件的问题,有人说要用到samba,实际上不用那么麻烦,安装vmware-tools就可以在“编辑虚拟机设置——选项”里面启用共享文件夹了。
附件: 您所在的用户组无法下载或查看附件
很久没来论坛了http://hexun.com/subbo

TOP

[root@localhost ~]# vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                          [  OK  ]
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] 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.9-5.34DT/build/include] /lib/modules/2.6.9-5.34DT/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.9-5.34DT/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-5.34DT-i686'
  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
  CC      /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-5.34DT-i686'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.

pcnet32                24456  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.9-5.34DT/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-5.34DT-i686'
  CC [M]  /tmp/vmware-config0/vmxnet-only/vmxnet.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmxnet-only/vmxnet.mod.o
  LD [M]  /tmp/vmware-config0/vmxnet-only/vmxnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-5.34DT-i686'
cp -f vmxnet.ko ./../vmxnet.o
make: Leaving directory `/tmp/vmware-config0/vmxnet-only'
The module loads perfectly in the running kernel.



Detected X.org version 6.8.

Shutting down console mouse services:                      [FAILED]
Starting console mouse services:                           [  OK  ]

Please choose one of the following display sizes (1 - 13):

[1]  "640x480"
[2]< "800x600"
[3]  "1024x768"
[4]  "1152x864"
[5]  "1280x800"
[6]  "1152x900"
[7]  "1280x1024"
[8]  "1376x1032"
[9]  "1400x1050"
[10]  "1680x1050"
[11]  "1600x1200"
[12]  "1920x1200"
[13]  "2364x1773"
Please enter a number between 1 and 13:

[2] 2


X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-5.24DTsmp i686 [ELF]
Current Operating System: Linux localhost.localdomain 2.6.9-5.34DT #1 Mon Jan 23 16:32:34 CST 2006 i686
Build Date: 23 January 2006
Build Host: builder2.redflag-linux.com

        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-5.34DT (packager@asianux.com) (gcc version 3.4.3 20041212 (Asianux 2.0 3.4.3-9.EL4.2)) #1 Mon Jan 23 16:32:34 CST 2006 P
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-config0/XF86ConfigLog.13107", Time: Fri Jun 16 19:22:24 2006
(++) Using config file: "/tmp/vmware-config0/XF86Config.13107"

X is running fine with the new config file.

(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
Mouse1 no synaptics event device found (checked 42 nodes)
Query no Synaptics: 000000
(EE) Mouse1 no synaptics touchpad detected and no repeater device
(EE) Mouse1 Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Mouse1"
FATAL: Module evdev not found.
FATAL: Module evdev not found.
FATAL: Module evdev not found.
DEVICE_INIT:jiawei inithouyu Init
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
        No such device.
Error opening /dev/input/event2 : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
        No such device.
Error opening /dev/input/event2 : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
        No such device.
Error opening /dev/input/event2 : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
        No such device.
Error opening /dev/input/event2 : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
        No such device.
Error opening /dev/input/event2 : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/event2
        No such device.
Error opening /dev/input/event2 : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/hwmice
        No such device.
DEVICE_ON: jiawei fd = -1
Could not init font path element unix/:7100, removing from list!
DEVICE_CLOSE: jiawei HWUSBTablet touchscreen close...
DEVICE_CLOSE: jiawei Done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                       [  OK  ]
   Guest filesystem driver:                                [  OK  ]
   DMA setup:                                              [  OK  ]
   Guest operating system daemon:                          [  OK  ]

The configuration of VMware Tools 5.5.1 build-19175 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.

To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start

Enjoy,

--the VMware team

[root@localhost ~]#

[ 本帖最后由 Subbo 于 2006-6-16 22:33 编辑 ]
很久没来论坛了http://hexun.com/subbo

TOP

12那步可以省略了,它默认支持光驱启动。

TOP

关于主机系统和虚拟系统共享文件的问题,我还是解决不了。

TOP

装好vm-tools,在VM虚拟机里面启用共享文件夹后,登录系统,可以在/mnt/hgfs/目录下看到共享的文件夹,使用dh -f命令是看不到的,因为共享文件夹不是虚拟为一个磁盘。

另外,dh后面要加一个空格,注意看执行命令后的提示,它会帮助你解决很多问题。

TOP

引用:
原帖由 loverf 于 2006-6-18 09:57 发表
12那步可以省略了,它默认支持光驱启动。
如果Windows下“我的电脑里”面只显示一个光驱,那么可以省略;如果指定是某个光驱,那么可以省略。如果有两个光驱(包括使用虚拟光驱),而虚拟机的光驱为自动选择,那么这一步不能省略。

TOP

发新话题