wiki:NSM2021/Agenda/ubuntuvm

Version 20 (modified by tuwan, 4 years ago) ( diff )

--

(Note down the location of vdi image file when virtualbox flashes it on the screen)

Setting up Network Interface

  • Select the VM from left panel on Virtual box, right click and open Settings
  • Click on the Network title
  • On Adapter 1 While Enable Network Adapter selected choose Attached to be Bride Adapter. This virtual interface will work as the WAN port of the firewall (Can be connect from out side).= Linux Hands - On =

Through this hands-on you will install Ubuntu Server on a vm and you will make additional two clones of the installed ubuntu server for your lab sessions in next two days.

Setting up virtualbox

Installation of virtualbox and Downloading Ubuntu iso image

Creating the VM

  • Start virtualbox and Click on New button to create new virtual machine
  • Enter name of the VM as: LibreNMS Or iCinga.
  • Select OS Type: Linux
    • Select Version: Ubuntu (64-bit)
    • Then click on Continue button
    • Set VM's memory size to 4096MB and click on Continue button
    • Set VM's hard disk option to Create a virtual hard disk now and then click on Continue
    • Select disk type to VDI
    • Select storage type to Fixed size and Continue
    • adjust the disk size to 50.0GB and click on Create to create the VM

This might take couple of minutes

(Note down the location of vdi image file when virtualbox flashes it on the screen)

Setting up Network Interface

  • Select the VM from left panel on Virtual box, right click and open Settings
  • Click on the Network title
  • On Adapter 1 While Enable Network Adapter selected choose Attached to be Bride Adapter, then select the name of the network (please select only LAN connection, later it will help you to access switches) This virtual interface will work as the WAN port of the firewall (Can be connect from out side).

Setting up boot device and Booting

  • Click on Storage title and select CD ROM icon with Caption "Empty" under the Controller:IDE, Click on CD ROM icon under the Attribute on the left side to select
  • Choose Virtual Optical Disk File
  • Locate the Ubuntu CD Image file you downloaded from the above mentioned link. Press OK to close the settings window.
  • Right click on VM and select Start to make a Normal Start. You should now see a separate window with Installation screen"

Installation

Initial Installation options

  • Select English as language for the installation wizard
  • Select Ubuntu Server
  • Select English for VM's OS language
  • Select location by Others->Asia->Sri Lanka
  • Keep locales as default United States
  • Press No for configure Keyboard
  • Select English (US) for country of origin for the keyboard

Now it might take sometime to detect the hardware and load the necessary Linux modules

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.