Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Installing SQL Server

From: SQL Server 2008 Essential Training

Video: Installing SQL Server

So I am going to go ahead and get started installing SQL Server 2008 R2 Standard edition. I have the installation media for a regular standard install here. I'm going to launch the setup application. Now I would often tell you to go and grab a cup of coffee while doing this but there'll be plenty of time for that. Installing SQL Server is a long install procedure and there are many steps to it. It's not something to try and do in a hurry. So let me tell you a little bit about what to expect here.

Installing SQL Server

So I am going to go ahead and get started installing SQL Server 2008 R2 Standard edition. I have the installation media for a regular standard install here. I'm going to launch the setup application. Now I would often tell you to go and grab a cup of coffee while doing this but there'll be plenty of time for that. Installing SQL Server is a long install procedure and there are many steps to it. It's not something to try and do in a hurry. So let me tell you a little bit about what to expect here.

If you have a setup that is magically identical to mine in every single way, then you will have a similar experience to me. But if your machine or your environment differs in the slightest, you will have a different experience installing SQL Server. So if you have a different operating system or a different set of applications installed, you might expect to see a different message now and that's okay. It's just part of the deal when installing SQL Server. In fact, the first thing that opens here is not some kind of Next, Next, Next install.

It's called the Installation Center and it's on the first page, which is Planning, and there are whole bunch of different things. Documentation for requirements and Setup Documentation and Upgrade Advisors. If you've got old versions, Upgrade Documentation. What I'm going to do here because I'm on a fairly fresh machine is just run the System Configuration Checker and it's going to go through a whole bunch of rules just to give me some idea whether I can go ahead and install this. So just take your time, run this, pay extra attention to any messages you get during that installation.

You may have to install some prerequisite software if it's not on your machine already. So this runs through a whole bunch of rules. It says it's Passed: 15 and Failed: 0. I can click for the details and I can see the type of things it's checking. Things like whether the computer has been restarted recently, does the operating system work, are there any problems with incompatible SQL Server versions? Everything looks good, so I'll click OK. That didn't do anything except run a few checks.

We'll still have a few more checks to go on as we go forward. I am going to select the Installation section here on the left-hand side and over there I'll say I want to do a new installation. There obviously are different ideas and different options if I'm installing on top of say SQL 2000 or SQL 2005. But it's a new one for me and before it does its thing it's going to make me go through a whole bunch of different questions about how this is going to be installed.

It first runs its own set of rules. I can click Show details. Everything looks good. Click OK. Then it gives me the opportunity to enter in my product key. Also here you could actually choose to install an evaluation or trial edition without a product key or even select the Express edition or Express with Advanced Services. I am just going to go ahead and do a regular install, so I'll click Next. I will accept the license terms and usually that would be about it, but we still have a long way to go.

What SQL Server it will do now is install support files. This is not at doing the proper install. It takes longer than most installs you would do but this is just some supporting stuff in the background. So I am going to click the Install button to go ahead with that and that will take a couple of minutes. When it's done it will appear to disappear for a second but it should come back in just a moment with the results of those support files.

What I can see here is most things have been passed. I do have a warning here besides Windows Firewall and if I click that it will tell me that it's detected that the Windows Firewall is enabled. And that will be a problem if I was expecting someone else to be able to connect to the SQL Server on this machine, if I am shutting them down with my firewall. It's okay because this is a development machine so I am going to say that's not a problem and go ahead and click Next. Next up, we have a choice . Are we installing SQL Server by selecting the different features, the different component pieces of it, or do we want to install all features with defaults? The second option here would be the easy button but I'm not going to do that.

I am going to step through the feature level installation. Even though I am going to install everything I want to show that part to you. So click Next into the different features and this is where we see that yes indeed, SQL Server is installed as our whole bunch of different pieces. The database engine itself and the different parts of that such as Replication and Search. Analysis Services, Reporting Services, then a lot of different tools like Books Online the Business Intelligence Development Studio, the Management Tools.

In fact I am just going to go ahead and click the button to say Select All. I am not going to touch any of the paths that this will be installed on. Just accept the defaults there and click Next. It runs one more in a whole bunch of checks that it's running through and everything looks okay. I'll click Next. What it's asking me now is what's the name of the Instance. And what does this mean? Well, you can actually install multiple instances of SQL Server and each instance can contain its own set of databases.

It's not something you have to do but you can have up to 50 instances of SQL Server on one machine. If you do, you have to give each of those 50 or 5 or 10 a different name. But if we're installing it from scratch we can say I don't need to name this instance because I'm not intending to put any others on. So I'm just going to call it the default instance. That means later on if I want to access this instance I don't really have to care about what it's called because it's the default instance on this machine. I can see there are no existing instances here.

So I will go ahead and click Next. It gives me a summary of the amount of space it's going to take up, not something I really care about if I've got plenty of disk space available and I'm not expecting this database to grow very large. I'll click Next. What we have now is the place that I can plug in those service accounts that I created a little earlier, giving different identities to each part of SQL Server that will be running. So I'm going to go ahead and type in the account names that I had set up earlier, the first one being for SQL Server Agent and give it the password that it knows about.

Then the database engine, which for me was SQLEngine, and go ahead and enter the remaining service accounts. I am going to leave the last two just setup as using the built-in local service account. This is a fairly low privilege account, which is fine for those. The tab behind it is something called Collation. I am not going to touch that. Collation is the idea of how does SQL Server do things like case sensitivity and accent sensitivity behind the scenes. If you are ordering a bunch of last names of people, does it care whether it's an uppercase A or a lowercase a? Does it care if it's an a or an a with an accent over the top of it? I'm going to accept the default, which is just for this case a SQL Latin1-General case-insensitive, accent-sensitive, and just not touch it.

But if you have to handle multiple languages, you may have to do something slightly different. So I'll go ahead and click Next and it asks me how the security is going to be set up on this instance of the database, and it's saying the authentication mode is Windows authentication or Mixed Mode. Windows is the default and it means that everybody who's going to get access to these databases has to have a Windows account and it's by that that we will specify what they're allowed to do.

Mixed Mode means there could be either a Windows account or you could actually set them up their own username and password within SQL Server. It wouldn't be a Windows account. Now the default and the recommendation for Microsoft these days is stick with Windows authentication mode because it's a bit more secure. But in some cases, say when you're building web applications you may be working with Mixed Mode and you get to set up different kinds of accounts. I'll leave it at the default, and the only thing I'm going to do on this screen is down here where it asks me to specify the SQL Server administrators.

I am going to say Add Current User. Yes, I want to be added as an administrator on this box. I am going to leave the other two tabs of Data Directories and FILESTREAM, which name both where these files are going to be installed on the machine. FILESTREAM is a new feature in SQL 2008 that allows you to store large files, even bigger than two gigabytes, on the file system and still manage them through the database. I'm not going to touch this right now. It's little bit beyond the scope of this class. So with Windows authentication mode set and me listed as the user I can go ahead.

Just to let you know, you can actually change the authentication mode later. So it's not a disaster if you have the wrong one. Next up, it's asking me to specify the administrators for Analysis Services. This isn't something we've talked about a lot yet, but what I'm going to do is just go ahead and click that Add Current User button again and name myself as having unrestricted access there and just go ahead and click Next. In this screen, we're being asked to set up Reporting Services, this part of SQL Server that can handle reporting.

There are three options here. Installing the native mode default configuration, getting it set up from scratch to install with SharePoint, and then installing it but not configuring it. I am again going to accept the default one, which is the first option, and click Next. I am going to choose not to send any error reports to my corporate report server and click Next. It runs through a few more checks. I am going to say Show details. Everything looks okay.

Click Next and it gives me a summary. It's going to install all these different features. These are the names it's going to use. These are the accounts that it's going to use. As you can see, there is a whole lot of stuff going on here. We're ready to go. I'm going to go ahead and click Install and this will take several minutes. So I'm just going to go ahead and let it do its thing. So later on, perhaps much later depending on the speed of your machine, but certainly after many minutes you should hopefully get to this screen, that your SQL Server 2008 R2 installation completed successfully.

It will give you a log file if you feel like you need to take a look at it. Obviously if there are any alternate messages, you get anything else, you need to go and take a look at that too. But hopefully that should do it. Going back to the Installation Center we can also run a search for product updates. I am not going to do that right now but it's certainly something that in the long process we should do. So we now have SQL Server 2008 pretty much up and running. If I look at my All Programs I should find a whole section under SQL Server 2008 R2 with the Analysis Services Tools, Configuration Tools, Documentation, Integration Services and Performance, and we're going to go through quite a few of these as we go through the course.

But we're ready to go.

Show transcript

This video is part of

Image for SQL Server 2008 Essential Training
SQL Server 2008 Essential Training

74 video lessons · 36342 viewers

Simon Allardice
Author

 
Expand all | Collapse all
  1. 2m 21s
    1. Welcome
      1m 19s
    2. Using the exercise files
      1m 2s
  2. 17m 58s
    1. SQL Server core concepts
      9m 4s
    2. SQL Server editions
      3m 8s
    3. Applications included with SQL Server
      5m 46s
  3. 26m 1s
    1. Preparing for installation
      3m 44s
    2. Creating service accounts
      2m 33s
    3. Installing SQL Server
      11m 42s
    4. Post-installation checks
      3m 9s
    5. Installing sample databases
      4m 53s
  4. 13m 35s
    1. Introduction to SQL Server Management Studio
      8m 7s
    2. Introduction to SQL Server Books Online
      3m 6s
    3. SQL Server system databases
      2m 22s
  5. 1h 26m
    1. Planning your database
      9m 39s
    2. Creating a SQL Server database
      4m 7s
    3. Creating tables
      7m 51s
    4. Data types in SQL Server
      12m 25s
    5. Defining keys
      8m 9s
    6. Creating default values
      4m 39s
    7. Creating check constraints
      2m 25s
    8. Creating unique constraints
      4m 34s
    9. Introduction to relationships and foreign keys
      9m 51s
    10. Creating relationships in SQL Server Management Studio
      8m 14s
    11. Database normalization
      11m 47s
    12. Creating computed columns
      3m 10s
  6. 23m 11s
    1. Using the SQL Server Import and Export Wizard
      3m 58s
    2. Importing Excel files into SQL Server
      6m 11s
    3. Importing CSV files into SQL Server
      5m 27s
    4. Importing Access databases into SQL Server
      7m 35s
  7. 55m 29s
    1. Introduction to Transact-SQL
      3m 43s
    2. Using SELECT statements
      7m 16s
    3. Changing the default database
      2m 21s
    4. Creating conditions in SQL
      8m 10s
    5. Sorting your output
      3m 23s
    6. Using aggregate functions
      7m 12s
    7. Finding unique values
      2m 14s
    8. Joining multiple tables together
      8m 0s
    9. Using subqueries
      9m 33s
    10. Viewing execution plans
      3m 37s
  8. 19m 36s
    1. Writing INSERT statements
      5m 47s
    2. Writing UPDATE statements
      4m 38s
    3. Writing DELETE statements
      2m 54s
    4. Using the OUTPUT clause to return inserted keys and GUIDs
      6m 17s
  9. 32m 52s
    1. Introduction to SQL functions
      6m 26s
    2. Using SQL configuration functions
      2m 14s
    3. Using string functions
      7m 26s
    4. Using date functions
      6m 27s
    5. Creating user-defined functions
      10m 19s
  10. 28m 46s
    1. Introduction to stored procedures
      4m 23s
    2. Creating stored procedures
      11m 23s
    3. Introducing transactions
      4m 23s
    4. Creating transactions
      8m 37s
  11. 16m 39s
    1. Understanding and creating indexes
      6m 32s
    2. Monitoring and rebuilding indexes
      6m 0s
    3. Monitoring database size and integrity
      4m 7s
  12. 11m 41s
    1. Creating backups
      4m 21s
    2. Creating differential backups and using backup compression
      3m 40s
    3. Restoring databases
      3m 40s
  13. 17m 40s
    1. Introduction to SQL Server security and permissions
      5m 54s
    2. Adding a Windows user to the database
      5m 7s
    3. Creating SQL Server logins and switching authentication modes
      6m 39s
  14. 36m 41s
    1. Introduction to SQL Server Reporting Services
      2m 52s
    2. Connecting to the Report Manager
      4m 29s
    3. Using Report Builder
      12m 4s
    4. Formatting values in reports
      4m 17s
    5. Adding indicators to reports
      5m 11s
    6. Adding charts to reports
      3m 54s
    7. Working with report security
      3m 54s
  15. 24m 41s
    1. Introduction to SQL Server Integration Services (SSIS)
      1m 57s
    2. Using Business Intelligence Development Studio (BIDS)
      6m 59s
    3. Creating and executing a simple SSIS package
      7m 35s
    4. Importing packages into SQL Server Management Studio
      3m 21s
    5. Scheduling jobs with SQL Server Agent
      4m 49s
  16. 31s
    1. Goodbye
      31s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed SQL Server 2008 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.