RHEL5下安装VMware虚拟机


首先我们要登录系统并且有root的权限
[root@localhost ~]# whoami
root
[root@localhost ~]# cd /opt/
[root@localhost opt]# ls
Linux_VMware-workstation-6.0.3-80004.i386.tar.gz
[root@localhost opt]# tar zxvf Linux_VMware-workstation-6.0.3-80004.i386.tar.gz
[root@localhost opt]# ls
Linux_VMware-workstation-6.0.3-80004.i386.tar.gz  vmware-distrib
[root@localhost opt]# cd vmware-distrib/
[root@localhost vmware-distrib]# ./vmware-install.pl

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/rc.d] 选择初始化脚本文件安装路径
What is the directory that contains the init scripts?
[/etc/rc.d/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]
The path "/usr/lib/vmware" 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 manual files?
[/usr/share/man]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]
The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
The installation of VMware Workstation 6.0.3 build-80004 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.pl".
Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want
this program to invoke the command for you now? [yes] yes
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]
   Blocking file system:                                   [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host network detection                                  [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet1                     [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   Host-only networking on /dev/vmnet8                     [  OK  ]
   Virtual ethernet                                        [  OK  ]
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the theme 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.
The module bld-2.6.18-8.el5-i686PAE-RHEL5 loads perfectly in the running
kernel.
/dev is dynamic:
Trying to find a suitable vmblock module for your running kernel.
The module bld-2.6.18-8.el5-i686PAE-RHEL5 loads perfectly in the running
kernel.
/dev is dynamic:
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes] yes
 
Do you want to install the Eclipse Integrated Virtual Debugger? You must have
the Eclipse IDE installed. [no]
A previous installation of VMware VIX API has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
Uninstalling the tar installation of VMware VIX API.
The removal of VMware VIX API 1.1.3 build-80004 for Linux completed
successfully. Thank you for having tried this software.
Installing VMware VIX API.
You must read and accept the VMware VIX API End User License Agreement to
continue.
Press enter to display it. (下面提示是否接受许可协议)
yes
In which directory do you want to install the VMware VIX API binary files?
[/usr/bin]
In which directory do you want to install the VMware VIX API library files?
[/usr/lib/vmware-vix/lib]
The path "/usr/lib/vmware-vix/lib" 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 VMware VIX API document pages?
[/usr/share/doc/vmware-vix]
The path "/usr/share/doc/vmware-vix" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
The installation of VMware VIX API 1.1.3 build-80004 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-vix.pl".
Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Blocking file system:                                   [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host network detection                                  [  OK  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet8 (background)        [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
The configuration of VMware Workstation 6.0.3 build-80004 for Linux for this
running kernel completed successfully.
You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".
Enjoy,
--the VMware team
RAN

至此已经安装完成。

下面我们要通过注册机获得注册码,在帮助选项中添加就行了。

如果想卸载的话,执行如下命令

cd /opt/vmware-distrib/bin
[root@localhost bin]# ./vmware-uninstall.pl
Uninstalling the tar installation of VMware Workstation.
Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]
   Blocking file system:                                   [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host network detection                                  [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet1                     [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   Host-only networking on /dev/vmnet8                     [  OK  ]
   Virtual ethernet                                        [  OK  ]
File /etc/vmware/config is backed up to /etc/vmware/config.old.0.
Uninstalling the tar installation of VMware VIX API.
The removal of VMware VIX API 1.1.3 build-80004 for Linux completed
successfully. Thank you for having tried this software.
The removal of VMware Workstation 6.0.3 build-80004 for Linux completed
successfully. Thank you for having tried this software.
这样就写在完成了。

相关内容