Partager via


How to Install SQL Server 2008

The following procedure describes how to install SQL Server 2008. After you install SQL Server 2008, you must install the following software if you want to work with the Commerce Server 2009 Data Warehouse and Analytics System:

Data Warehouse Reports when Using SQL Server 2008

For the Commerce Server 2009 Data Warehouse sample reports to work correctly with SQL Server Reporting Services (SSRS) 2008, you must upgrade the report files (RDL files). To upgrade the reports, open them by using SQL Server Business Intelligence Development Studio 2008. The report files are located in the C:\<Commerce Server root>\RDLs folder.

After you do this, you can upload the upgraded reports to the server using the Report Manager or rs.exe utility. You must also create data sources to connect the reports to the required SQL Server Analysis Server. See the SQL Server 2008 documentation for detailed instructions.

To install SQL Server 2008

  1. Insert the SQL Server installation media. From the root folder, double-click setup.exe. To install from a network share, locate the root folder on the share, and then double-click setup.exe. If the Microsoft SQL Server 2008 Setup dialog box appears, click OK to install the prerequisites, then click Cancel to quit SQL Server 2008 installation.

  2. If the 3.5 SP1 installation dialog box appears, select the check box to accept the .NET Framework 3.5 SP1 License Agreement. Click Next. To quit SQL Server 2008 installation, click Cancel. When installation of .NET Framework 3.5 SP1 is complete, click Finish.

  3. Windows Installer 4.5 is also required, and might be installed by the Installation Wizard. If you are prompted to restart your computer, restart it, and then restart SQL Server 2008 setup.exe.

  4. When the prerequisites are installed, the Installation Wizard will run the SQL Server Installation Center. To create a new installation of SQL Server 2008, click New Installation or Add Features to an Existing Installation.

  5. The System Configuration Checker will run a discovery operation on your computer. To continue, click OK. Setup log files have been created for your installation.

  6. On the Product Key page, select a radio button to indicate whether you are installing a free edition of SQL Server, or a production version of the product that has a PID key.

  7. On the License Terms page, read the license agreement, and then select the check box to accept the licensing terms and conditions.

  8. The Installation Wizard will install SQL Server prerequisites if they are not already on the computer. These include the following:

    • .NET Framework 3.5 SP1

    • SQL Server Native Client

    • SQL Server Setup Support Files

  9. To install prerequisites, click Install.

    The System Configuration Checker will verify the system state of your computer before Setup continues.

  10. On the Feature Selection page, select the components for your installation. A description for each component group appears in the right-hand pane after you select the feature name. You can select any combination of check boxes.

    You can also specify a custom directory for shared components by using the field at the bottom of the Feature Selection page. To change the installation path for shared components, either update the path name in the field at the bottom of the dialog box, or click Browse to navigate to an installation directory. The default installation path is C:\Program Files\Microsoft SQL Server\100\.

  11. On the Instance Configuration page, specify whether to install a default instance or a named instance. To continue, click Next.

    Instance ID suffix — By default, the instance name is used as the Instance ID suffix. This is used to identify installation directories and registry keys for your instance of SQL Server. This is the case for default instances and named instances. For a default instance, the instance name and instance ID suffix would be MSSQLSERVER. To use a non-default instance ID suffix, select the Instance ID suffix check box and provide a value.

    Note

    Typical stand-alone instances of SQL Server 2008, whether default or named instances, do not use a non-default value for the Instance ID suffix check box.

    Instance root directory — By default, the instance root directory is C:\Program Files\Microsoft SQL Server\100\. To specify a non-default root directory, use the field provided, or click Browse to locate an installation folder.

    All SQL Server service packs and upgrades will apply to every component of an instance of SQL Server.

    Detected instances and features — The grid shows instances of SQL Server that are on the computer where Setup is running. If a default instance is already installed on the computer, you must install a named instance of SQL Server 2008.

  12. The Disk Space Requirements page calculates the required disk space for the features you specify. It then compares the required space to the available disk space.

  13. Work flow for the remainder of this topic depends on the features you have specified for your installation. You might not see all of the pages, depending on your selections.

  14. On the Server Configuration — Service Accounts page, specify login accounts for SQL Server services. The actual services that are configured on this page depend on the features you selected to install.

    You can assign the same login account to all SQL Server services, or you can configure each service account individually. You can also specify whether services start automatically, are started manually, or are disabled. Microsoft recommends that you configure service accounts individually to provide least privileges for each service, where SQL Server services are granted the minimum permissions they need to complete their tasks.

    To specify the same logon account for all service accounts in this instance of SQL Server, provide credentials in the fields at the bottom of the page.

    Dd464421.alert_caution(en-US,CS.90).gifImportant Note:

    Do not use a blank password. Use a strong password.

    When you are finished specifying login information for SQL Server services, click Next.

  15. Use the Server Configuration — Collation tab to specify non-default collations for the Database Engine and Analysis Services.

  16. Use the Database Engine Configuration - Account Provisioning page to specify the following:

    • Security Mode — select Windows Authentication or Mixed Mode Authentication for your instance of SQL Server. If you select Mixed Mode Authentication, you must provide a strong password for the built-in SQL Server system administrator account. After a device establishes a successful connection to SQL Server, the security mechanism is the same for both Windows Authentication and Mixed Mode.

    • SQL Server Administrators — You must specify at least one system administrator for the instance of SQL Server. To add the account under which SQL Server Setup is running, click Add Current User. To add or remove accounts from the list of system administrators, click Add or Remove, and then edit the list of users, groups, or computers that will have administrator privileges for the instance of SQL Server.

    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.

  17. Use the Database Engine Configuration - Data Directories page to specify non-default installation directories. To install to default directories, click Next.

    Dd464421.alert_caution(en-US,CS.90).gifImportant Note:

    If you specify non-default installation directories, ensure that the installation folders are unique to this instance of SQL Server. None of the directories in this dialog box should be shared with directories from other instances of SQL Server.

  18. Use the Database Engine Configuration - FILESTREAM page to enable FILESTREAM for your instance of SQL Server.

  19. Use the Analysis Services Configuration — Account Provisioning page to specify users or accounts that will have administrator permissions for Analysis Services. You must specify at least one system administrator for Analysis Services. To add the account under which SQL Server Setup is running, click AddCurrentUser. To add or remove accounts from the list of system administrators, click Add or Remove, and then edit the list of users, groups, or computers that will have administrator privileges for Analysis Services.

    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.

  20. Use the Analysis Services Configuration — Data Directories page to specify non-default installation directories. To install to default directories, click Next.

    Dd464421.alert_caution(en-US,CS.90).gifImportant Note:

    If you specify non-default installation directories, ensure that the installation folders are unique to this instance of SQL Server. None of the directories in this dialog box should be shared with directories from other instances of SQL Server.

  21. Use the Reporting Services Configuration page to specify the type of Reporting Services installation to create. Options include the following:

    • Native mode default configuration

    • SharePoint mode default configuration

    • Unconfigured Reporting Services installation

  22. On the Error and Usage Reporting page, specify the information you would like to send to Microsoft that will help to improve SQL Server. By default, options for error reporting and feature usage are enabled.

  23. The System Configuration Checker will run one more set of rules to validate your computer configuration with the SQL Server features you have specified.

  24. The Ready to Install page shows a tree view of installation options that were specified during Setup. To continue, click Install.

  25. During installation, the Installation Progress page provides status so you can monitor installation progress as Setup proceeds.

  26. 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.

  27. If you are instructed to restart the computer, do so now. It is important to read the message from the Installation Wizard when you are done with Setup.

See Also

Other Resources

Configuring the Database Servers