1 安装vmware 续
这里必须输入y,然后出现以下提示:
Thank you.
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
回车后出现:
What directory contains your desktop menu entry files? These files
have
a .desktop file extension. [/usr/share/applications]
回车后出现:
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
回车后出现:
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is
suitable for
yourrunning kernel. Do you want this program to try to build the
vmmon module for
your system (you need to have a C compiler installed on your
system)? [yes]
输入y 并回车后出现:
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.18-1.2798.fc6/build/include]
回车后出现:
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.18-1.2798.fc6/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory
`/usr/src/kernels/2.6.18-1.2798.fc6-i686'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.
Do you want networking for your virtual machines? (yes/no/help)
[yes]
最后一行是问你是否需要虚拟机能够运行网络,当然选是,输入y 并回车出现:
Configuring a bridged network for vmnet0.
Your computer has multiple ethernet network interfaces available:
eth0, eth1.
Which one do you want to bridge to vmnet0? [eth0]
这里是让你配置真实网卡与虚拟网卡桥接的,注意,第二段可能每个人的机器显示会不一样,如果机器上只有一块网卡就没有选择的余地了,因为我家里的台式机有两块网卡,eth1
是连接ADSL宽带用的,eth0是与笔记本电脑进行双机互联用的,所以我选eth0,请大家根据自己的实际情况配置,输入eth0
后回车出现:
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
Do you wish to configure another bridged network? (yes/no) [no]
你是否需要配置另一个桥接网络,这里默认的选项是no,回车后出现:
Do you want to be able to use NAT networking in your virtual
machines? (yes/no)
[yes]
感谢原创作者.书名:大学生攻克Linux系统教程(又名天下没有难学的Linux)