GNS3: Menambahkan Image Ubuntu Server di VirtualBox

From OnnoWiki
Revision as of 06:48, 25 July 2015 by Onnowpurbo (talk | contribs) (→‎Clone)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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