Ubuntu Installation on VMware workstation

In this post I will walk you through the Ubuntu server installation on VMware workstation. This post is actually related to the Kubernetes Cluster Setup.

To start the installation, first you need Ubuntu server or desktop ISO and VMware workstation ISO, which can be downloaded from Ubuntu and Workstation.  You can use Ubuntu desktop version also, but I prefer server edition.

Note – By default workstation comes with the 60 days of evaluation period. If you want to use beyond that you need a license.

Step 1 –

Installation of VMware workstation.

You can follow this link Workstation installation procedure.

Step 2 –

Configure the networking in the VMware workstation.

I am using the NAT setting because I would like to connect to the internet to download the latest patches directly on to the system.  Sample NAT configuration is shown below

  1. Click on the ‘Edit’ and go to the ‘Virtual Network Adapter’VMware Workstation network editor
  2. As you can see there are number of virtual network adapter, I choose vmnet0 for my NAT settings. Keep all values default.

Workstation network editior

 

Step 3 –

Create a Virtual machine

A.  Select File –> New Virtual Machine  or your can select Ctrl + N,  it will open the virtual machine creation wizard.

Workstation Create Virtual machine

B. Click on Custom Option. The typical option will not give you some option like changing RAM and CPU size. We can change that later but I would like to configure/set the RAM and CPU size at the beginning. Click on Next

Workstation VM

C. Keep the default values as shown in below picture.

 

VMware Workstation setting

D.  Please click on the browse to select the Ubuntu ISO which you downloaded earlier. By default it will be under Downloads folder.

VMware Workstaion VM creation

E.  You can specify the VM name on this screen. I am choosing this VM to be my Master VM. The location box will hold the virtual machine files. We can keep it default.

VMware Workstation

F. Select the number of CPU you want for this VM.

VMware Workstation

G. Select the RAM size you want to configure for this VM.

VMware Workstation RAM sizeH.  It will ask you to choose the networking connection type, keep the default one. I will explain later how to choose the network adapter which we created in Step 2.

VMware Workstation Networking

I. For next two settings, keep the default values.

J. Here it will ask you to create hard disk.(Other two options are for advanced users, we can ignore them)

VMware Workstation

K. Select the hard disk size you want. I am creating 40 GB hard disk for this VM, select the option “Store virtual disk as single file”

VMware Workstation harddisk

L. Click on Next, then on the summary page click on the “customize hardware” check box.

VMware Workstation Networking

Under the “custom” option, please select the “vmnet0” which we created in step 2. Once you select the network adapter click on close and finish. It will power on the virtual machine with the ISO we attached.

Step 4 –

Installing Ubuntu operation system

A. Once VM is powered on, it will ask you to choose Language. Please select based on your preference.

Ubuntu Installation

B. In this screen select the Keyboard layout.

Ubuntu Keyboard layout

C.  Network interface configuration.  Since we selected NAT setting, it will fetch the IP address on its own.

Ubuntu network setting

D.  If your organization is using any proxy, please enter in the below screen.

Ubuntu proxy setting

E.  Ubuntu will populate the mirror address. If you want you can change it.

Ubuntu Mirror address

F. Choose the disk for the Ubuntu installation.  I have configured only disk so only that disk is showing.

Ubuntu installation disk

G. Ubuntu will crate basic partition on this disk, leave the settings as it is. Once you click on Done, it will ask you for the confirmation, click on continue.

Ubuntu partition

Ubuntu partition confirmation

H. Update the username, password and server name

Ubuntu username

I. Install Open-SSH server ( this will help to enable / to do SSH to the machine)

Ubuntu OpenSSH

J. Optional window, please select the required package if you want them to be installed with OS.

Ubuntu package installation

K. The installation will take few minutes depending on the internet speed (As it install additional patches from Ubuntu mirror/repository).  Once done you will get option to reboot the machine.

Ubuntu Installation

 

I hope you liked this article on the Ubuntu installation on VMware workstation. Feel free to comment/suggest.

Happy reading. !!!  Stay safe.

One comment

Leave a Reply