SQL Server 2014 Installation Guide v3
SQL Server 2014 Installation Guide v3
Version 3.0
For SQL Server 2014 Developer
& 2012 Express
October 2014
Copyright 2010 2014 Robert Schudy, Warren Mansur and Jack Polnar
Permission granted for any use of Boston University
Table of Contents
Introduction ................................................................................................................................................... 3
SQL Server Editions ..................................................................................................................................... 4
Downloading SQL Server Installer ............................................................................................................... 5
MSDN Academic Alliance ....................................................................................................................... 5
Directions to Download SQL Server Developer Edition from MSDNAA ............................................... 5
Directions to Download SQL Server Express Edition from Microsoft .................................................... 6
Installing SQL Server 2014 Developer Edition ............................................................................................ 7
9.
10.
12.
13.
14.
7.
10.
Introduction
These instructions are used by students enrolled in the Master of Science in Computer Information
Systems and other Computer Science Department programs in both on-campus and online programs. In
some places these instructions say that you should contact your instructor. Online students should
normally contact their facilitator first.
The document begins with discussion SQL Server editions and how they are utilized in our courses,
downloading SQL Server from BU MSDNAA or from Microsoft directly, and installing SQL Server
itself. We continually update this document; please let us know of problems you encounter or questions
not answered.
The examples in the main document are for the Microsoft Windows family, including Windows Server
2012, Windows 7 & Windows 8
These setup instructions are for SQL Server 2014 Developer and 2012 Express Editions, but can be used
in installing other versions from 2008 and 2012 families. If you cannot install SQL Server on your own
machine, and you have ready access to a SQL Server installation you may be able to use it. All of the
exercises in CS669 can be completed using SQL Server 2008 or later. Some of the exercises in MET
CS779 require Oracle, although SQL Server will work for most. CS 779 students may wish to use both
SQL Server and a recent version of Oracle, such as 12c. CS779 students wishing to explore advanced
topics as part of their term project should look to install the developer or enterprise editions. For CS699
you will need to use SQL Server 2014 Developer Edition. The express edition is not compatible for
CS699 and not recommended for CS779, so if you are planning to take this course in the future, you will
want to install the Developer Edition.
If you are installing SQL Server for CS699 specifically, we suggest that you use the SQL Server install
guide for CS699 specifically as it outlines additional instructions and considerations, however this guide
will work as well at a minimum.
8. In step 1 you will download is the Secure Download Manager (SDM) installation file. Once SDM is
downloaded and installed, download the .SDX file and open it (step 3 above). The SDM will start
the download of the SQL Server Installer. Note that it is several gigabytes in size and be sure to note
the download destination under the download progress bar.
5
9. Once the download is complete go to the destination folder (i.e. downloads folder on your computer).
The installation file is an ISO image file, and you will need to burn the image to a DVD.
If your computer does not have the capability to burn DVD images from an ISO files, please follow
the following links to install a disk burning program or virtual mounting software
http://www.bu.edu/metit/hw-and-sw/msdn-academic-alliance-software-center/#iso as well as
ftp://ftp.e-academy.com/pub/docs/Working_with_Image_Files.pdf
3. Click on Download, and the installation file will save to your default downloads folder
4.
5.
6.
7.
8.
(CS779Note) If you are configuring the installation for CS779 and you might want to explore
failover clustering. Note that you can go back and install this component at a later time.
Setup will check and if needed install Setup Support Files. Click OK when complete.
On the Product Key page click Next.
On the License Terms page, check the box next to I accept the license terms and click Next.
Setup will check again and if needed install Setup Support Files. Click Next when complete.
Setup Role: Select SQL Server Feature Installation and click Next.
9. Feature installation: Select the components of SQL server to install on your computer.
Minimum Required Features List for CS 669
You will need to choose at least two of these feature components in order to use SQL
Server for CS669.
o Database Engine Services
o Management Tools- Basic & Complete
For CS699 & CS779 in addition to what is listed above please review these descriptions to
see which features you might be interested in for advanced topics for the term project.
Detailed Explanations:
a. Instance Features:
Database Engine Services: This installs SQL Server engine (the core service for
storing, processing and security data) on your system. This is required for both
CS669, CS699 and CS779.
SQL Server Replication: Allows for having synchronized copies of the
data in two different locations. For example, this can be used in data
distribution, synchronization, load balancing and disaster recovery.
a. (CS669) Not needed for this course
b. (CS699) Not needed for this course
c. (CS779) This is a worthy subject for a term project, and can be
installed at a later time. Note that you may need two separate
systems.
Full Text and Semantic Extractions for Search: In some database
implementations where there are a lot of text data that needs to be
searched, full text search allows for additional indexing for faster data
retrieval.
a. (CS669) Not needed for this course
b. (CS699) We suggest that you install this component. It may not
be used directly, but may be useful to explore on your own.
c. (CS779) This is a worthy subject for a term project, and can be
installed at a later time.
Data Quality Services: Enables you to discover, build, and manage
knowledge about your data. You can then use that knowledge to perform
data cleansing, matching, and profiling.
a. (CS669) Not needed for this course
b. (CS699) Not required, however we suggest that you install this
component. It may not be used directly, but may be useful to
explore on your own.
c. (CS779) This is a worthy subject for a term project, and can be
installed at a later time. Make sure to select Data Quality Client
under Shared features.
Analysis Services: Provides support for analytical processing (OLTP) and data
mining, such as when you set up a data warehouse and want to perform some ad
hoc queries against cubes.
(CS669) Not needed for this course.
(CS699) This is a required component service that will be used in data
mining exercises.
(CS779) If you plan to do a Data Warehouse project or data mining you
will need this.
Reporting Services - Native: Allows for creation of Reports based on data in
Online Transaction Processing (most common databases) and Data Warehouses.
The reports can be in the form of tables, charts, and other formats.
(CS669) Not needed for this course
(CS699) Not needed for this course.
(CS779) This is a worthy component to explore as part of a term project.
b. Shared Features:
Reporting Services - SharePoint: Allows for creation of Reports based on data in
Online Transaction Processing (most common databases) and Data Warehouses.
The reports can be in the form of tables, charts, and other formats.
(CS669) Not needed for this course.
(CS699) Not needed for this course.
(CS779) This is a worthy component to explore as part of a term project.
Data Quality Client: Not needed unless you are planning to try Data Quality
Services for CS779
Client Tools Connectivity: components to communicate between clients and
servers.
(CS669) Not needed for this course
(CS699) Not needed for this course
(CS779) Might be needed for some advanced components, check if
needed for what you are planning to do for the term project, can be added
later.
Integration Services: This is needed for data warehouse Extraction
Transformation Loading Processes when data needs to be transformed and loaded
into the database.
(CS669) Not needed for this course.
(CS699) This is a required component.
(CS779) If you plan to do a DW project or data mining you will need this
component.
Client Tools Backwards Compatibility: This is not needed for the courses in this
program, but in production environments if you connect to older versions of SQL
Server from management tools this option is needed.
Client Tools SDK: Additional Software Development Kit with recourses for
developers.
(CS669) Not needed for this course
9
10
11. Under Server Configuration set both SQL Server Agent, Analysis, Reporting, Integration
Services (if installed) and SQL Server Database Engine to Manual (unless you want it to run all
the time with your system which will use up a lot of system recourses when you are not using the
Sql Server). These are services that run components of SQL Server.
You may get the following error message after setting the Analysis services to
use the local service account name The Local Service account is not permitted
for the SQL Server service. Specify another account for the service login. In
that case, use the default Account Name that the installer suggested. In that case,
please see page 23, under For CS699, review that SQL Server Analysis Services
is using the local account. on how to make this change after the install.
The image above shows the defaults for Account Name setting.
o
Check the collation tab at the top. For our purposes this can be left at default
SQL_Latin1_General_CP1_CI_AS which is Latin1-General case insensitive. This drives
how SQL server recognizes commands, for example you can choose a different language
or set it to be case sensitive. Some applications require for you to choose a specific
collation. You can click Customize to change it. Click Next when done.
12
13
c. If you are installing SQL Server for CS779 you might want to enable FILESTREAM if
you plan to explore large file types such as Binary language objects (BLOB). We suggest
that this feature is enabled for CS799.
14
15
Review selected features and click Install, Installation will begin, this will take some time.
Once the installation is complete, if available run a service pack installation. You can check if
the latest service pack is available from the SQL Server web site.
16
4. On the License Terms page, check the box next to I accept the license terms and click Next.
5. Setup will check and if needed install Setup Support Files. Click OK when complete.
6. Feature installation: Select the components of SQL server to install on your computer.
Minimum Required Features List for CS 669
You will need to choose at least two of these feature components in order to use SQL
Server for CS669.
o Database Engine Services
o Management Tools- Basic
Detailed Explanations:
a. Instance Features:
i. Database Engine Services: This installs SQL Server engine (the core service for
storing, processing and security data) on your system. -Required
ii. SQL Server Replication: Allows for having synchronized copies of the data in
two different locations. For example, this can be used in data distribution,
synchronization, load balancing and disaster recovery.
17
b. Shared Features:
i. Management Tools Basic: You will need this to work with SQL server. This is
the GUI interface that includes components such as the GUI Query interface as
well as components for advanced topics such as integration services as well as
the database tuning advisor. -Required
c. SQL Client Connectivity SDK: Additional Software Development Kit with recourses for
developers.
d. LocalDB: A lightweight version of the SQL Server Express Database Engine that has the
same programmability features, yet starts on demand and runs in user mode. It is an
execution mode of SQL Server Express targeted to program developers.
e. Shared Features Directory: Note the paths where SQL server will install the shared
components (default is Program Files folder within C drive.)
18
7. Instance Configuration
a. Generally you can leave the Default Instance. The Named instances would be used if you
want to create multiple instances of SQL Server on the same machine. If you are
installing SQL Server for CS779 this might be a worthy topic to explore for the term
project.
b. Choose the installation path for SQL Server (default is Program Files folder within C
drive.)
19
9. Under Server Configuration set SQL Server Database Engine to Manual (unless you want it to
run all the time with your system which will use up a lot of system recourses when you are not
using the Sql Server). These are services that run components of SQL Server.
a. You will need SQL Server Database Engine to run SQL Server. Since DBMS uses a
lot of system recourses, we would recommend running it manually when you need it.
b. SQL Server Browser can be left disabled.
c. The Account Name for all SQL Server Services should be set to default, NT
Service\MSSQL$SQLEXPRESS. This will allow the services to run with a system
account.
d. Check the collation tab at the top. For our purposes this can be left at default
SQL_Latin1_General_CP1_CI_AS which is Latin1-General case insensitive. This drives
how SQL server recognizes commands, for example you can choose a different language
or set it to be case sensitive. Some applications require for you to choose a specific
collation. You can click Customize to change it.
20
11.
12.
13.
14.
1. Check the SQL Server web site if the latest service pack is available for your version of SQL
Server: http://www.microsoft.com/sqlserver/en/us/default.aspx
2. Start the Service Pack Installer after you download it.
3. Agree to the License Terms
4. Confirm the Installed Features (this is what you installed earlier)
5. Check File Use, if some components of SQL Server are running the system will shut them
down/reboot as part of the install. Make sure to wait for the check to complete before clicking
Next.
6. Ready to Update will confirm what will be updated. Click on Update to start the process.
You are now ready to use SQL Server.
22
For CS699, review that SQL Server Analysis Services is using the local account.
1. Double click on SQL Server Analysis Services.
2. Go to the Log On Tab and choose Local System Account. Click Ok,
service will restart if needed.
Note that when you are no longer using SQL Server you can shut the service down to save on system
resources.
You can also change the startup type to be automatic while the course is running to save you the step
of turning this on and off.
You may want to put the services shortcut to your desktop for quick access
23
To work with SQL Server you will use the SQL Server
Management Studio. You will find it under Microsoft SQL
Server 2014 program group.
You may want to put the SQL Server Management Studio
shortcut to your desktop or pin it to the Windows Task bar for
quicker access.
If you are not able to log in with any accounts, it might be easiest to re-install SQL Server
and closely pay attention to Account Provisioning section within the Database Engine
Configuration part of the installation.
24
25
Object Explorer allows you to browse databases, tables, columns and other objects
within the database.
SQL Query results. Note how the execution time and number of
rows are at the bottom.
26
8. When prompted for Feature Selection, review and update features, review Feature list in the
installation instructions in previous sections, and click Next.
9. You will be prompted to verify Installation Rules, Disk Space Requirements, Error Reporting,
and Installation Configuration Rules, click Next.
10. Ready to Install will give you a summary, click Install.
28