TECHNIG
Gateway for IT Experts and Tech Geeks

How to Install Ubuntu Server 15.10 on Hyper-v?

It’s amazing to use Ubuntu server as a network servers with Microsoft Windows Servers. I’m going to install Ubuntu server on hyper-v and trying to use this for my network infrastructure servers.

First of all download Ubuntu Server for Ubuntu official website. Currently Ubuntu server 15.10 is the latest version of Ubuntu Server, including the Liberty release of OpenStack and support for nine months – 64-bit only. For long term support of Ubuntu, download the Ubuntu Server 14.04.3 LTS.

Ubuntu virtual machines on Hyper-V

Fortunately Hyper-v support most of the Linux distributions such as Ubuntu, CentOS, Red Hat Enterprise Linux, Debian, Oracal Linux, Suse, FreeBSD etc. I recommend to your read “Best Practices for running Linux on Hyper-V” topic also. This document contains a list of recommendations for running Linux virtual machine on Hyper-V.

Install Ubuntu Server on Hyper-v

In or order to install Ubuntu Server on Hyper-v, create a hyper-v virtual machine and put the downloaded Ubuntu serve image on DVD drive and run it. If you are new in Hyper-v, read the bellow articles:

Follow the article or watch the Ubuntu Server installation video tutorial at the end of this article.

1. Start Ubuntu Server virtual machine on hyper-v, on the Language page select your language.

Select Languate - Install Ubuntu Server on Hyper-v
Select Languate – Install Ubuntu Server on Hyper-v

2. Select Install Ubuntu Server and press enter. This will normally install Ubuntu server on your hyper-v server.

Install Ubuntu Server 15 10 on Hyper-v
Install Ubuntu Server 15 10 on Hyper-v

3. Once again select the language. I don’t know why it ask twice for selecting languages? This selected language will be the default language of installed system.

Ubuntu Server Language
Ubuntu Server Language

4. Select you location to detect your time zone. Your country list might not be in this shortlist, select Other to find your country.

Select your location
Select your location

5. Select Yes to detect automatically you keyboard or No to select it manually.

Configure Ubuntu Server Keyboard
Configure Ubuntu Server Keyboard

7. I have selected No, and want to select country of origin for the keyboard manually. Select your language and press enter. On the next page, select the layout matching the keyboard for your machine and press enter. I have select English US.

Country of Origin for the keyboard
Country of Origin for the keyboard

8. Let the system load all additional components.

Loading Additional Components
Loading Additional Components

Note: If the virtual machine will not detect DHCP server for getting IP address, the network auto-configuration will be fail. You must configure network interface manually. 

Network Auto Configruation failed
Network Auto Configuration failed

9. My Ubuntu server virtual machine is connected to an external network card and assigned IP address by a Wireless device DHCP. Now pick up a host name related to your network production and Continue.

Ubuntu Server Host Name
Ubuntu Server Host Name

10. Type the full name of user then enter to Continue. On next page type a User Name.

Set up Users and Password for Install Ubuntu Server on Hyper-v
Set up Users and Password for Install Ubuntu Server on Hyper-v

11. Type a strong and complex password for security reason.

Set a Password for Ubuntu Server
Set a Password for Ubuntu Server

12. You may need to encrypt your home directory to secure your system, but for this testing lab I have select No.

Encrypt Your Home Directory
Encrypt Your Home Directory

13. For Ubuntu server hard disk configuration you can create partitions manually but for ease of configuration, I have chosen Guided – use entire disk and set up LVM.

Ubuntu Server Hard Disk Configuraiton
Ubuntu Server Hard Disk Configuraiton

14. Press enter and go to finalize the hard disk configuration.

SCSI3 - Virtual Hard Disk
SCSI3 – Virtual Hard Disk

15. Select Yes to write and apply the changes to hard disk.

Write the Changes to disks and configure VLM
Write the Changes to disks and configure VLM

16. Select the amount of volume group to use for guided partitioning and enter to Continue.

Select entire hard disk
Select entire hard disk

17. Finally select Finish partitioning and write changes to disk and press enter to apply it.

Finish Partitioning and Write Changes to Hard Disks
Finish Partitioning and Write Changes to Hard Disks

18. Select Yes to write the changes to disks.

Write the Changes to Disks
Write the Changes to Disks

Do nothing, let the system create the partitions and copying system files until prompt about something else.

19. When ask you about Configure the package manager, press enter to Continue. This will take too much time to complete the installation. So be patient.

Configure the package manager of Ubuntu Server
Configure the package manager of Ubuntu Server

20. Select No automatic updates and press enter.

No Automatic Updates
No Automatic Updates

21. Currently don’t install any Server rules. We will install these server rules in a separate article. So just Continue.

Choose software to install
Choose software to install

22. Select Yes to install the GRUB boot loader on a hard disk.

Install the GRUB boot loader on a hard disk
Install the GRUB boot loader on a hard disk

23. Finally the Ubuntu server installation has been finished successfully.

Ubuntu Server Installation has finished
Ubuntu Server Installation has finished

The system will restart now and when up again, type your user name and password to login.

Install Ubuntu Server – Video Tutorial

If you don’t like to read this long article, watch this 5 minutes video tutorials of installing Ubuntu Server on Hyper-v on Youtube: https://youtu.be/KPhW5aT_IvM

The final words and convolutions of install Ubuntu Server on hyper-v. This is the simple way to install Ubuntu server. We did not had partitioned had disk manually. If you want to partition hard disk to choose the exact space for drives, read a bit about hard disk types and formats for Linux.

Hope you find this article helpful and informative for installing Ubuntu server. Please comment us your question and suggestion.

Leave A Reply

Your email address will not be published.