23
How to install SQL server 2016: This article will guide you on how to perform a new SQL server 2016 stand-alone installation. Also, I have included some video links and website links at the last page for more information on how to install. The following are some recommendations before installing SQL Server 2016: Access to the Internet and Windows Update Services is required, since SQL Server setup will try to get updates for SQL Server during installation. The following memory and processor requirements apply to all editions of SQL Server: Component Requirement Memory * Minimum: Express Editions: 512 MB All other editions: 1 GB Recommended: Express Editions: 1 GB All other editions: At least 4 GB and should be increased as database size increases to ensure optimal performance. Processor Speed Minimum: x64 Processor: 1.4 GHz Recommended: 2.0 GHz or faster Processor Type x64 Processor: AMD Opteron, AMD Athlon 64, Intel Xeon with Intel EM64T support, Intel Pentium IV with EM64T support Operating Operating Operating Operating Systems Requirements: Systems Requirements: Systems Requirements: Systems Requirements: Do no try to install SQL Server 2016 on a compressed, mapped, encrypted or read-only drive, because setup will block the installation. Do not install SQL Server on a Domain Controller. Configure your firewall to allow SQL Server access. The user account that is running SQL Server Setup must have administrative privileges on the computer. It can be installed on Windows Server 2012 R2, Windows Server 2012, Windows 10, Windows 8.1, Windows 8 The following operating systems are not supported: Windows 7, Windows Vista, Windows XP, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003 R2, Windows Server 2003 and Windows Server 2000. At least 6.0 GB of disk space are required by SQL Server setup

How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

How to install SQL server 2016:

This article will guide you on how to perform a new SQL server 2016 stand-alone installation. Also, I have

included some video links and website links at the last page for more information on how to install.

The following are some recommendations before installing SQL Server 2016:

• Access to the Internet and Windows Update Services is required, since SQL Server

setup will try to get updates for SQL Server during installation.

The following memory and processor requirements apply to all editions of SQL Server:

Component Requirement

Memory * Minimum:

Express Editions: 512 MB

All other editions: 1 GB

Recommended:

Express Editions: 1 GB

All other editions: At least 4 GB and should be increased as database size increases to ensure

optimal performance.

Processor

Speed

Minimum: x64 Processor: 1.4 GHz

Recommended: 2.0 GHz or faster

Processor Type x64 Processor: AMD Opteron, AMD Athlon 64, Intel Xeon with Intel EM64T support, Intel

Pentium IV with EM64T support

Operating Operating Operating Operating Systems Requirements:Systems Requirements:Systems Requirements:Systems Requirements:

• Do no try to install SQL Server 2016 on a compressed, mapped, encrypted or read-only drive,

because setup will block the installation.

• Do not install SQL Server on a Domain Controller.

• Configure your firewall to allow SQL Server access.

• The user account that is running SQL Server Setup must have administrative privileges on the

computer.

• It can be installed on Windows Server 2012 R2, Windows Server 2012, Windows 10, Windows

8.1, Windows 8

• The following operating systems are not supported: Windows 7, Windows Vista, Windows XP,

Windows Server 2008 R2, Windows Server 2008, Windows Server 2003 R2, Windows Server

2003 and Windows Server 2000.

• At least 6.0 GB of disk space are required by SQL Server setup

Page 2: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

Step by step procedure to install SQL Server 2016:

1. After downloading Sql server 2016 enterprise pack, Run the following file from your system

downloads

2. Click on the setup and new will pop up and click yes on the new window

Page 3: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

3. After clicking yes, it takes you to a new window as below and on the screen click installation on

the left hand side and it shows types of installation available. Select the first type available “New

SQL server stand-alone installation or add features to an existing installation”

Page 4: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

4. On the page above, specify the edition of SQL Server to install, if you are choosing to

install a free edition of SQL Server 2016 or an Evaluation Edition of SQL Server 2016.

You should also provide a product key, if you are installing a licensed edition of SQL

Server. Sometimes the product key is included in the media (the product key is pre-

pidded). Then click Next.

Page 5: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

5. Below is the License Terms page, review the license agreement and, if you agree, select

the I accept the license terms check box, and then click Next.

Page 6: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

6. On this page SQL Server 2016 setup is trying to get updates from Microsoft Update, and

for this reason is important to have Internet access when installing SQL Server as

mentioned at the beginning of this article. Make a click on the checkbox to get the

updates, if the computer has Internet access, then click on the Next button

Page 7: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

7. Below screen belong to the second set of Setup Support Rules. To have detailed

information about the cause of errors and warnings you may receive click on the blue

hyperlinks associated with each warning/error.

*About the Windows Firewall warning, you can go ahead with the installation of SQL Server,

but when it finishes configuring your Windows Firewall to allow SQL Server access or disable it.

Click here to know how to configure Windows Firewall for SQL Server access. Alternatively, you

can opt to turn off Windows Firewall if you are installing SQL Server for personal use. (But this is

not recommended for security of your system).

In general, warnings won't prevent you from installing SQL Server. if you performed

adjustments in your PC, you may want to run again the rules and verify if you can leave behind

the warnings. Please click on the "Re-run" button, and click on the Next button if the computer

now passes all the rules.

Page 8: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

8. On the Feature Selection page, please select the features you would like to install. A

description of each feature will appear on the "Feature description" area when you click

on a feature. For a detailed description of each feature, please click here.

Once you have selected the features to install, please click on the "Next" button.

If you select PolyBase Query Service for External Data, then Oracle JRE software is

required. If Oracle JRE is not there in your system it will show an error.

If you cannot get rid of the error deselect it and continue with installation.

Page 9: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

9. On the Instance Configuration page, select a default or named instance for your installation. SQL

Server supports multiple installations on the same computer, each installation receives the name

of "instance". The default instance gets the name of the computer, but the named instances,

receive the name of the computer plus the name provided by the user on this setup page. To

access a default instance once it is installed, using SQL Server Management Studio or any other

program, you just need provide the computer name. To access a named instance, you will need

to provide the name of the instance in the form of computername\nameoftheinstance.

Page 10: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

10. If Polybase Query Service for external data is selected then below screen will appear, select the

first option and click Next. For those who have not selected Polybase Query service for external

data below screen will not appear and will be redirected to server Configuration page.

11. Next you will be redirected to Server Configuration page. On this below screen you need

to provide the service accounts that SQL Server services will use. As you can notice, SQL

Server setup provides virtual accounts by default, they are auto-managed, they can

access the network on a domain environment by using the credentials of the computer

account.

However, I still recommend creating a local user or use a domain user account to start SQL

Server services.

Page 11: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

If the computer is not part of a domain, use a local user account without Windows

administrator permissions. You can create this account using Control Panel -> User

Accounts. Please provide a strong password to this account since SQL Server setup will

required it on this "Server Configuration" page.

Use a Domain User Account if the service must interact with network services or access

domain resources. This account should be pre-created by a domain administration in

your environment.

Whether you create a local user or a domain user account, the password you use to

create the account must be a strong password since SQL Server setup will required it on

this "Server Configuration" page.

You can also use built-in accounts (the Network Service account, Local Service, Local

System) as service accounts. However, I would not recommend using Local Service

Account for SQL Server (MSSQLSERVER). Use Local System if you need a very high-

privileged account, or you are having issues installing SQL Server using virtual accounts

as service accounts. It has extensive privileges on the local system.

Page 12: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

Microsoft recommends you specify an individual account for each service. The service accounts

used for this configuration must have a strong password as mentioned above, otherwise you will

get the error "Invalid or missing username or password. To continue, provide valid credentials

for the SQL Server Agent service". A strong password is one that has a combination of letters in

uppercase, lowercase, numbers and special characters.

To provide a local Windows account or a domain account as service account, please follow the

steps shown in the images below. Click on the small drop down button present at the right side

of each name and click on browse.

Click on browse and new window will pop up and there Change the location to Active Directory

if you would like to provide a domain account as service account. Click on the "Locations" button

to change the focus of the search to the Active Directory. Once you provide an account, please

validate the account by making a click on the "Check Names".

Page 13: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

If the validation fails, remove the user you typed, then click on the "Advanced" button and new

window will popup, and click on Find now to get a list of Windows users and select one. Then

click Ok.

Page 14: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

On the "Server Configuration" page you can also select how you want to start this service on

the computer (Startup Type). However, on a server production environment, probably

automatic should be the recommended startup type.

If you receive the below error message ("There are validations errors on this page"), probably

you did not provide a strong password, the password does not match with password the

account has on Windows or on Active Directory. If you cannot get rid of this message, change

the service account specified at the bottom of the page (with the red balloon) to Local System

my work.

Page 15: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

12. Next you will be redirected to Database Engine Configuration page as below, choose

the authentication mode to use for your SQL Server installation. If you select Mixed

Mode, Setup creates a system administrator (sa) account.

Enter and confirm the password for the (sa) login when you choose Mixed Mode

Authentication.

You will get the error "Missing system administrator account. To continue, provide at least one

Windows account to provision.", if you fail to provide SQL Server administrators and try to

continue with the next page of Setup. The error message "There are validation errors on this

page will also appear. Click the buttons "Add Current User" or "Add " to provide at least one

account that will have unrestricted access to the SQL Server instance.

Page 16: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

If you would like to change the default data directories, Click on Data directories to change the location

of Sql default directories. Click on the 3 dots at right side to change location and click ok. For

information about default location of files on SQL Server instances, please click here.

Page 17: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

Click on TempDB tab to configure file size, number of files, non-default installation directories,

and file-growth settings for TempDB. For more information on Temp db click here. Default

values are provided by the Sql server which are recommended, if you are ok with the default

values proceed to Filestream tab.

Click on File stream tab and use below page to enable FileStream on this instance. To enable it, select

"Enable FILESTREAM for Transact-SQL access".

Select "Enable FILESTREAM for file I/O streaming access" to enable Win32 streaming access for

FileStream.

On the "Windows share name" text box, to enter the name of the Windows share in which the

FileStream data will be stored.

Select "Allow remote clients to have streaming access to FILESTREAM data" to allow remote clients to

access this FileStream data on this server.

For more information about enabling and configuring FileStream, please click here. Then Click Next to be

redirected to Analysis Services Configuration page.

Page 18: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

13. On the below Analysis Services Configuration page, use it to specify the server mode and

the users or accounts that will have administrator permissions for Analysis Services

If you plan to run multidimensional cube databases on the server, choose the default

option, Multidimensional and Data Mining server mode. Or choose Tabular mode to

install analysis services with support for tabular modes.

Regarding administrator permissions, you must specify at least one system administrator

for Analysis Services. To add the account under which SQL Server Setup is running,

click Add Current User.

For more information about server mode and administrator permissions, Click here.

When you are finished editing the list, click OK. Verify the list of administrators in the

configuration dialog box. When the list is complete, click Next.

Page 19: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

14. On clicking Next above you will be redirected to Reporting Services Configuration page

where you can choose to install Reporting services in native mode or share point

integrated mode. Select an option and click Next.

Page 20: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

15. Accept your content to install Microsoft R open on the below page and then click Next.

16. Ready to Install page shows a tree view of installation options that were specified during

Setup. On this page, Setup indicates whether the Product Update feature is enabled or

disabled and the final update version.

To continue, click Install. SQL Server Setup will first install the required prerequisites for

the selected features followed by the feature installation.

Page 21: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading
Page 22: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

17. During installation, the Installation Progress page provides status so that you can

monitor installation progress as Setup continues. Installation may take up to 20 minutes.

18. After installation, the Complete page provides a link to the summary log file for the

installation and other important notes. To complete the SQL Server installation process,

click Close.

19. If you are instructed to restart the computer, do so now. It is important to read the

message from the Installation Wizard when you have finished with Setup which csn

accessed by clicking on the blue link at the bottom of the page. For more information,

see View and Read SQL Server Setup Log Files.

Page 23: How to install SQL server 2016 - Cleveland State Universityeecs.csuohio.edu/~sschung/cis611/InstallationGuide... · Step by step procedure to install SQL Server 2016: 1. After downloading

Some useful websites and video links to help you further with installation of SQL

Server 2016:

• https://docs.microsoft.com/en-us/sql/database-engine/install-

windows/install-sql-server-from-the-installation-wizard-setup.

• http://www.sqlcoffee.com/SQLServer2016_0001.htm

• https://www.youtube.com/watch?v=R8kJxeTPtDc

• https://www.youtube.com/watch?v=aOOyE82kfok