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

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. Start the computer
  2. Log in using an account with administrative rights. If you followed the previous lesson, log in using the phkatts account. If the computer you are using is connected to a network, make sure you specify the domain. If you are logged in locally, make sure you use the name of the computer.
    If you are installing in Microsoft Windows XP-7, make sure you log in with a password, otherwise the installation will fail.
    For our installation, we will log in as Administrator (in either Microsoft Windows 7 Professional/Ultimate or in a domain named functionx.local)
  3. 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. 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

    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

    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

    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. To start the installation, put the Microsoft SQL Server 2008 DVD in the drive. A window would come up:
     
    Installation
  6. In the left section, click Installation
     
    Installation
  7. 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. After the message box, click OK
     
    Setup
  9. 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
     
    If you are installing with a product key, click the second radio button and enter the key
     
    Product Key
  10. Click Next
  11. 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.  Click Next
     
    Microsoft SQL Server 2008 Setup
  13. Read the messages and click Install:
     
    Microsoft SQL Server 2008 Setup
  14. 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.
    Click Next
    (We are not encouraging you to ignore warnings; just these ones)
  15. 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. 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. The next page mostly allows you to check and confirm the disk space:
     
    Disk Space
     
    After checking it, click Next
  18. 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. 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. Click OK
     
    Log In
     
    Log In
  21. Click Next
  22. After making your selections, click Next
  23. 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. Microsoft SQL Server provides a default user named sa. To prepare that user for database authentication, click the Mixed Mode
  25. Type a password in the Enter Password text box. For this exercise, you can use P@assword1 and press Tab
  26. Enter the same password in the Confirm Password text box
  27. 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. Click Next
  29. The next step allows you to specify an account for the analysis services. Click Add Current User
     
    Analysis Services Configuration
     
    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. Click Next
  31. In the Reporting Services Configuration page, click the last radio button to install but without configuring the reporting:
     
    Reporting Services Configuration
  32. 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. Read it and click Next
  34. The next page gives you a summary of tests that were performed before the installation:
     
    Installation Rules
  35. After reading, click Next.
    This would indicate that the installation is ready to proceed:
     
    Ready to Install
  36. 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. 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. 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.

 
 
 
     
 

Previous Copyright © 2003-2015, FunctionX, Inc. Next