Saya yakin banyak yang sudah melakukan proses install VMWare di Linux jadi artikel ini harap dijadikan sebagai tambahan referensi saja.
Note : VMWare merupakan aplikasi Virtual PC dimana kita bisa menjalankan sistem operasi lain diatas sistem operasi yang kita jalankan disaat bersamaan. Jika kita sedang menjalankan Linux, disaat yang sama kita bisa menjalankan Linux, Windows, Solaris dll.
Selain VMWare, masih banyak aplikasi virtual PC yang beredar. Saya menggunakan VMWare sebagai contoh karena VMWare merupakan salah satu aplikasi virtual PC yang powerful.
Berikut adalah langkah-langkah melakukan setup VMWare di SUSE Linux (Open SUSE) 10.1 :
* Install paket GCC dan Kernel Source menggunakan Yast
Fungsinya adalah untuk melakukan update kernel agar dapat build vmmon.
* Download file vmware-any-any-update101.tar.gz, simpan di /opt
* Copy file instalasi VMWare (saya menggunakan VMware-workstation-5.5.1-19175.i386.rpm) ke /opt
* Masuk ke Directory /opt
cd /opt
* Ekstrak file instalasi
rpm -Uvh VMware-workstation-5.5.1-19175.i386.rpm
Preparing... ########################################### [100%]
1:VMwareWorkstation ########################################### [100%]
* Ekstrak file update
tar zxvf vmware-any-any-update101.tar.gz
* Masuk ke directory update
cd vmware-any-any-update101/
* Jalankan perintah berikut (satu persatu)
cd /usr/src/linux
make mrproper
make cloneconfig
make modules_prepare
* Jalankan Update
./runme.pl
* Selesai update, proses akan langsung dilanjutkan ke proses setup, kita tinggal mengikuti wizardnya.
Catatan :
1. Jika pada saat proses install kita kebingungan kembali ke prompt (ini saya alami lha yau, maklum, newbie dodol :-P), kita bisa kembali ke prompt (misalnya saat membaca license agreement) dengan cara mengetikkan perintah :q (titik 2, q). I suggest, perintah ini sama dengan perintah editor vi :-).
2. Jika VMWare menanyakan lokasi folder (misalnya untuk icons dll) kita bisa memilih folder default dengan menekan tombol ENTER.
3. Sebagian besar wizard VMWare menyediakan pilihan default. Kalau kita bingung dan kurang jelas, kita bisa memilih pilihan default (nggak dikasih juga pasti tahu lha yau).
4. Sebagian hasil proses tidak saya tampilkan karena panjang sekali dan tanpa melihat hasil prosespun kita bisa tetap melakukan instalasi karena ya kita nggak bisa melanjutkan ke tahap berikutnya kalau kita masih salah ditahap sebelumnya / tahap sebelumnya belum selesai :-D
Semoga Bermanfaat,
Muhammad Rivai Andargini
STMIK-Bani-Saleh '99
Lab Software 1999-2004
Updated on July 15, 2006 09:51 WIB
- Selesai instalasi, kita bisa menjalankan VMWare dengan memilih menu (saya menggunakan KDE) SYSTEM | More Programs atau bisa juga melalui terminal dengan cara mengetik perintah /usr/bin/vmware
- Saya lampirkan juga proses instalasi (lihat bagian dibawah ini). Nama komputer yang saya pakai adalah suse-sql jadi baris yang diawali dengan tulisan suse-sql merupakan perintah yang saya ketik.
/*************************************************************/
suse-sql:/opt # rpm -Uvh VMware-workstation-5.5.1-19175.i386.rpm
Preparing... ########################################### [100%]
1:VMwareWorkstation ########################################### [100%]
suse-sql:/opt #
suse-sql:/opt # ls
VMware-workstation-5.5.1-19175.i386.rpm kde3
gnome vmware-any-any-update101.tar.gz
suse-sql:/opt # tar zxvf vmware-any-any-update101.tar.gz
vmware-any-any-update101/
vmware-any-any-update101/services.sh
vmware-any-any-update101/runme.pl
vmware-any-any-update101/vmmon.tar
vmware-any-any-update101/update
vmware-any-any-update101/update.c
vmware-any-any-update101/vmnet.tar
suse-sql:/opt # cd vmware-any-any-update101
suse-sql:/opt/vmware-any-any-update101 # ls
runme.pl services.sh update update.c vmmon.tar vmnet.tar
suse-sql:/opt/vmware-any-any-update101 # ./runme.pl
Updating /usr/bin/vmware-config.pl ... now patched
The file /usr/lib/vmware/modules/source/vmmon.tar that this script was about to
install already exists. Overwrite? [yes] y
The file /usr/lib/vmware/modules/source/vmnet.tar that this script was about to
install already exists. Overwrite? [yes] y
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes] y
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor done
You must read and accept the End User License Agreement to continue.
Press enter to display it.
Do you accept? (yes/no) 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 your
running 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.16.13-4-default/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.16.13-4-default/build/include/.. SUBDIRS=$PWD SRCROOT=$
PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/default modul
es
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
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is
valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f
or C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC bu
t not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but n ot for C++
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunV M(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterStat e$rsp’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterStat e$rip’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterStat e$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterStat e$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunV M(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterStat e$rsp’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterStat e$rip’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterStat e$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterStat e$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rsp’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rip’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMDriver*, Vcpuid)’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rsp’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rip’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rsp’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rip’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$cs’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$rsp’ may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$rip’ may be used uninitialized in this function
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/compat.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/linux-2.6.16.13-4-obj/i386/default'
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.
The following bridged networks have been defined:
All your ethernet interfaces are already bridged.
Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] y
Configuring a NAT network for vmnet8.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] y
Probing for an unused private subnet (this can take some time)...
The subnet 192.168.30.0/255.255.255.0 appears to be unused.
The following NAT networks have been defined:
Do you wish to configure another NAT network? (yes/no) [no] n
Do you want to be able to use host-only networking in your virtual machines?
[yes] y
Configuring a host-only network for vmnet1.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] y
Probing for an unused private subnet (this can take some time)...
The subnet 192.168.62.0/255.255.255.0 appears to be unused.
The following host-only networks have been defined:
Do you wish to configure another host-only network? (yes/no) [no] n
Extracting the sources of the vmnet module.
Building the vmnet module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.16.13-4-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/default modules
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
The configuration of VMware Workstation 5.5.1 build-19175 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
suse-sql:/opt/vmware-any-any-update101 #
/*************************************************************/
Rabu, 28 November 2007
Instalasi VMWare di SUSE Linux 10.1
dhestrex Wellcome to my Blog made 10.29
Subscribe to:
Posting Komentar (Atom)
0 Comments:
Post a Comment