Difference between revisions of "Instalasi VirtualBox di Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
(New page: How to install Virtualbox in Ubuntu Feisty Virtualbox is a new opensource virtualization solution made by Innotek. It has all the features that vmware offers and is a smaller download and...)
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
How to install Virtualbox in Ubuntu Feisty
+
Install paket berikut
  
Virtualbox is a new opensource virtualization solution made by Innotek. It has all the features that vmware offers and is a smaller download and easier to install. It therefore appears poised to replace vmware as the main virtualization software in Ubuntu. This is a brief howto for installing Virtualbox on Ubuntu Feisty. It is based on two installations I did recently. By providing the relevant instructions on one page, I hope to make it easier for others to follow. Any feedback about problems or suggestions to improve the tutorial are welcome. Here we go.
+
# apt-get install libqt3-mt libxalan110 libxerces27
  
First install the dependencies that are not present in Feisty by default.
 
  
sudo aptitude install libqt3-mt libxalan110 libxerces27
+
Ambil versi / paket terbaru dari VirtualBox dari
  
Now download the debian package for edgy and install it.
+
http://www.virtualbox.org/download/
  
*UPDATE: A debian package is now available for Feisty. Replace 'edgy' with 'feisty' in the next two lines to use it.
+
Lakukan instalasi menggunakan dpkg berikut
  
cd /tmp
+
# dpkg -i virtualbox_1.5.6-28266_Ubuntu_gutsy_i386.deb
wget http://www.virtualbox.org/download/1.3.8/VirtualBox_1.3.8_Ubuntu_edgy_i386.deb
 
sudo dpkg -i VirtualBox_1.3.8_Ubuntu_edgy_i386.deb
 
  
You will have to accept the PUEL license and select "yes" when asked if the vboxdrv kernel module should be compiled. The kernel should be created successfully now. A group called vboxusers is created and you have to add yourself as a user of this group.
+
VirtualBox akan membuat vboxdrv kernel modul & group dengan nama vboxusers. Masukan username kita ke vboxusers. Logout dari "root", login sebagai user kita biasa, dan masukan user kita dalam group vboxusers menggunakan perintah
  
sudo adduser $USER vboxusers
+
$ sudo adduser $USER vboxusers
  
If you want to access usb devices from the virtual machine, follow these steps. You can omit them and directly reboot if you are not going to be using usb devices from the guest.
+
Jika kita ingin mengakses usb device di virtual machine, kita perlu melakukan hal di bawah ini. Jika tidak ingin menggunakan usb device, kita dapat meloncati proses di bawah ini
  
sudo addgroup usbfs
+
$ sudo addgroup usbfs
sudo adduser $USER usbfs
+
$ sudo adduser $USER usbfs
  
** For the next step you have to know the id for the usbfs group that you have created. To do this try
+
Untuk mencek ID dari usbfs apakah berhasil dengan baik dibuat atau belum dapat melakukan perintah berikut,
  
cat /etc/group | grep usbfs
+
$ cat /etc/group | grep usbfs
  
and look for the number after "usbfs:x:". In the next command, replace 1002 in the next command with this number**
+
Lihat baik-baik nomor sesudah "usbfs:x:". Lakukan perintah berikut, ganti 1001 dengan nomor yang anda dapat dari usbfs:x tersebut
echo "none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0" | sudo tee -a /etc/fstab
 
  
Now reboot to allow the new group and user permissions to be updated.
+
$ echo "none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0" | sudo tee -a /etc/fstab
  
start VirtualBox
+
Reboot mesin yang kita gunakan agar group baru & user permission dapat di update.
  
VirtualBox &
+
start VirtualBox menggunakan perintah
  
Once you create a virtual machine and install an OS on it, you may want to set up a shared folder between the host and the guest. Suppose the name of the virtual machine is "winXP" and the folder you wish to share is at /home/user/shared. Power off the virtual machine and then do this :
+
$ VirtualBox &
  
VBoxManage sharedfolder add winXP -name "sharedfolder" -hostpath "/home/user/shared"
+
Jika anda di tanya lisensi PEAL, isi saja & klik "I Agree" seperti biasa :) ..
  
Now you can mount the shared folder within the guest. For a windows guest you would boot up and then in the terminal type
 
  
net use G: \\vboxsvr\sharedfolder
 
  
Now you should be able to access the shared folder from within the guest and the host systems. To access a USB device from the guest, select the device in the USB controller in VirtualBox and enable it. Remember that the device may not be accessible to the guest if it is mounted in the host.
+
 
 +
 
 +
==Pranala Menarik==
 +
 
 +
* [[VirtualBox Virtual Machine di Linux]]
 +
* [[Instalasi VirtualBox di Ubuntu]]
 +
* [[Instalasi VirtualBox di Ubuntu Mengunakan apt-get]]
 +
* [[Menempelkan Interface VirtualBox ke Interface Mesin Host]]
 +
* [[Linux Howto]]
 +
 
 +
[[Category: Linux]]

Latest revision as of 08:21, 27 March 2011

Install paket berikut

# apt-get install libqt3-mt libxalan110 libxerces27


Ambil versi / paket terbaru dari VirtualBox dari

http://www.virtualbox.org/download/

Lakukan instalasi menggunakan dpkg berikut

# dpkg -i virtualbox_1.5.6-28266_Ubuntu_gutsy_i386.deb

VirtualBox akan membuat vboxdrv kernel modul & group dengan nama vboxusers. Masukan username kita ke vboxusers. Logout dari "root", login sebagai user kita biasa, dan masukan user kita dalam group vboxusers menggunakan perintah

$ sudo adduser $USER vboxusers

Jika kita ingin mengakses usb device di virtual machine, kita perlu melakukan hal di bawah ini. Jika tidak ingin menggunakan usb device, kita dapat meloncati proses di bawah ini

$ sudo addgroup usbfs
$ sudo adduser $USER usbfs

Untuk mencek ID dari usbfs apakah berhasil dengan baik dibuat atau belum dapat melakukan perintah berikut,

$ cat /etc/group | grep usbfs

Lihat baik-baik nomor sesudah "usbfs:x:". Lakukan perintah berikut, ganti 1001 dengan nomor yang anda dapat dari usbfs:x tersebut

$ echo "none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0" | sudo tee -a /etc/fstab

Reboot mesin yang kita gunakan agar group baru & user permission dapat di update.

start VirtualBox menggunakan perintah

$ VirtualBox &

Jika anda di tanya lisensi PEAL, isi saja & klik "I Agree" seperti biasa :) ..



Pranala Menarik