Friday 31 March 2017

How to install Ubuntu server (Linux OS) in a virtual machine.



Welcome my dear readers, today am going to be writing on how to install an Ubuntu server (Linux OS) on a virtual machine using Virtual Box as an example which can also be applied to other virtual machine also.

There is a version of the Ubuntu server that is optimized for usage within a virtual machine. Which can be found here and can be downloaded onto your hard drive. It can then be installed directly into your virtual machine from the hard drive, or you can also burn the .iso image onto a CD and install Ubuntu Server into the virtual machine from the CD. Both methods works the same during the Ubuntu installation process.

Virtual Box supports both 32 and 64-bit guest OSs. However, if your host OS is 32-bit you cannot run 64-bit guest OSs. In general a 32-bit Ubuntu OS is safest. *Start the virtual machine you created, if you dont know to create a virtual machine on virtual box the post below could be of great help.

Now after creating your virtual machine in oracle Virtual Box, then you can follow the following steps to install a Linux OS on your VM:

 Virtualbox -> UbuntuVirtual1 (highlighted) -> Start The "First Run Wizard" will prompt for the location of the installation disk

-> Next -> CD/DVD-ROM device (ticked)

 -> Media Source:
1. Select the CD-ROM drive (if you burned the Linux (.iso) image onto a physical CD),
OR
 2. Browse for the folder where you stored the Linux (.iso) image onto your hard drive, if you did not burn it to a physical CD

-> Next -> * Install Ubuntu server virtual machine edition: The First Run Wizard will automatically start the LiveCD from the location you indicated, and you will see the Ubuntu Server LiveCD screen.

1. Choose language: English ->

2. Important: note this step carefully! Select the minimal virtual machine installation mode: Click the F4 (modes) key -> Install a minimal virtual machine ->

3. Install Ubuntu Server

 4. Select your installation options. When asked about partitioning, use the guided partitioning method and use the entire disk. This uses the entire virtual machine disk (which is 8 GB or whatever size you created when creating the virtual machine), not the entire physical hard drive disk.

5. Task selection. A menu will appear to select options for additional packages to be installed along with the server. Make sure these packages are starred use the space button to select them and the arrow keys to go up or down the list) before completing the installation.

6. (Optional) you will be prompted to enter a MySQL root user password during the LAMP server package installation. This password becomes important later on (in some instances). Record your chosen MySQL password in a safe location. Do not use your primary user password as the MySQL password; it ought to be unique.

Then finally, finish the Ubuntu server installation process. After successful installation the Ubuntu system will automatically reboot within the virtual machine. When it restarts, you will then have a fully functional Ubuntu Server within the virtual machine. Immediately update the operating system:
sudo apt-get update sudo apt-get upgrade.

I sincerely hope this post was helpful, if it was please like our facebook and twitter page also subscribe to our mail box to get instant update were ever you are, and please share your thoughts about this post in the comment section, thanks.
Share:
Free Updates to your Inbox
Follow us:
facebook twitter gplus rss

0 Response to "How to install Ubuntu server (Linux OS) in a virtual machine. "

Post a Comment