Compartilhar via


How to: Install SQL Server 2005 (Setup)

The Microsoft SQL Server 2005 Installation Wizard is Windows Installer-based, and provides a single feature tree for installation of all SQL Server 2005 components:

  • Database Engine
  • Analysis Services
  • Reporting Services
  • Notification Services
  • Integration Services
  • Replication
  • Management Tools
  • Connectivity Components
  • Sample databases, samples, and SQL Server 2005 documentation

You do not have to install each component individually.

Prerequisites

Note

If you are installing a failover cluster, do not follow this procedure. See How to: Create a New SQL Server 2005 Failover Cluster (Setup). If you are upgrading a previous SQL Server version to SQL Server 2005, do not follow this procedure. See Upgrading to SQL Server 2005.

Before you install SQL Server 2005, review topics in Preparing to Install SQL Server 2005.

Note

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.

To install SQL Server 2005

  1. To begin the installation process, insert the SQL Server 2005 DVD into your DVD drive. If the autorun feature on your DVD drive does not launch the installation program, navigate to the root of the DVD and launch splash.hta. If installing from a network share, navigate to the network folder and launch splash.hta.

  2. From the autorun dialog, click Run the SQL Server Installation Wizard.

  3. On the End User License Agreement page, read the license agreement, and then select the check box to accept the licensing terms and conditions. Accepting the license agreement activates the Next button. To continue, click Next. To end Setup, click Cancel.

  4. On the SQL Server Component Update page, Setup installs software required for SQL Server 2005. For more information about component requirements, click the Help button at the bottom of the page. To begin the component update process, click Install. To continue after the update completes, click Finish.

  5. On the Welcome page of the SQL Server Installation Wizard, click Next to continue.

  6. On the System Configuration Check (SCC) page, the installation computer is scanned for conditions that may block Setup. For information about configuration check items, click Help at the bottom of the page or see Check Parameters for the System Configuration Checker. To interrupt the scan, click Stop. To display a list of check items grouped by result, click the Filter button and then select a category from the drop-down list. To view a report of SCC results, click the Report button and then select an option from the drop-down list. Options include viewing the report, saving the report to a file, copying the report to the Clipboard, and sending the report as e-mail. To proceed with Setup after the SCC scan completes, click Continue.

  7. On the Registration Information page, enter information in the Name and Company text boxes. To continue, click Next.

  8. On the Components to Install page, select the components for your installation. A description for each component group appears in the Components to be Installed pane when you select it. You can select any combination of check boxes. When you select SQL Server or Analysis Services, if Setup detects that you are installing to a virtual server, the Install as a Virtual Server check box is enabled. You must select this option to install a failover cluster.

    Important

    Because the steps are different for installing a failover cluster, see How to: Create a New SQL Server 2005 Failover Cluster (Setup) if you are installing a failover cluster.

    To install individual components, click Advanced. Otherwise, click Next to continue.

  9. If you clicked Advanced on the previous page, the Feature Selection page is displayed. On the Feature Selection page, select the program features to install using the drop-down boxes. To install components to a custom directory, select the feature and then click Browse. For more information about the functionality of this page, click Help. To continue when your feature selections are complete, click Next.

  10. On the Instance Name page, select a default or named instance for your installation. If a default or named instance is already installed, and you select the existing instance for your installation, Setup upgrades it and provides you the option to install additional components. To install a new default instance, there must not be a default instance on the computer. To install a new named instance, click Named Instance and then type a unique instance name in the space provided. To install a new named instance side-by-side with an existing instance, click Named Instance and then type a unique instance name in the space provided. For more information about instance naming rules, click Help at the bottom of the page, or see the Instance Name topic in SQL Server 2005 Books Online.

  11. On the Service Account page, specify the user name, password, and domain name for SQL Server service accounts. You can use one account for all of the services.

    Optionally, you can specify an individual account for each service. To specify an individual account for each service, select Customize for each service account, select a service name from the drop-down box, and then provide login credentials for the service. To proceed, click Next.

    Note

    The domain name cannot be a full Domain Name System (DNS) name. For example, if your DNS name is my-domain-name.com, use my-domain-name in the Domain field. SQL Server does not accept my-domain-name.com in the Domain field.

  12. On the Authentication Mode page, choose the authentication mode to use for your SQL Server installation.

    If you select Windows Authentication, Setup creates an sa account, which is disabled by default. Enter and confirm the system administrator (sa) login when you choose Mixed Mode Authentication. Passwords are the first line of defense against intruders, so setting strong passwords is essential to the security of your system. Never set a blank or weak sa password. To utilize Mixed Mode Authentication and activate the sa account after Setup finishes, see "How to: Change Server Authentication Mode" in SQL Server Books Online. To proceed, click Next.

    Note

    When possible, use Windows Authentication. Do not use a blank password. Use a strong password. For strong password guidelines, see Authentication Mode.

    Note

    For this release, SQL Server Setup may not enforce the strong password requirement on some default configurations of Microsoft Windows Server  2003 where the computer is not a member of a domain. On the Collation Settings page, specify the collation for your SQL Server instance. You can use one account for SQL Server and Analysis Services, or you can specify collations for individual components.

    To set separate collation settings for SQL Server and Analysis Services, select the Customize for each service account check box. After you select the check box, a drop-down selection box appears. Select a service from the drop-down selection box and then assign its collation. Repeat for each service. To proceed, click Next.

  13. If you selected Reporting Services as a feature to install, the Report Server Installation Options page is displayed. Use the radio buttons to select whether to configure the report server with default values. If the requirements for installing Reporting Services in the default configuration are not satisfied, you must choose the Install but do not configure the server installation option. To view installation details for this page, click the Details button. For more information, click Help at the bottom of the page. To proceed, click Next.

  14. On the Error Reporting page, optionally clear the check box to disable error reporting. For more information about error reporting functionality, click Help at the bottom of the page. To proceed, click Next.

  15. On the Ready to Install page, review the summary of features and components for your SQL Server installation. To proceed, click Install.

  16. On the Installation Progress page, you can monitor installation progress as Setup proceeds. To view the log file for a component during installation, click the product or status name on the Installation Progress page.

  17. On the Completing the Microsoft SQL Server Installation Wizard page, you can view the Setup summary log by clicking the link provided on this page. To exit the SQL Server Installation Wizard, click Finish.

  18. If you are instructed to restart the computer, do so now. It is important to read the message from the Setup program when you are done with installation. Failure to restart the computer may cause failures when you run the Setup program in the future.

Next Steps

After Setup completes the installation of SQL Server 2005, you can verify that the installation was successful. For more insformation, see How to: Verify a Successful Installation of SQL Server 2005 Services.

After Setup completes the installation of SQL Server 2005, you can further configure SQL Server using graphical tools and command prompt utilities. For more information, see Configuring a SQL Server Installation.

To reduce the attackable surface area of your system, SQL Server 2005 selectively installs and activates key services and features. In the default configuration of new installations, many features are disabled. For more information, see SQL Server Surface Area Configuration.

See Also

Tasks

How to: Upgrade to SQL Server 2005 (Setup)
How to: Create a New SQL Server 2005 Failover Cluster (Setup)
How to: Upgrade to a SQL Server 2005 Failover Cluster Instance (Setup)

Concepts

Preparing to Install SQL Server 2005
Failover Cluster Troubleshooting
How to: View SQL Server 2005 Setup Log Files

Other Resources

How to: Upgrade to SQL Server 2005 with the Copy Database Wizard

Help and Information

Getting SQL Server 2005 Assistance