How set up a Virtual Machine using VirtualBox

First of all download yourself a copy of VirtualBox here. Now there are two ways on how you can install VirtualBox: using the Terminal and Ubuntu Software Center (searching “VirtualBox”).

  • I doing it via Terminal using the commands: “sudo apt-get install virtualbox” Screenshot from 2014-05-27 13_34_30
  • After the installation is complete, run VirtualBox and select “New” to Create a New Virtual Machine. Enter a name for your machine, select a type and version. For this demonstration I specified my name as “MYUBUNTUSERVER”, selected “Linux” for type and “UBUNTU (x64)” for version. Screenshot from 2014-05-27 13_40_39
  • Memory size depends on the purpose you going to use the machine for. In my case I left the default size (512MB). Screenshot from 2014-05-27 13_41_06
  • Select the option “Create a Virtual Drive”.Screenshot from 2014-05-27 13_41_23
  • Choosing a Hard Drive File Type depends on the purpose you going to use the Server for. For this demonstration I selected VHD (Virtual Hard Disk). Screenshot from 2014-05-27 15_16_08
  • I selected “Dynamically allocated” because then my Hard drive will expand as needed, but if you choose to set a fixed size limit, then do so. Screenshot from 2014-05-27 15_16_31
  • Now set the limit to the amount of space the Virtual Hard drive can use. I set mine to 80GB. Screenshot from 2014-05-27 15_17_41When click on create you have successfully created a Virtual Machine and can now install almost any Operating System and use it as of it was a physical machine.

We will be using this Virtual Machine to setup a Virtual Linux Ubuntu Server, click here to follow.

You Snooze You Lose

Do you know how to navigate and manipulate text on a Terminal ?? Well, That’s exactly what we learned in Linux Group on Monday.   First install VIM via your terminal with the command: “sudo apt-get install vim”. That’s it, now you are set up and ready to use “vim”.

Default keys (H, J, K, L) is for moving around. Study the cheat sheet below and become efficient on the terminal.

vi-vim-cheat-sheet

vi-vim-cheat-sheet

There are many ways to learn “vim”, it all depends on you and how you would like to learn it. Here are two examples:

  • Learn “vim” while playing the game “VIM ADVENTURES”, (http://vim-adventures.com/) .th
  • A browser based interactive tutorial “VIM TUTOR”: http://www.openvim.com/tutorial.html   – OR –  just type in your terminal: “vim tutor”.

    vim tutor

    vim tutor

Be sure not to miss out our next Linux Group Session on the 26 May 2014 at Eunice High School 7’clock (19:00).