Install Linux Server on Virtual Machine
- Oliver Santana
- Oct 2, 2019
- 3 min read
Updated: Dec 9, 2019
By Oliver Santana
Install Virtual Box
First thing you want to do is install a Virtual Machine on to you computer. There’s plenty of distributors to choose from but for the purposes of this documentation I chose Oracle’s Virtual Box since it’s free (https://www.virtualbox.org). Then choose which operating system your computer is currently running. My computer was running Windows 10 so I chose a Windows host installation package. Once it’s downloaded just run the virtualbox.exe and install as normal.
Installing Linux CentOS 7 VM Server on Windows
Once you have the Virtual Machine installed the next step is to download the Linux CentOS 7 iso. You can go to the centOS.org website to download the iso. Here’s a link if you can not find it (https://wiki.centos.org/Download). After you’ve downloaded the zip file export the iso from the file to somewhere you can find it easily. Next you need to open Virtual box click on New in the new window add your machine name, the folder you want to save it in, Type = Linux, and the version which is 64 bit or 32 bit depending on the iso version you download then hit “Next”. Choose your memory size which 1024 mb is recommended then hit “Next”. Now you should be presented with 3 options choose the option “use an existing virtual hard disk file” and navigate to the iso file you exported then hit “Create”. Your machine will be created and you can now power it on. For the first time use the password is the same as the username which should be osboxes.org. Once you sign in if you have the GUI like me you can just go to your applications to access the terminal.
Installing Ubuntu Server on Raspberry Pi
First you’re going to need a couple things to complete this. First off you’re going to need a Raspberry Pi (I have a Pi 3) , then a micro SD at least 16gb, a micro SD card reader, and lastly you’ll need to download a couple things. Once you have everything you need you can do a quick google search of ubuntu server for whichever version of Raspberry Pi that you have. For me I have a Raspberry Pi 3 so I used this link: (http://cdimage.ubuntu.com/releases/bionic/release/ubuntu-18.04.3-preinstalled-server-arm64+raspi3.img.xz?_ga=2.163067068.1434434060.1568537303-1640665208.1567925000)
Once you download that you’re going to want to want to put your micro SD card into your computer using the SD card reader. Format the SD card to FAT32. While thats be configured you can export the Raspberry Ubuntu Server iso from the zip file you downloaded. Next you will need to download Win32DiskImager so you can install the iso onto the SD card. Once it’s download open the Disk imager and under the Image File tab navigate to the Raspberry Pi Ubuntu iso and open it. In the Device tab choose the drive where your SD card resides. Then click write and wait for it to finish. Now you can eject your SD card and plug it into your Raspberry Pi. The way you can tell if you installed the iso right onto your SD card is when you turn you Pi on the light should be red and then a green light turns on. If the red light is only showing you probably installed it wrong and need to try again. Once you have it running you will be asked to put in username and password. The username and password is ubuntu. The first time you sign in it will ask you to make a new password after that you’ll be free to play around!

Comments