When first starting with Linux you will need to have a computer to run the operating system. The best way to get start is with a virtual machine. Virtualbox is a free alternative to VMWare that is brought to you by Oracle Corporation. In addition, it may be good to note the types of hyper-visor we are running since this is an introduction to Virtual Machines and Linux. There are two types of hypervisors when it comes to virtual machine software. A Type 1 hypervisor is when the code itself runs directly on top of your hardware. Type 2 is software such as Virtual Box or VMware which is run on top of your OS. In this case we will be using type 2.
- Firstly, we will need to download VirtualBox https://www.virtualbox.org/wiki/Downloads
- Download the binary thats compatible with your host operating system (Windows, Linux, & Solaris)
- Now install virtualbox by double clicking the download and click next, next, next, and install.
- Once you have finished the installation you will now need to get Ubuntu installation disk or ISO which you can find here: https://ubuntu.com/download/desktop and click the big green download button. This should take some time since its a fairly large file.
- Once you have the file downloaded we can now open virtual box and you will want to click new.
- Now we can name our VM! Note that if you use ubuntu in the name it will find the Type and Version for you.
- Now select how much ram you want to allocate to your VM. Depending on how much ram your host computer has you can allocate more as necessary. However, for the purpose this demonstration we will stick with the standard 1GB of ram.
- Now we will have to create a virtual hard disk and click next, next, and next.
Here you will want to select how much space you need for your VM which if you are going to use it a lot I’d recommend at least 25 gb.
and now you have created your VM!
- Here we will have to load the image into the VM after we click the green start button.
- Select the ISO file from earlier.
- After this you will get a prompt to install the VM. Run the VM in live mode for now (Try Ubuntu without installing) as will cover installing linux in the next post of this series.