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
- Click on the ‘Edit’ and go to the ‘Virtual Network Adapter’
- As you can see there are number of virtual network adapter, I choose vmnet0 for my NAT settings. Keep all values default.
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.
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
C. Keep the default values as shown in below picture.
D. Please click on the browse to select the Ubuntu ISO which you downloaded earlier. By default it will be under Downloads folder.
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.
F. Select the number of CPU you want for this VM.
G. Select the RAM size you want to configure for this VM.
H. 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.
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)
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”
L. Click on Next, then on the summary page click on the “customize hardware” check box.
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.
B. In this screen select the Keyboard layout.
C. Network interface configuration. Since we selected NAT setting, it will fetch the IP address on its own.
D. If your organization is using any proxy, please enter in the below screen.
E. Ubuntu will populate the mirror address. If you want you can change it.
F. Choose the disk for the Ubuntu installation. I have configured only disk so only that disk is showing.
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.
H. Update the username, password and server name
I. Install Open-SSH server ( this will help to enable / to do SSH to the machine)
J. Optional window, please select the required package if you want them to be installed with OS.
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.
I hope you liked this article on the Ubuntu installation on VMware workstation. Feel free to comment/suggest.
Happy reading. !!! Stay safe.
One comment
Comments are closed.