Search Suggest

SQL Server, install Windows 11 and SQL Server 2019 step by step

 Hi Guys,


Welcome to the today's post. 

In the past posts we have seen how to install ubuntu and SQL Server 2019 for Linux step by step.
Right now I'm making the comparison benchmarks between SQL Server 2019 for Windows and the one for Linux (ubuntu 20.04 lts) so today I'll show you how to install Windows 11 and SQL Server 2019 always step by step.

In fact, in the next post to make the comparison we will run the same T-SQL command script by launching it from a virtual machine with Windows 11 e SQL Server 2019 and on a Virtual Machine with ubuntu 20.04 lts and SQL Server obviously for Linux.
This way the comparison will be even. Same amount of RAM and same disk (SSS).

Enjoy the reading.

 

Windows 11 installation

 

First of all we need to go on this page of the microsoft site  and download the Windows 11 iso image.

As of today this is the file I downloaded :

 
 

Run the VMware Player (we have seen here how to install it) and from the File Menu choose the item "New Virtual Machine":

VMPlayer add new machine

Indicates the path where you put the downloaded image, this time however VMPlayer does not recognize which operating system is contained in the ISO image!

VMPlayer installer disk image file

Choose "Microsoft Windows" as guest operating system an "Window 10 and later x64" as version and click on the Next button.

VMPlayer choose machine type

If you want you can choose the location of the physical file of your VM then press the Next Button:

VMPlayer choose location of physical files

Now you can set the size of the VM image. 

By deault in this case our VM will occupy 60GB and you can change this value.

Then press the next button:

VMPlayer choose VM size

Summary of settings.

Press Finish button:

VMPlayer summary of settings


 

Now, we have a bug problem:  Our free edition of VMware 16.2 does not support the TPM capability required by windows 11. But we will add it!

 

Add to VMware 16.2 the TPM capability

First find the folder where the VMX file is located:

WMware Player add TPM capability

 

Open the vmx file with the notepad and add the following line:

managedvm.autoAddVTPM = "software"

WMware Player add TPM capability. edit vmx. autoAddVTPM

Save the file.

Now VMplayer has this option:

WMware player autoAddVTPM TPM

..And we can start the installation of our operative system!



To do this, you should press play to start the VM.

The installation of the operation system begin..

Install Windows 11 on WMware player 16.2

Choose the right values of the options and press next button:

Install Windows 11 on WMware player 16.2

Press now the button install now:

Install Windows 11 on WMware player 16.2

Choose now i don't have a production key (we are only trying this software)

Install Windows 11 on WMware player 16.2

 

Choose which version you want to try.

I choose the Pro Version, then Press Next button

Install Windows 11 on WMware player 16.2

Accept the Licence Terms:

Install Windows 11 on WMware player 16.2

Go with the Custom option!

Install Windows 11 on WMware player 16.2

A minimun of 60 GB are required:

Install Windows 11 on WMware player 16.2

During the installation:

Install Windows 11 on WMware player 16.2

A restart..

Install Windows 11 on WMware player 16.2

And Windows 11 is started!

Now just some configurations . ...as usual...Choose the country and the keyboard layout.

Install Windows 11 on WMware player 16.2

 

Give a name to the machine:

Install Windows 11 on WMware player 16.2

 

Adn finally it happens!

This is Windows 11:

Install Windows 11 on WMware player 16.2


We are now ready to install also SQL Server 2019!



SQL Server 2019 installation

Go to the microsoft SQL Server download page here and download the developer version

Execute the downloaded file:

Choose the Custom installation type:


Now choose the path and press install:

Now waint for the end of the download of the package:


Choose from the Installation menu the "New SQL Server stand-alone installation"


Specify a free edition and press next:


 Accept the terms and press next button:

Check  "Use microsoft Update ..."

Choose features wanted ... at least the database engine service. You could add other feature later.


The default instance is ok for us:

Press next..

Here you can choose the authentication mode:

Use mixed mode in order to use both windows and SQL user.

Use Windows mode to use only windows users.

I choose the Mixed mode.

Then set a password for the user SA and press "add current user"


A summary then ...press install button:

And finally.. the installation come to the end ...without errors:


Now your SQL Server 2019 (developer edition) is ready.
Just remember to install the management studio (ssms.exe).


That's all for today mates!

In the next post we will do comparisons and benchmarks between SQL Server 2019 for windows and SQL Server for Linux. 
Who will be the fastest?
 
Stay tuned,
Luca


 






Next post:

Previous post: SQL Server: let's install SQL Server command line tools for Linux and run the first query!

Post a Comment