| 7 | == Setting up virtualbox == |
| 8 | |
| 9 | === Installation of virtualbox and Downloading Ubuntu iso image === |
| 10 | - Download and install virtualbox 5.0.x |
| 11 | - Download [http://192.248.4.214/ubuntu-18.04-server-arm64.iso Ubuntu 18.04] Ubuntu image from the LEARN mirror |
| 12 | - Note down the location of downloaded iso file |
| 13 | |
| 14 | === Creating the VM === |
| 15 | - Start virtualbox and Click on New button (at top-right) to create new virtual machine |
| 16 | - Enter name of the VM as: '''Ubuntu'''. You can get your domain from [wiki:netsecIP here] |
| 17 | |
| 18 | eg: linux.user1.ws.learn.ac.lk |
| 19 | |
| 20 | - Select OS Type: '''Linux''' |
| 21 | - Select Version: '''Ubuntu (64-bit)''' |
| 22 | - Then click on '''Continue''' button |
| 23 | - Set VM's memory size to '''1024MB''' and click on Continue button |
| 24 | - Set VM's hard disk option to '''Create a virtual hard disk now''' and then click on '''Continue''' |
| 25 | - Select disk type to '''VDI''' |
| 26 | - Select storage type to '''Fixed size''' and '''Continue''' |
| 27 | - Make sure virtual hard disk file name in following format |
| 28 | '''Ubuntu''' |
| 29 | - adjust the disk size to '''12.0GB''' and click on '''Create''' to create the VM |
| 30 | |
| 31 | This might take couple of minutes |
| 32 | |
| 33 | (Note down the location of vdi image file when virtualbox flashes it on the screen) |
| 34 | |
| 35 | === Setting up Network Interface === |
| 36 | |
| 37 | - Select the VM from left panel on Virtual box, right click and open '''Settings''' |
| 38 | - Click on the '''Network''' title |
| 39 | - 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). |
| 40 | |
| 41 | === Setting up boot device and Booting=== |
| 42 | |
| 43 | - 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 |
| 44 | - Choose '''Virtual Optical Disk File''' |
| 45 | - Locate the '''Ubuntu CD Image''' file you downloaded from the LEARN ftp. Press OK to close the settings window. |
| 46 | - Right click on VM and select Start to make a '''Normal Start'''. You should now see a separate window with Installation screen" |
| 47 | |
| 48 | === Installation === |
| 49 | |
| 50 | Installation is quite simple. You can figure it out your self (Next... Next... Next) |
| 51 | |