Bài viết này giới thiệu cho bạn cách cài đặt VMware Workstation trên nền Linux, hiện tại có rất nhiều phần mềm để làm virtual machine như Parallel Workstation tuy nhiên tôi thích sử dụng VMware Workstation nhiều hơn các phần mềm kia .
Điều kiện để đọc bài viết này.
- Bạn đăng ký một tài khoản ở website
http://www.vmware.com/download/ws/
- Download VMware Workstation 6.0.1 for Linux về máy tính của bạn . Phiên bản tôi sử dụng là
VMware Workstation 6.0.1 build-55017
- Sử dụng lệnh yum để cập nhật kernel-devel và kernel-headers nếu như PC của bạn chưa cài đặt
#yum install kernel-devel
#yum install kernel-headers
Sau khi download xong, bạn tiến hành chạy lệnh sau trên console.
#rpm -ivh VMware-workstation-6.0.1-55017.i386.rpm
Chạy tiếp dòng lệnh sau
Code:
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the theme icons?
[/usr/share/icons]
Nhấn Enter
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
Nhấn Enter
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
Nhấn Enter
Do you want networking for your virtual machines? (yes/no/help) [yes]
Nhập yes nhấn Enter
Configuring a bridged network for vmnet0.
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
All your ethernet interfaces are already bridged.
Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]
Nhập yes nhấn Enter
Configuring a NAT network for vmnet8.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] yes ,
Nhập yes nhấn Enter
Probing for an unused private subnet (this can take some time)...
The subnet 172.16.236.0/255.255.255.0 appears to be unused.
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 172.16.236.0.
Do you wish to configure another NAT network? (yes/no) [no]
Nhập no nhấn Enter
Do you want to be able to use host-only networking in your virtual machines?
[yes]
nhấn Enter
Configuring a host-only network for vmnet1.
Do you want this program to probe for an unused private subnet? (yes/no/help)
Nhập yes nhấn Enter
Probing for an unused private subnet (this can take some time)...
The subnet 192.168.102.0/255.255.255.0 appears to be unused.
The following host-only networks have been defined:
. vmnet1 is a host-only network on private subnet 192.168.102.0.
Do you wish to configure another host-only network? (yes/no) [no]
Nhập no nhấn Enter
Do you want to install the Eclipse Integrated Virtual Debugger? You must have
the Eclipse IDE installed. [no]
Nhập no nhấn Enter
Creating a new VMware VIX API installer database using the tar4 format.
Installing VMware VIX API.
You must read and accept the VMware VIX API End User License Agreement to
continue.
Press enter to display it.
VMware(R) Software Developer Kit (SDK) Agreement
Đọc các quy định của VMWare và nhấn EnterDo you accept? (yes/no)
Nhập yes nhấn Enter
Thank you.In which directory do you want to install the VMware VIX API binary files?
[/usr/bin]
Nhấn Enter
In which directory do you want to install the VMware VIX API library files?
[/usr/lib/vmware-vix/lib]
Nhấn Enter
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]
Nhấn Enter
In which directory do you want to install the VMware VIX API document pages?
[/usr/share/doc/vmware-vix]
Nhấn Enter
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]
Nhấn Enter
The installation of VMware VIX API 1.1.1 build-55017 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.1 build-55017 for Linux for this
running kernel completed successfully.
You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".
Để bắt đầu VMWare nhập dòng sau trên console
# /usr/bin/vmware
Chúc bạn thành công