Install SQL Server 2016 on Windows Server 2016 Server Core

Posted by Florent Appointaire on October 21, 2016
Share on Facebook0Share on Google+0Share on LinkedIn2Share on Reddit18Tweet about this on Twitter0
4.8/5 (5)

MS SQL Server logo

Because I have a small server at home, I try to win a maximum of space, for the storage and for the memory, by installing VM in Server Core. To note, it is very good for security/patches management.

It’s why, after installing my Hyper-V host and my first domain controller, on Windows Server 2016, I tried to install the SQL on a Server Core.

To start, I installed the VM and I added a second volume to store databases, logs and TempDb.

Use the Get-Disk command to see your second disks with his number, that will help you to format the volume:

Get-Disk command

To format and mount the volume, used the following command:

PowerShell command

PowerShell command

I can now see my volume SQL_Data :

PowerShell command

We can start the installation for SQL Server, in command line. You need to adapt this command with your values. To note that I’ll use this SQL for my System Center environment, it’s why, by installing my products in English, I used the SQL_Latin1_General_CP1_CI_AS collation:

PowerShell command

I noted that the reporting services can’t be installed on a Server Core. The installation was faster than in GUI  🙂

SQL Server 2016 setup

From my laptop, I opened the ERRORLOG file on the SQL Server, to see the port used by SQL Server, to open it in the firewall :

ERRORLOG file on the SQL Server

For me, I opened the port, with a GPO and I’ve done a gpupdate /force. I tested the connection from my laptop, where I installed SQL Server Management Studio :

SQL Server

SQL Server Management Studio

Enjoy  🙂

Related materials:

Views All Time
Views Today

Please rate this

To download the software products, please, make your choice below. An installer link and a license key will be sent to the e-mail address you’ve specified. If you consider StarWind Virtual SAN but are uncertain of the version, please check the following document Free vs. Paid. The recent build of Release Notes. A totally unrestricted NFR (Not For Resale) version of StarWind Virtual SAN is available for certain use cases. Learn more details here.

Return to all posts

Deploy VM Fleet to benchmark your storage system
You got SDN, now what
The following two tabs change content below.
Florent Appointaire
Florent Appointaire is Microsoft Engineer with 5 years of experience, specialized in Cloud Technologies (Public/Hybrid/Private). He is a freelance consultant in Belgium from the beginning of 2017. He is MVP Cloud and Datacentre Management. He is MCSE Private Cloud and Hyper-V certified. His favorite products are SCVMM, SCOM, Windows Azure pack/Azure Stack and Microsoft Azure.