Home

Microsoft SQL Server Installation

   

Introduction

To make it possible for you and other students to study databases and SQL, Microsoft made available a trial version of Microsoft SQL Server 2008. This full version is available from the Microsoft web site.

 
Microsoft SQL Server Installation

Introduction

To get the trial edition of Microsoft SQL Server 2008, go to the Microsoft web site, do a search on "trial software", and follow the links to locate the trial edition of Microsoft SQL Server 2008 Enterprise Edition (this is a big file: 3GB). You can download it and create a DVD. If you are downloading, the file will be saved to your computer. When the download is over,  you must create an image. After creating the DVD image, you can insert the DVD in the drive.

As an alternative, you can purchase the Developer Edition of Microsoft SQL Server, which is very cheap (compared to the Enterprise Edition).

Installing the Server of Microsoft SQL Server

As we will see in the next lesson(s), there are various ways you use, or connect to, Microsoft SQL Server. For this reason, there are also various ways to install it. The primary type consists of installing Microsoft SQL Server on only one computer you will use to do everything. That machine may not be connected to another or you will not be concerned with using things (files or databases) in other computers. With this type of setup, you perform the installation on that computer and simply start using Microsoft SQL Server.

Practical LearningPractical Learning: Installing Microsoft SQL Server

  1. Server: Start the computer
  2. Server: Log in using an account with administrative rights
  3. Server: Insert the DVD in the drive. You may (should) receive a dialog box with a Run SETUP.EXE link:
     
    AutoPlay

    If so, click Run SETUP.EXE
  4. Server: The installation will start. You may get a message that the .NET Framework needs to be installed. If you get that message, click OK. You will be prompted to start the installation:

    Microsoft .NET Framework 3.5 SP1 Setup

    Server: After clicking the ACCEPT button, you can click Install. The installation of the .NET Framework would start. When the installation of the .NET Framework is over, you would receive a message:

    .NET Framework

    Server: From there, you can click Exit. If you are installing in either Microsoft Windows XP or Microsoft Windows Server 2003, you may be asked to install a hotfix:

    Hotfix

    Hotfix

    Server: In this case, accept to install it by clicking Next and following the wizard. When the installation is over, you may be asked to restart:

    Hotfix

    Which you should do.

  5. Server: To start the installation, put the Microsoft SQL Server 2008 DVD in the drive. A window would come up:
     
    Installation
  6. Server: In the left section, click Installation
     
    Installation
  7. Server: If you are only interested in studying database design and development in Microsoft SQL Server, on the right side, click New SQL Server Stand-Alone... The installation would start:
     
    Installation
  8. Server: After the message box, click OK
     
    Setup
  9. Server: Another message box would come up. When it finishes, the next page of the wizard would come up. If you are using the evaluation version, read the message and click the first radio button
     
    Product Key
     
    Server: If you are installing with a product key, click the second radio button and enter the key
     
    Product Key
  10. Server: Click Next
  11. Server: The License Terms page is presented to you. Read it. If you don't agree with the license, click Cancel. Otherwise, click the I Accept check box:
     
    License Agreement
     
    License Agreement
  12. Server: Click Next
     
    Microsoft SQL Server 2008 Setup
  13. Server: Read the messages and click Install:
     
    Microsoft SQL Server 2008 Setup
  14. Server: You may receive a warning message about the firewall:
     
    Firewall warning
     
    For now, ignore it (there is no true justfication in trying to disable the firewall, the installation will proceed fine).
    If you are installing on the only computer you use as your server, you may receive a warning that it is not recommended to install Microsoft SQL Server on a domain controller:
     
    Domain Controller Warning
     
    Ignore the warning for now.
    Server: Click Next
    (We are not encouraging you to ignore warnings; just these ones)
  15. Server: If you had previously installed Microsoft SQL Server Express, you may receive a message box asking you to specify an instance name. If so, specify it as MSSQLSERVER.
    The next page allows you to specify what you want to install and what would be left out. For our example, we select all, then removed Reporting Services.
     
    The eventual location of Microsoft SQL Server is specified in the bottom text box:
     
    Feature Selection
     
    If you are installing the Developer Edition and if you to change the directory of Microsoft SQL Server, you can type it in the Shared Feature Directory text box, or you can click the browse button to select it.
     
    Feature Selection
     
    If you are installing the Enterprise Edition, if you to change the directory of Microsoft SQL Server, click the broser button on the right side of the Shared Feature Directory text box and locate the directory you want.
     
    After making your selections, click Next
  16. Server: The next page allows you to name the instance of Microsoft SQL Server (and to specify where the server would be installed). In most cases, you should accept the suggested name of the instance as MSSQLSERVER:
     
    Instance
     
    After making your selections, click Next
  17. Server: The next page mostly allows you to check and confirm the disk space:
     
    Disk Space
     
    After checking it, click Next
  18. Server: The next page allows you to specify the account that is performing the installation:
     
    Server Configuration
     
    Click Use the Same Account For All Server Services
  19. Server: A dialog box would come up.
    If you are installing in Microsoft Windows 7 and you want to use a local account, in the Account Name text box, enter the name of the computer, followed by a back slash, followed by the user name, and press Tab. In the Password text box, enter the password:
     
    Log In
     
    If you are installing in Microsoft Windows Server 2008, in the Account Name text box, enter the name of the domain, followed by a back slash, followed by the user name, and press Tab. In the Password text box, enter the password:
     
    Log In
  20. Server: Click OK
     
    Log In
     
    Log In
  21. Server: Click Next
  22. Server: After making your selections, click Next
  23. Server: In the next page, specify how authentication would be made. You should also specify the account used as the administrator. To do this, you can click Add Current User:
     
    Database Engine Configuration
  24. Server: Microsoft SQL Server provides a default user named sa. To prepare that user for database authentication, click the Mixed Mode
  25. Server: Type a password in the Enter Password text box. For this exercise, you can use P@assword1 and press Tab
  26. Server: Enter the same password in the Confirm Password text box
  27. Server: To add an additional account, click Add...
    A dialog box would display. In the bottom text box, type the (complete) user name of a user and click Check Names. In the same way, you can add as many users as possible
     
    Database Engine Configuration
  28. Server: Click Next
  29. Server: The next step allows you to specify an account for the analysis services. Click Add Current User
     
    Analysis Services Configuration
     
    Server: To add an additional account, click Add... In the bottom text box, type the (complete) user name of a user and click Check Names. In the same way, you can add as many users as possible
     
    Analysis Services Configuration
  30. Server: Click Next
  31. Server: In the Reporting Services Configuration page, click the last radio button to install but without configuring the reporting:
     
    Reporting Services Configuration
  32. Server: Click Next.
    The next page allows you to specify whether you want and installation report to be sent to Microsoft:
     
    Error and Usage Reporting
  33. Server: Read it and click Next
  34. Server: The next page gives you a summary of tests that were performed before the installation:
     
    Installation Rules
  35. Server: After reading, click Next.
    This would indicate that the installation is ready to proceed:
     
    Ready to Install
  36. Server: To start the installation, click Install. The installation would start and a progress bar would indicate the evolution. This can take a while
     
    Installation Progress
     
    Installation Progress
  37. Server: When this phase is over, a message box will let you know. After reading it, you can click Next. The last page of the wizard should announce that the installation was complete
     
    Installation
  38. Server: After reading the message, click Close
 
 
 
 

Installing the Client Tools of Microsoft SQL Server

You may have Microsoft SQL Server installed in a computer protected (locked) somewhere in a different room or in a different building, or you may be working in a networked environment where computers interact with each other, or you may be asked to test something on someone else's computer that has Microsoft Server but you must not modify anything on that machine. To satisfy this and other requirements, you can install a suite of applications that would allow you to access Microsoft SQL Server installed in a computer other than the one you are using. Such tools are referred to as client tools.

To install the client tools of Microsoft SQL Server, you use the same DVD of the server installation but make different choices.

Author Note

To perform the following steps, the teacher must go to each computer or delegate the job to the students on the computers. The account(s) used to perform the following steps must have administrative rights on the computer.

Practical LearningPractical Learning: Installing Client Tools

  1. Start the client computer (Microsoft Windows XP-7 or Microsoft Windows Server 2008 (or 2003). Log in with a password (otherwise the installation will fail) and connect to the same network (domain) where Microsoft SQL Server is installed
  2. The installation will start. If you are asked to install the .NET Framework and/or a hotfix, do it.
    To start the installation, put the Microsoft SQL Server 2008 DVD in the drive. A window would come up
  3. In the left section, click Installation
     
    Installation
  4. Click New SQL Server Stand-Alone...
    The installation would start
     
    Installation
  5. After the message box, click OK
     
    Setup
  6. Another message box would come up. When it finishes, the next page of the wizard would come up. If you are using the evaluation version, read the message and click the first radio button
    If you are installing with a product key, click the second radio button and enter the key
     
    Product Key
  7. Click Next
  8. The License Terms page is presented to you. Read it. If you don't agree with the license, click Cancel. Otherwise, click the I Accept check box
  9.  Click Next
     
    Microsoft SQL Server 2008 Setup
  10. Read the messages and click Install
     
    Domain Controller Warning
  11. Click Next
  12. To install the client tools, click the check boxes of Client Tools Connectivity, Client Tools SDK, SQL Server Books Online (not necessary, just for documentation; if you want or you don't have enough space, skip it), Management Tools - Basic (that should automatically select Management Tools - Complete), and SQL Client Connectivity SDK.
    If you want to use a directory different than the one selected, specify it in the Shared Feature Directory text box
     
    Client Tools
  13. After making your selections, click Next
     
    Instance
  14. Click Next
     
    SQL Server 2008 Setup
  15. Click Next:
     
    SQL Server 2008 Setup
  16. Click Next
     
    SQL Server 2008 Setup
  17. Click Install
     
    SQL Server 2008 Setup
  18. Click Next.
    After a while, a message box will come up
     
    SQL Server 2008 Setup
  19. Click Next
     
    SQL Server 2008 Setup
  20. You should receive a message box announcing that the installation was successful:
     
    Database Engine Configuration
     
    Click Close

Exercises

   

Lesson Summary Questions

Using the MSDN web site, answer the following questions:

  1. What are the various versions of Microsoft SQL Server 2008?
  2. What are the hardware requirements to install Microsoft SQL Server 2008?
 
 
   
 

Previous Copyright © 2003-2012, Fianga.com Next