Installing Ubuntu 18.04 on Virtual Machine

Hey,

Today we will discuss about installing Ubuntu 18.04 LTS on a Virtual Machine MacOS Mojave.

 

Prerequisite :

  1. Virtual Machine on macOS Mojave. (For this tutorial I prefer VMWare Fusion. But you can work on any software comfortable).
  2. Download Ubuntu 18.04 Server Image (http://releases.ubuntu.com/18.04/)

Custom Virtual Installation

  • Assign 2 processor to your virtual machine
  • Allocate 2GB RAM
  • Minimum of 8GB of memory space (For this example is have assigned 15GB memory space)
  • Internet connection (Check if the system is bridged or not. If it is not bridged do that as we will be needing the internet to install extra packages).

Step 1 : Select Language

For this tutorial we will be selecting the system language to be English, but feel free to select any language that you like as a system language.

Language Selection

 

Step 2 : File system setup – Disk formatting.

Check if the disk shown in the menu is the same disk space allocated using initial setup of virtual machine. If so than navigate to the option “Done” and press Enter

On selecting “Done” it will ask you if you are sure you want to format the selected disk. Navigate to “Continue” and press Enter

 

Step 3 : Create an user.

Next the a form will be shown. It will ask for the user details and server details. This user is the admin user so keep in mind the username and password which you input. The server name is the name of the system which it will use to communicate within the network.

 

Step 4 : Install OpenSSH Server.

We will need ssh to remotely access the server as well as upload or download the files from the server. Navigate to the “Install OpenSSH Server” and press Space Bar to select. Select no for Import SSH Identity (This is used if you are using any open source project management software to sync with the server. Eg. GitHub)

Skip the next step as we will not be installing any of the software right now. The Installation process might take up to 10 minutes. Updates will also be installed if any (You can opt to ignore those if you wish to install it at a later stage). After the installation if completed, you will be prompted to press Enter key to remove the installation disk. Press Enter.

The system will reboot and ask for your username and password (The admin user which was created during the installation).

 

Step 5 : Check and install updates.

Initial updates are done during installation if you have not opted to ignore those but it is a good habit to check for system or security updates even after installation.

To check the updates use the following command :-

You will be asked to type in the admin password do so (For security reasons the password will not be shown in the system when you type it). You will also be asked to type in “Y/y” if you want to continue. It might take few minutes depending on your updates and internet speed.

 

Conclusion

That’s it, we have finally installed Ubuntu 18.04 Server on a Virtual Machine. To learn how to install LAMP Server on Ubuntu 18.04 LTS click here.

Thanks.

Parth Shah

Full-stack developer with experience in configuring and maintaining Google Cloud Platform and Linux servers, Customizing of open-source projects. I have amazing tricks related to Cloud and servers. Can code in ASP.NET C#, PHP, Python with databases like MySQL and MS-SQL. I can work with Django 2.2(Python) and WordPress (PHP) frameworks I am a cyber security enthusiast.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *