SQL Server on Linux Installation – Part1 – Create Virtual Machine

The series of this blog provide you a complete walkthrough of SQL Server on Linux installation processes. It includes the creation of Hyper-V virtual machine, Installation of Ubuntu Server, Installation of SQL Server and SQL Server Tools on the Linux machine.

  • The first part of the “SQL Server on Linux Installation” blog will talk about how to create Hyper-V virtual machine.
  • The second part of the blog will show you step by step installation of the Ubuntu Server on the created virtual machine.
  • The third part of the blog we will be installing SQL Server on the Linux machine.
  • The fourth part of the blog we will be finishing SQL Server Tools installation on the Linux machine.

Let’s walkthrough the first section of the series to create a virtual machine;

  • The first thing you need to download the bootable media of the Ubuntu Server. By the time, the media is being downloaded we can move to next step
  • Go to your Windows machine’s run command dialog box and type “virtmgmt.msc” and click OK. I am assuming that you have already turned on the Windows feature “Hyper-V”
  • Once Hyper-V manager is open, right click on the host name which is coming under “Hyper-V Manager”, go to “New” option, and click on the option “Virtual Machine” to create a new virtual machine

001createvm

  • Key the name of the new virtual machine and navigate the location where you want to keep the files of the machine, and click “Next”

02servernamelocation

  • Select the generation of the virtual machine as per your requirement and click “Next”

03slctgenofmachine

  • Assign minimum 4 GB of memory to the system and click “Next”

04assignthememory

  • Select external network adapter so that you can access the internet and click “Next”.

Note: To access the internet on a virtual machine; please follow the article – Configure Networking for Hyper-V

05congnetwork

  • Create a virtual hard disk. The minimum space requirement is 4GB for the installation, but it is always good to have a bigger size of a drive so that you can restore a couple of SQL Server database backups. Click “Next”

06disksize

  • The media which you downloaded at first step, kindly select the media as per below image.

07installationmedia

  • Click on “Finish”, and you are done with creating Hyper-V virtual machine.

08finish

It was pretty quick and easy steps to follow. In the second post, we will be doing step by step installation of the Ubuntu Server on the created virtual machine.

Hope, you enjoyed learning the first part of SQL Server on Linux Installation. Please do share your experience by commenting below!

11 thoughts on “SQL Server on Linux Installation – Part1 – Create Virtual Machine

  • Chaitanya

    Awesome as always………!!! Thanks a lot.

    Reply
    • Dharmendra

      Thanks Chaitanya! I hope it was helpful.

      Reply
  • Binit Rai

    Nice Article….

    Reply
    • Dharmendra

      Thanks! I am glad you liked it…

      Reply
  • Aditya C

    As always , you will rock with your posts… fantastic one Dharmendra 🙂

    Reply
  • Dharmendra

    Thanks Aditya Ch!

    Reply
  • Jai

    Brilliant..

    Reply
    • Dharmendra

      Thanks Jai!

      Reply
  • Pradip Patel

    Brilliant work Dharmendra , it will help a lot…….

    Reply
    • Dharmendra

      Thanks Pradip!

      Reply
  • Veera Nagabrahmam Gatta

    Thanks a lot for your help to our SQL server DBA’s, I learn many new things by your posts.

    Reply

Leave a comment

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