Partilhar via


How to: Add Features to an Instance of SQL Server 2008 R2 (Setup)

The SQL Server Installation Wizard provides a single feature tree for installation of all SQL Server components. You do not have to install each component individually.

  • Database Engine

  • Analysis Services

  • Reporting Services

  • Integration Services

  • Replication

  • Full-text search

  • Management tools

  • Connectivity components

  • Sample databases, samples, and SQL Server Books Online

To add features to an instance of SQL Server 2008 from the command prompt, see How to: Install SQL Server 2008 R2 from the Command Prompt.

Prerequisites

Before you continue, review topics in Planning a SQL Server Installation.

Observação

For local installations, you must run Setup as an administrator. If you install SQL Server from a remote share, you must use a domain account that has read and execute permissions on the remote share.

Observação

When you add features to an instance of SQL Server 2008 R2, the existing usage report settings are applied to the newly-added features. To change these settings, use the SQL Server Error and Usage Reporting tool on the SQL Server Configuration Tools menu.

Procedures

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, navigate to 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 .NET Framework 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 may be installed by the Installation Wizard. If you are prompted to restart your computer, restart and then restart SQL Server 2008 setup.exe.

  4. When prerequisites are installed, the Installation Wizard will launch 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. For more information about log files, see How to: View and Read SQL Server Setup Log Files.

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

    • .NET Framework 3.5 SP1

    • SQL Server Native Client

    • SQL Server Setup Support Files

    To install prerequisites, click Install.

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

  8. On the Installation Type page, specify the instance you would like to update.

  9. 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. For more information, see Editions and Components of SQL Server 2008 R2. Each component can be installed only once on a given instance of SQL Server. To install multiple components, you must install an additional instance of SQL Server.

  10. The Disk Space Requirements page calculates the required disk space for the features you specify, and compares requirements to the available disk space on the computer where Setup is running. For more information, see Disk Space Requirements.

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

  12. 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. For more information, see Server Configuration - Service Accounts and Setting Up Windows Service Accounts.

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

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

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

  13. Use the Server Configuration - Collation tab to specify non-default collations for the Database Engine and Analysis Services. For more information, see Server Configuration - Collation.

  14. 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. For more information, see Database Engine Configuration - Account Provisioning.

    • 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. For more information, see Database Engine Configuration - Account Provisioning.

    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.

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

    Importante

    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.

    For more information, see Database Engine Configuration - Data Directories.

  16. Use the Database Engine Configuration — FILESTREAM page to enable FILESTREAM for your instance of SQL Server. For more information about FILESTREAM, see Database Engine Configuration - Filestream. To continue, click Next.

  17. 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 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 Analysis Services. For more information, see Analysis Services Configuration - Account Provisioning.

    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.

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

    Importante

    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.

    For more information, see Analysis Services Configuration - Data Directories.

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

    For more information about Reporting Services configuration modes, see Report Server Installation Options.

  20. 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. For more information, see Error Reporting.

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

  22. The Ready to Install page displays a tree view of installation options that were specified during Setup.

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

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

  25. 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. For information about Setup log files, see How to: View and Read SQL Server Setup Log Files.

Next Steps

Configure your SQL Server installation