SQL Server on Linux Installation – Part2 – Install Ubuntu Server

In the first part of this series, we learned how to a create virtual machine using Windows Hyper-V. Now, we are going to perform a step-by-step basic installation of the Ubuntu Server on the created virtual machine. Once you complete the Ubuntu Server installation, we will perform SQL Server installation in third part of the series blog.

Installing Ubuntu Server

  • Go to “Hyper-V Manager”; select the created server, right click and start and connect to the machine

01startandconnctvm

  • The moment you are connected to the virtual machine, you will language screen. Select the language

02chooselanguage

  • On the next screen, you will see “Install Ubuntu Server” option. Hit enter to go to next step

03installubuntuserver

  • Select the language which you want to use during Ubuntu Server installation process

04slctlanguage4inst

  • Select the geographical/Country location to set your time zone

05slctcuntry

  • On this step, you can customize your keyboard. Since people use country wise inbuilt default keyboard so click on “No”.

06configthekeyboard

  • This tab gives you an option for manual keyboard selection. Choose the country for origin for  keyboard “English (US)”

07cunty4keyboard

  • Select the keyboard layout English (US)

08keyboardlayout

  • Once you hit “Enter” at the previous step, the system will start detecting the hardware to find a CD-ROM drive, any additional components, network – IP autoconfiguration and so on. Once the system is done with identifying required hardware, It will bring you on the tab where you need to key the hostname and click on “Continue”

09hostname

  • Create a new user account and give the full name of the user. Giving the full name of the user helps in auditing.

10crtuseracc1

  • This step gives you the option to choose a short username for login instead of keying the full username every time.

11useracc

  • Key the new user account password

12keythepasswrd

  • Re-enter the new user account password

13reenterthepasswrd

  • The best to follow your company policy to select the option “Encrypt your home directory”. If you are doing the installation for general purpose, my recommendation is to go with “No” option because it makes the recovery process easier in the case of data corruption.

14encryptdirectory

  • Verify the time zone – If it is not correct, kindly go back and correct it. If you have already selected everything correctly, please go ahead and hit Yes

15verifytimezone

  • When you hit “Yes” on the previous tab, the installation will start detecting disks, and other hardware and will bring you at disk partition tab. I am going to select “Use entire disk” to complete the installation. 

16diskpartition

  •  Select the disk to format and hit enter

17diskpartitionscsi

  • On this tab, it is going to format the selected disk with Ubuntu’s default file system EXT4

18diskpartitionext4

  • Now, it is formatting the drive and creating EXT4 file system.

19diskformatting

  • The installation process is copying data

21configapt

  • If you want to use HTTP proxy, please key the details of the proxy in the input box. Since I am not using any proxy so I will skip this step by hitting “Continue”

22proxy

  •  Once you skip the proxy setting at previous step, the Installation process continues to complete other configurations

23configapt

  • At this step, you configure how to install updates. I am going with “No automatic updates” option.

25noautomaticupdates

  • At this step, you can choose the adhoc software to install during the server installation, or you can install it later also. I am skipping as of now.

26sftwreselection

  • The Installation process continues the installation of rest of the software

28installsoftware

  • Hit “Yes” to install grub to the Master Boot Record

29bootloader

  • Hit “Continue”, it will reboot your system, and you are done :)!

31finish-installation

  • Once the server is up, you can key username & password to continue…

32unbuntusrv

Now, you have completed the installation of Ubuntu Server. In the third post, we will be installing SQL Server on the Ubuntu Server.

Happy learning!

2 thoughts on “SQL Server on Linux Installation – Part2 – Install Ubuntu Server

  • Ajay

    Thanks Bhai

    Reply
    • Dharmendra

      Thanks Ajay! I am happy you liked it!

      Reply

Leave a comment

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