Difference between revisions of "GNS3: Menambahkan Image Ubuntu Server di VirtualBox"

From OnnoWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Kita perlu mempersiapkan Ubuntu Server dalam VirtualBox agar nantinya dapat menggunakan Ubuntu Server untuk GNS3.
 
Kita perlu mempersiapkan Ubuntu Server dalam VirtualBox agar nantinya dapat menggunakan Ubuntu Server untuk GNS3.
 +
 +
==Clone==
 +
 +
Nampaknya kita perlu membuat Ubuntu Server dalam VirtualBox sebanyak Ubuntu Server yang akan kita gunakan dalam simulator GNS3.
 +
 +
* Cara paling gampang adalah Klik Kanan pada mesin virtual yang sudah ada, pilih "Clone"
 +
* Pilih "Reinitialized the MAC address of all network cards"
 +
* Pilih "Full Clone"
 +
 +
==Cara Membuat Server Virtual==
  
 
Cara yang perlu dilakukan minimal adalah:
 
Cara yang perlu dilakukan minimal adalah:
  
 
* Jalankan VirtualBox
 
* Jalankan VirtualBox
* New
+
* Klik New
* type > Linux > Other 32bit > Name: Ubuntu Server > Next
+
* Pilih type > Linux > Other 32bit > Name: Ubuntu Server > Next
 
* Create a virtual hard drive now > Create > (VDI) VirtualBox Disk Image > Next
 
* Create a virtual hard drive now > Create > (VDI) VirtualBox Disk Image > Next
 
* File allocation and size > 8 GB > Create
 
* File allocation and size > 8 GB > Create
Line 16: Line 26:
 
* Settings > Network > Adapter 3 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
 
* Settings > Network > Adapter 3 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
 
* Settings > Network > Adapter 4 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All > OK
 
* Settings > Network > Adapter 4 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All > OK
 
  
 
==Load OS==
 
==Load OS==
Line 24: Line 33:
 
* Klik Start
 
* Klik Start
 
* Jika di tanya boot CDROM > Klik ubuntu-server.iso file
 
* Jika di tanya boot CDROM > Klik ubuntu-server.iso file
* Tekan ENTER > kita akan masuk ke console
+
* Lakukan proses instalasi Ubuntu Server seperti di komputer biasa.
 
 
  
 
==Shutdown Ubuntu Server==
 
==Shutdown Ubuntu Server==
Line 42: Line 50:
 
  sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli \
 
  sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli \
 
  php5-curl mysql-client mysql-server
 
  php5-curl mysql-client mysql-server
 
 
 
  
 
==Download Image Ubuntu Server==
 
==Download Image Ubuntu Server==
Line 54: Line 59:
  
 
Sangat di sarankan untuk menggunakan versi LTS (Long Term Support).
 
Sangat di sarankan untuk menggunakan versi LTS (Long Term Support).
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[GNS3]]
 
* [[GNS3]]

Latest revision as of 06:48, 25 July 2015

Kita perlu mempersiapkan Ubuntu Server dalam VirtualBox agar nantinya dapat menggunakan Ubuntu Server untuk GNS3.

Clone

Nampaknya kita perlu membuat Ubuntu Server dalam VirtualBox sebanyak Ubuntu Server yang akan kita gunakan dalam simulator GNS3.

  • Cara paling gampang adalah Klik Kanan pada mesin virtual yang sudah ada, pilih "Clone"
  • Pilih "Reinitialized the MAC address of all network cards"
  • Pilih "Full Clone"

Cara Membuat Server Virtual

Cara yang perlu dilakukan minimal adalah:

  • Jalankan VirtualBox
  • Klik New
  • Pilih type > Linux > Other 32bit > Name: Ubuntu Server > Next
  • Create a virtual hard drive now > Create > (VDI) VirtualBox Disk Image > Next
  • File allocation and size > 8 GB > Create

Setting

  • Settings > System > Boot order (buang Floppy)
  • Settings > Network > Adapter 1 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
  • Settings > Network > Adapter 2 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
  • Settings > Network > Adapter 3 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All.
  • Settings > Network > Adapter 4 > Enable Network Adapter > Attached to: Bridge Adapter > Advanced > Promiscuous Mode > Allow All > OK

Load OS

  • Masuk ke menu VirtualBox
  • Klik Mesin Virtual yang baru kita buat > Start
  • Klik Start
  • Jika di tanya boot CDROM > Klik ubuntu-server.iso file
  • Lakukan proses instalasi Ubuntu Server seperti di komputer biasa.

Shutdown Ubuntu Server

  • Di console Ubuntu Server
  • Ketik "halt"

Instalasi Berbagai Apps

Untuk instalasi berbagai apps, lakukan melalui VirtualBox

  • Pastikan ada sambungan ke Internet
  • Set /etc/apt/sources.list ke repo yang ingin kita gunakan
  • Instalasi aplikasi, misalnya:
sudo apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli \
php5-curl mysql-client mysql-server

Download Image Ubuntu Server

Download Image Ubuntu Server dari:

Sangat di sarankan untuk menggunakan versi LTS (Long Term Support).

Pranala Menarik