歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> RHEL5下安裝VMware虛擬機

RHEL5下安裝VMware虛擬機

日期:2017/2/28 16:05:55   编辑:Linux教程

首先我們要登錄系統並且有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.
這樣就寫在完成了。

Copyright © Linux教程網 All Rights Reserved