使用安装向导安装 SQL Server(安装程序)Install SQL Server from the Installation Wizard (Setup)

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - 仅限 Windows 适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - Windows only

本文介绍如何使用安装向导安装 SQL Server。This article explains how to install SQL Server with the Installation Wizard. 它适用于 SQL Server 2016 (13.x)SQL Server 2016 (13.x)SQL Server 2017 (14.x)SQL Server 2017 (14.x)It applies to SQL Server 2016 (13.x)SQL Server 2016 (13.x) and SQL Server 2017 (14.x)SQL Server 2017 (14.x).

本文介绍了使用 SQL ServerSQL Server 安装程序安装向导来安装新 SQL ServerSQL Server 实例的分步过程。This article provides a step-by-step procedure for installing a new instance of SQL ServerSQL Server by using the SQL ServerSQL Server Setup Installation Wizard. 此安装向导提供了一个用于安装所有 SQL ServerSQL Server 组件的功能树,这样你就不必逐个安装这些组件了。The Installation Wizard provides a single feature tree for installation of all SQL ServerSQL Server components so that you don't have to install them individually. 若要逐个安装 SQL ServerSQL Server 组件,请参阅安装 SQL ServerTo install the SQL ServerSQL Server components individually, see Install SQL Server.

有关安装 SQL ServerSQL Server 的其他方法,请参阅:For other ways to install SQL ServerSQL Server, see:

获取安装介质Get the installation media

SQL ServerSQL Server 的下载位置由版本决定:The download location for SQL ServerSQL Server depends on the edition:

  • “SQL Server Enterprise、Standard 和 Express Edition” 已获授权,可供生产之用。SQL Server Enterprise, Standard, and Express Editions are licensed for production use. 对于企业版和标准版,请联系软件供应商获取安装媒体。For the Enterprise and Standard Editions, contact your software vendor for the installation media. 你可以在 Microsoft 采购网站上找到采购信息和 Microsoft 合作伙伴目录。You can find purchasing information and a directory of Microsoft partners on the Microsoft purchasing website.
  • 最新免费版本The latest free edition.

先决条件Prerequisites

安装 SQL ServerSQL Server 前,请先审阅计划 SQL Server 安装Before you install SQL ServerSQL Server, review Planning a SQL Server installation.

备注

对于本地安装,必须以管理员身份运行安装程序。For local installations, you must run Setup as an administrator. 如果从远程共享安装 SQL ServerSQL Server ,则必须使用对远程共享具有读取和执行权限的域帐户。If you install SQL ServerSQL Server from a remote share, you must use a domain account that has read and execute permissions on the remote share.

安装修补程序要求Install patch requirement

Microsoft 已发现,作为 SQL Server 2016 和 2017 系统必备组件安装的 Microsoft Visual C++ 2013 运行时二进制文件存在问题。Microsoft has identified a problem with the Microsoft Visual C++ 2013 runtime binaries that are installed as a prerequisite by SQL Server 2016 and 2017. 现在有可用的更新来修复该问题。An update is available to fix this problem. 如果 Visual C++ 运行时二进制文件的此更新未安装,SQL Server 可能会在某些情况下出现稳定性问题。If this update to the Visual C++ runtime binaries isn't installed, SQL Server may experience stability issues in certain scenarios. 安装 SQL Server 前,请先按照 SQL Server 发行说明中的说明操作,以确定计算机是否需要 Visual C++ 运行时二进制文件的修补程序。Before you install SQL Server, follow the instructions in the SQL Server release notes to see if your computer requires a patch for the Visual C++ runtime binaries.

这不适用于 SQL Server 2019 (15.x)SQL Server 2019 (15.x)This is not applicable to SQL Server 2019 (15.x)SQL Server 2019 (15.x).

安装 SQL Server 2016 和 2017To install SQL Server 2016 and 2017

  1. 插入 SQL ServerSQL Server 安装介质,Insert the SQL ServerSQL Server installation media. 然后双击根文件夹中的 Setup.exeFrom the root folder, double-click Setup.exe. 若要从网络共享进行安装,请先在共享中找到根文件夹,再双击“Setup.exe”。To install from a network share, locate the root folder on the share, and then double-click Setup.exe.

  2. 安装向导将运行 SQL ServerSQL Server 安装中心。The Installation Wizard runs the SQL ServerSQL Server Installation Center. 若要新建 SQL ServerSQL Server 安装,请依次选择左侧导航区域中的“安装”和“新建 SQL ServerSQL Server 独立安装或向现有安装添加功能”。To create a new installation of SQL ServerSQL Server, select Installation in the left navigation area, and then select New SQL ServerSQL Server standalone installation or add features to an existing installation.

  3. 在“产品密钥”页中,选择选项来指明是要安装 SQL ServerSQL Server 免费版本,还是要安装有 PID 密钥的生产版本。On the Product Key page, select an option to indicate whether you're installing a free edition of SQL ServerSQL Server or a production version that has a PID key. 有关详细信息,请参阅 SQL Server 2017 的各版本和支持的功能For more information, see Editions and supported features of SQL Server 2017.

    若要继续操作,请选择“下一步”。To continue, select Next.

  4. 在“许可条款”页中,审阅许可协议。On the License Terms page, review the license agreement. 如果同意,请选中“我接受许可条款”复选框,再选择“下一步”。If you agree, select the I accept the license terms check box, and then select Next.

    备注

    SQL Server 传输有关安装体验的信息,以及其他使用情况和性能数据,以帮助 Microsoft 改进产品。SQL Server transmits information about your installation experience, as well as other usage and performance data to help Microsoft improve the product. 若要详细了解 SQL Server 数据处理和隐私控制,请参阅隐私声明将 SQL Server 配置为向 Microsoft 发送反馈To learn more about SQL Server data processing and privacy controls, see the privacy statement and Configure SQL Server to send feedback to Microsoft.

  5. 在“全局规则”页中,如果没有规则错误,安装程序会自动跳转到“产品更新”页。In the Global Rules page, Setup will automatically advance to the Product Updates page if there are no rule errors.

  6. 如果未在依次转到“控制面板” > “所有控制面板项” > “Windows 更新” > “更改设置”后选中“Microsoft 更新”复选框,接下来会转到“Microsoft 更新”页。The Microsoft Update page will appear next if the Microsoft Update check box in Control Panel > All Control Panel Items > Windows Update > Change settings isn't selected. 选中“Microsoft 更新”复选框会将计算机设置更改为,在扫描是否有 Windows 更新时,扫描所有 Microsoft 产品的最新更新。Selecting the Microsoft Update check box changes the computer settings to include the latest updates for all Microsoft products when you scan for Windows updates.

  7. “产品更新”页显示最新 SQL ServerSQL Server 产品更新。On the Product Updates page, the latest available SQL ServerSQL Server product updates are displayed. 如果未发现任何产品更新,安装程序就不会显示此页,并自动跳转到“安装安装程序文件”页。If no product updates are discovered, Setup doesn't display this page and automatically advances to the Install Setup Files page.

  8. 在“安装安装程序文件”页中,安装程序显示安装程序文件的下载、提取和安装进度。On the Install Setup Files page, Setup provides the progress of downloading, extracting, and installing the Setup files. 如果找到了安装程序更新,且你指定包括它,也会安装此更新。If an update for Setup is found and you specify to include it, that update will also be installed. 如果未找到任何更新,安装程序将自动进行。If no update is found, Setup will automatically advance.

  9. 在“安装规则”页中,安装程序会检查是否有可能会在运行安装程序时发生的潜在问题。On the Install Rules page, Setup checks for potential problems that might occur while running Setup. 如果检查到故障,请选择“状态”列中的项,以了解详细信息。If failures occur, select an item in the Status column for more information. 否则,请选择“下一步”。Otherwise, select Next.

  10. 如果这是首次在计算机上安装 SQL ServerSQL Server,安装程序会跳过“安装类型”页,并直接转到“功能选择”页。If this is the first installation of SQL ServerSQL Server on the machine, Setup skips the Installation Type page and goes directly to the Feature Selection page. 如果系统中已安装有 SQL ServerSQL Server,你可以使用“安装类型”页来选择是执行新安装,还是向现有安装添加功能。If SQL ServerSQL Server is already installed on the system, you can use the Installation Type page to select either to perform a new installation or to add features to an existing installation. 若要继续操作,请选择“下一步”。To continue, select Next.

  11. 在“功能选择”页上,选择要安装的组件。On the Feature Selection page, select the components for your installation. 例如,要安装新的 SQL ServerSQL Server 数据库引擎Database Engine 实例,请选择“数据库引擎服务”。For example, to install a new instance of SQL ServerSQL Server 数据库引擎Database Engine, select Database Engine Services.

    选择功能名称后, “功能说明” 窗格中会显示每个组件组的说明。A description for each component group appears in the Feature description pane after you select the feature name. 您可以选中任意一些复选框。You can select any combination of check boxes. 有关详细信息,请参阅 SQL Server 2016 版本和组件SQL Server 2017 版本和组件For more information, see Editions and components of SQL Server 2016 or Editions and components of SQL Server 2017.

    “所选功能的必备组件” 窗格中将显示所选功能的必备组件。The prerequisites for the selected features are displayed in the Prerequisites for selected features pane. 安装程序在本过程后面所述的安装步骤中安装尚未安装的系统必备。Setup installs the prerequisites that aren't already installed during the installation step described later in this procedure.

    也可以使用“功能选择”页底部的字段,指定共用组件的自定义目录。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 in the field at the bottom of the dialog box or select Browse to go to an installation directory. 默认安装路径为 C:\Program Files\Microsoft SQL Server\nnn\ C:\Program Files\Microsoft SQL Server\nnn\。The default installation path is C:\Program Files\Microsoft SQL Server\nnn\ C:\Program Files\Microsoft SQL Server\nnn\.

    备注

    为共享组件指定的路径必须是绝对路径。The path specified for the shared components must be an absolute path. 文件夹不能压缩或加密。The folder must not be compressed or encrypted. 不支持映射驱动器。Mapped drives aren't supported.

    SQL Server 对共享功能使用两个目录:SQL Server uses two directories for shared features:

    • 共享功能目录Shared feature directory
    • 共享功能目录 (x86)Shared feature directory (x86)

    备注

    为以上每个选项指定的路径必须不同。The path specified for each of the above options must be different.

  12. 如果所有规则都通过,“功能规则”页会自动跳转。The Feature Rules page automatically advances if all rules pass.

  13. 在“实例配置”页中,指定是要安装默认实例,还是命名实例。On the Instance Configuration page, specify whether to install a default instance or a named instance. 有关详细信息,请参阅实例配置For more information, see Instance configuration.

    • 实例 ID:默认情况下,实例名称用作实例 ID。Instance ID: By default, the instance name is used as the instance ID. 此 ID 用于标识 SQL ServerSQL Server 实例的安装目录和注册表项。This ID is used to identify the installation directories and registry keys for your instance of SQL ServerSQL Server. 对于默认实例和命名实例,行为是相同的。The same behavior occurs for default instances and named instances. 对于默认实例,实例名称和实例 ID 为 MSSQLSERVER。For a default instance, the instance name and instance ID are MSSQLSERVER. 若要使用非默认实例 ID,请在“实例 ID”文本框中指定其他值。To use a nondefault instance ID, specify a different value in the Instance ID text box.

      备注

      典型 SQL ServerSQL Server 独立实例(无论是默认实例,还是命名实例)不会使用非默认实例 ID 值。Typical standalone instances of SQL ServerSQL Server, whether default or named instances, don't use a nondefault value for the instance ID.

      所有 SQL ServerSQL Server Service Pack 和升级都适用于 SQL ServerSQL Server 实例的每个组件。All SQL ServerSQL Server service packs and upgrades apply to every component of an instance of SQL ServerSQL Server.

    • 已安装实例:此网格显示正在运行安装程序的计算机上的 SQL ServerSQL Server 实例。Installed instances: The grid shows the instances of SQL ServerSQL Server that are on the computer where Setup is running. 如果计算机上已经安装了一个默认实例,则必须安装 SQL ServerSQL Server的命名实例。If a default instance is already installed on the computer, you must install a named instance of SQL ServerSQL Server.

    安装程序的其余工作流视你已为安装指定的功能而定。The workflow for the rest of the installation depends on the features that you've specified for your installation. 你可能不会看到所有页,具体视你的选择而定。Depending on your selections, you might not see all the pages.

  14. 选择安装 Polybase 功能会将“PolyBase 配置”页添加到 SQL Server 安装程序,并显示在“实例配置”页之后 。Selecting to install the Polybase feature will add the PolyBase Configuration page to the SQL Server setup, displayed after the Instance Configuration page. PolyBase 需要 Oracle JRE 7 更新 51(至少),如果未安装该更新,安装进程会受到阻止。PolyBase requires the Oracle JRE 7 Update 51 (at least), and if this hasn't already been installed, your installation will be blocked. 在“Polybase 配置”页上,可以选择使用 SQL Server 作为一个启用了 Polybase 的独立实例,也可以将此 SQL Server 作为 PolyBase 横向扩展组的一部分。On the Polybase Configuration page, you can choose to use the SQL Server as a standalone Polybase-enabled instance, or you can use this SQL Server as part of a PolyBase scale-out group. 如果选择使用横向扩展组,需要指定最多 6 个(或更多)端口的端口范围。If you choose to use the scale-out group, you will need to specify a port range of up to 6 or more ports.

  15. 使用“服务器配置 - 服务帐户”页指定 SQL ServerSQL Server 服务的登录帐户。Use the Server Configuration - Service Accounts page to specify the logon accounts for SQL ServerSQL Server services. 你在此页中配置的实际服务取决于你已选择安装的功能。The actual services that you configure on this page depend on the features that you selected to install. 若要详细了解配置设置,请参阅安装向导帮助For more information about configuration settings, see Installation Wizard help.

    可以为所有 SQL ServerSQL Server 服务分配相同的登录帐户,也可以单独配置各个服务帐户。You can assign the same logon account to all SQL ServerSQL Server services, or you can configure each service account individually. 还可以指定是自动启动、手动启动还是禁用服务。You can also specify whether services start automatically, start manually, or are disabled. 建议单独配置服务帐户,以提供每个服务的最小特权。We recommend you configure service accounts individually to provide the least privileges for each service. 请务必向 SQL ServerSQL Server 服务授予完成任务所必需的最低权限。Make sure SQL ServerSQL Server services are granted the minimum permissions they must have to complete their tasks. 有关详细信息,请参阅配置 Windows 服务帐户和权限For more information, see Configure Windows service accounts and permissions.

    若要为此 SQL ServerSQL Server 实例中的所有服务帐户指定同一个登录帐户,请在此页底部的字段中提供凭据。To specify the same logon account for all service accounts in this instance of SQL ServerSQL Server, provide the credentials in the fields at the bottom of the page.

    重要

    不要使用空密码。Do not use a blank password. 请使用强密码。Use a strong password.

    备注

    SQL Server 2016 (13.x)SQL Server 2016 (13.x) 起,选中“向 SQL Server 数据库引擎服务授予执行卷维护任务权限”复选框,可以让 SQL Server 数据库引擎SQL Server Database Engine服务帐户使用数据库即时文件初始化Starting with SQL Server 2016 (13.x)SQL Server 2016 (13.x), select the Grant Perform Volume Maintenance Task privilege to SQL Server Database Engine Service check box to allow the SQL Server 数据库引擎SQL Server Database Engine service account to use database instant file initialization.

  16. 使用“服务器配置 - 排序规则”页为 数据库引擎Database EngineAnalysis ServicesAnalysis Services 指定非默认排序规则。Use the Server Configuration - Collation page to specify non-default collations for the 数据库引擎Database Engine and Analysis ServicesAnalysis Services.

    默认安装设置由操作系统 (OS) 区域设置确定。The default installation setting is determined by the operating system (OS) locale. 服务器级排序规则可以在安装期间更改,也可以在安装前通过更改 OS 区域设置进行更改。The server-level collation can either be changed during setup, or by changing the OS locale before installation. 默认排序规则设置为与每个特定区域设置关联的最早可用版本。The default collation is set to the oldest available version that is associated with each specific locale. 这是出于向后兼容的原因。This is due to backwards compatibility reasons. 因此,不推荐总是使用默认排序规则。Therefore, this is not always the recommended collation. 更改 Windows 排序规则的默认安装设置可充分利用 SQL ServerSQL Server 功能。To take full advantage of SQL ServerSQL Server features, change the default installation settings to use Windows collations. 例如,对于 OS 区域设置“英语(美国)”(代码页 1252),安装过程中的默认排序规则是 SQL_Latin1_General_CP1_CI_AS,可将其更改为最接近的 Windows 对等排序规则 Latin1_General_100_CI_AS_SC 。For example, for the OS locale English (United States) (code page 1252), the default collation during setup is SQL_Latin1_General_CP1_CI_AS and can be changed to its closest Windows collation counterpart Latin1_General_100_CI_AS_SC.

    有关详细信息,请参阅排序规则和 Unicode 支持For more information, see Collations and Unicode support.

  17. 使用“数据库配置 - 服务器配置”页指定以下各个选项:Use the Database Engine Configuration - Server Configuration page to specify the following options:

    • 安全模式:为 SQL ServerSQL Server 实例选择“Windows 身份验证”或“混合模式身份验证”。Security Mode: Select Windows Authentication or Mixed Mode Authentication for your instance of SQL ServerSQL Server. 如果选择“混合模式身份验证”,必须为内置 SQL ServerSQL Server 系统管理员帐户提供强密码。If you select Mixed Mode Authentication, you must provide a strong password for the built-in SQL ServerSQL Server system administrator account.

      在设备与 SQL ServerSQL Server 成功建立连接后,用于 Windows 身份验证和混合模式身份验证的安全机制是相同的。After a device establishes a successful connection to SQL ServerSQL Server, the security mechanism is the same for both Windows authentication and mixed mode authentication. 有关详细信息,请参阅“数据库引擎配置 - 服务器配置”页For more information, see Database Engine Configuration - Server Configuration page.

    • SQL Server 管理员:必须为 SQL ServerSQL Server 实例指定至少一个系统管理员。SQL Server Administrators: You must specify at least one system administrator for the instance of SQL ServerSQL Server. 若要添加用于运行 SQL ServerSQL Server 安装程序的帐户,请选择“添加当前用户”。To add the account under which SQL ServerSQL Server Setup is running, select Add Current User. 若要在系统管理员列表中添加或删除帐户,请先选择“添加”或“删除”,再编辑对 SQL ServerSQL Server 实例拥有管理员权限的用户、组或计算机列表。To add or remove accounts from the list of system administrators, select Add or Remove, and then edit the list of users, groups, or computers that have administrator privileges for the instance of SQL ServerSQL Server.

    使用“数据库引擎配置 - 数据目录”页指定非默认安装目录。Use the Database Engine Configuration - Data Directories page to specify nondefault installation directories. 若要安装到默认目录,请选择“下一步”。To install to the default directories, select Next.

    重要

    如果指定非默认安装目录,请确保安装文件夹对此 SQL ServerSQL Server 实例是唯一的。If you specify nondefault installation directories, ensure that the installation folders are unique to this instance of SQL ServerSQL Server. 此对话框中的任何目录都不应与其他 SQL ServerSQL Server实例的目录共享。None of the directories in this dialog box should be shared with directories from other instances of SQL ServerSQL Server.

    有关详细信息,请参阅“数据库引擎配置 - 数据目录”页For more information, see Database Engine Configuration - Data Directories page.

    使用“数据库引擎配置 - TempDB”页配置 tempdb 的文件大小、文件数、非默认安装目录和文件增长设置。Use the Database Engine Configuration - TempDB page to configure the file size, number of files, nondefault installation directories, and file-growth settings for tempdb. 有关详细信息,请参阅“数据库引擎配置 - TempDB”页For more information, see Database Engine Configuration - TempDB page.

    使用“数据库引擎配置 - FILESTREAM”页为 SQL ServerSQL Server 实例启用 FILESTREAM。Use the Database Engine Configuration - FILESTREAM page to enable FILESTREAM for your instance of SQL ServerSQL Server. 有关详细信息,请参阅“数据库引擎配置 - FILESTREAM”页For more information, see Database Engine Configuration - FILESTREAM page.

  18. 使用“Analysis Services - 帐户预配”页指定服务器模式,以及对 Analysis ServicesAnalysis Services 拥有管理员权限的用户或帐户。Use the Analysis Services Configuration - Account Provisioning page to specify the server mode and the users or accounts that have administrator permissions for Analysis ServicesAnalysis Services. 服务器模式决定了哪些内存和存储子系统用于服务器。The server mode determines which memory and storage subsystems are used on the server. 不同的解决方案类型在不同的服务器模式下运行。Different solution types run in different server modes. 如果计划在服务器上运行多维数据集数据库,请选择默认服务器模式选项“多维和数据挖掘”。If you plan to run multidimensional cube databases on the server, select the default server mode option, Multidimensional and Data Mining.

    必须为 Analysis ServicesAnalysis Services 指定至少一个系统管理员:You must specify at least one system administrator for Analysis ServicesAnalysis Services:

    • 若要添加正在运行 SQL Server 安装程序的帐户,请选择“添加当前用户”。To add the account under which SQL Server Setup is running, select Add Current User.

    • 若要在系统管理员列表中添加或删除帐户,请先选择“添加”或“删除”,再编辑对 Analysis ServicesAnalysis Services 拥有管理员权限的用户、组或计算机列表。To add or remove accounts from the list of system administrators, select Add or Remove, and then edit the list of users, groups, or computers that have administrator privileges for Analysis ServicesAnalysis Services.

    若要详细了解服务器模式和管理员权限,请参阅“Analysis Services 配置 - 帐户预配”页For more information about server mode and administrator permissions, see Analysis Services Configuration - Account Provisioning page.

    编辑完列表后,选择“确定”。When you're finished editing the list, select OK. 验证配置对话框中的管理员列表。Verify the list of administrators in the configuration dialog box. 在列表是完整后,单击“下一步”。After the list is complete, select Next.

    使用“Analysis Services - 数据目录”页指定非默认安装目录。Use the Analysis Services Configuration - Data Directories page to specify nondefault installation directories. 若要安装到默认目录,请选择“下一步”。To install to the default directories, select Next.

    重要

    安装 SQL ServerSQL Server 时,如果你为 INSTANCEDIR 和 SQLUSERDBDIR 指定相同的目录路径,SQL Server 代理和全文搜索不会启动,因为缺少权限。When installing SQL ServerSQL Server, if you specify the same directory path for INSTANCEDIR and SQLUSERDBDIR, SQL Server Agent and Full Text Search won't start due to missing permissions.

    如果指定非默认安装目录,请确保安装文件夹对此 SQL ServerSQL Server 实例是唯一的。If you specify nondefault installation directories, ensure that the installation folders are unique to this instance of SQL ServerSQL Server. 此对话框中的任何目录都不应与其他 SQL ServerSQL Server实例的目录共享。None of the directories in this dialog box should be shared with directories from other instances of SQL ServerSQL Server.

    有关详细信息,请参阅“Analysis Services 配置 - 数据目录”页For more information, see Analysis Services Configuration - Data Directories page.

  19. 使用“Distributed Replay 控制器配置”页指定要向其授予 Distributed Replay 控制器服务管理权限的用户。Use the Distributed Replay Controller Configuration page to specify the users you want to grant administrative permissions to for the Distributed Replay controller service. 拥有管理权限的用户可以不受限制地访问 Distributed Replay 控制器服务。Users that have administrative permissions have unlimited access to the Distributed Replay controller service.

    • 若要向正在运行 SQL Server 安装程序的用户授予 Distributed Replay 控制器服务访问权限,请选择“添加当前用户”按钮。To grant access permissions for the Distributed Replay controller service to the user who's running SQL Server Setup, select the Add Current User button.

    • 若要向其他用户授予 Distributed Replay 控制器服务访问权限,请选择“添加”按钮。To grant access permissions for the Distributed Replay controller service to other users, select the Add button.

    • 若要撤消 Distributed Replay 控制器服务访问权限,请选择“删除”按钮。To remove access permissions from the Distributed Replay controller service, select the Remove button.

    • 若要继续操作,请选择“下一步”。To continue, select Next.

  20. 使用“Distributed Replay 客户端配置”页指定要向其授予 Distributed Replay 客户端服务管理权限的用户。Use the Distributed Replay Client Configuration page to specify the users you want to grant administrative permissions to for the Distributed Replay client service. 拥有管理权限的用户可以不受限制地访问 Distributed Replay 客户端服务。Users that have administrative permissions have unlimited access to the Distributed Replay client service.

    • “控制器名称”是可选选项。Controller Name is optional. 默认值是 <blank>。The default value is <blank>. 输入客户端计算机用来与 Distributed Replay 客户端服务通信的控制器的名称:Enter the name of the controller that the client computer will communicate with for the Distributed Replay client service:

      • 如果已设置控制器,请在配置每个客户端时输入控制器名称。If you've already set up a controller, enter the name of the controller while configuring each client.

      • 如果尚未设置控制器,可以将控制器名称保留为空白。If you haven't yet set up a controller, you can leave the controller name blank. 但是,您必须在 “客户端配置” 文件中手动输入控制器名称。However, you must manually enter the controller name in the client configuration file.

    • 为 Distributed Replay 客户端服务指定 “工作目录”Specify the Working Directory for the Distributed Replay client service. 默认工作目录为 <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\WorkingDir\。The default working directory is <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\WorkingDir\.

    • 为 Distributed Replay 客户端服务指定 “结果目录”Specify the Result Directory for the Distributed Replay client service. 默认结果目录为 <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\ResultDir\。The default result directory is <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\ResultDir\.

    • 若要继续操作,请选择“下一步”。To continue, select Next.

  21. “准备安装”页显示你在使用安装程序期间指定的安装选项的树状视图。The Ready to Install page shows a tree view of the installation options that you specified during Setup. 在此页中,安装程序指明“产品更新”功能是启用还是禁用,以及最终更新版本。On this page, Setup indicates whether the Product Update feature is enabled or disabled and the final update version.

    若要继续操作,请选择“安装”。To continue, select Install. SQL ServerSQL Server 安装程序先安装选定功能的系统必备,再安装选定功能。Setup first installs the required prerequisites for the selected features, then it installs the selected features.

  22. 在安装过程中,“安装进度”页显示状态更新,以便你能在安装程序继续运行时监视安装进度。During installation, the Installation Progress page provides status updates so that you can monitor the installation progress as Setup continues.

  23. 安装完成后, “完成” 页会提供指向安装摘要日志文件以及其他重要说明的链接。After installation, the Complete page provides a link to the summary log file for the installation and other important notes.

    重要

    运行完安装程序后,请务必阅读安装向导中的消息。Make sure you read the message from the Installation Wizard when you've finished with Setup. 有关详细信息,请参阅查看和读取 SQL Server 安装程序日志文件For more information, see View and read SQL Server Setup log files.

    若要完成 SQL ServerSQL Server 安装过程,请单击“关闭”。To complete the SQL ServerSQL Server installation process, select Close.

  24. 如果系统指示你重启计算机,请立即重启。If you're instructed to restart the computer, do so now.

安装 SQL Server 2019To install SQL Server 2019

  1. 插入 SQL ServerSQL Server 安装介质,Insert the SQL ServerSQL Server installation media. 然后双击根文件夹中的 Setup.exeFrom the root folder, double-click Setup.exe. 若要从网络共享进行安装,请先在共享中找到根文件夹,再双击“Setup.exe”。To install from a network share, locate the root folder on the share, and then double-click Setup.exe.

  2. 安装向导将运行 SQL ServerSQL Server 安装中心。The Installation Wizard runs the SQL ServerSQL Server Installation Center. 若要新建 SQL ServerSQL Server 安装,请依次选择左侧导航区域中的“安装”和“新建 SQL ServerSQL Server 独立安装或向现有安装添加功能”。To create a new installation of SQL ServerSQL Server, select Installation in the left navigation area, and then select New SQL ServerSQL Server standalone installation or add features to an existing installation.

  3. 在“产品密钥”页中,选择选项来指明是要安装 SQL ServerSQL Server 免费版本,还是要安装有 PID 密钥的生产版本。On the Product Key page, select an option to indicate whether you're installing a free edition of SQL ServerSQL Server or a production version that has a PID key. 有关详细信息,请参阅 SQL Server 2017 的各版本和支持的功能For more information, see Editions and supported features of SQL Server 2017.

    若要继续操作,请选择“下一步”。To continue, select Next.

  4. 在“许可条款”页中,审阅许可协议。On the License Terms page, review the license agreement. 如果同意,请选中“我接受许可条款和隐私声明”复选框,再选择“下一步”。If you agree, select the I accept the license terms and privacy statement check box, and then select Next.

    备注

    如果输入了企业服务器/CAL 许可证产品密钥,且计算机上有 20 多个物理内核,或者在启用超线程时有 40 个逻辑内核,则安装过程中会显示警告。If an Enterprise Server/CAL license Product Key is entered, and the machine has more than 20 physical cores, or 40 logical cores when Hyper-Threading is enabled, a warning is shown during setup. 要继续安装,请选择“选中此框确认此限制或单击‘返回/取消’输入支持操作系统最大处理器数的企业内核产品许可证”复选框,或者单击“返回”并输入支持操作系统最大处理器数的许可证密钥 。You can still continue setup by selecting the Check this box to acknowledge this limitation or click Back/Cancel to enter an Enterprise Core product license that supports the operating system maximum check box, or click Back and enter a License Key that supports the operating system maximum number of processors.

    备注

    SQL Server 传输有关安装体验的信息,以及其他使用情况和性能数据,以帮助 Microsoft 改进产品。SQL Server transmits information about your installation experience, as well as other usage and performance data to help Microsoft improve the product. 若要详细了解 SQL Server 数据处理和隐私控制,请参阅隐私声明将 SQL Server 配置为向 Microsoft 发送反馈To learn more about SQL Server data processing and privacy controls, see the privacy statement and Configure SQL Server to send feedback to Microsoft.

  5. 在“全局规则”页中,如果没有规则错误,安装程序会自动跳转到“产品更新”页。In the Global Rules page, Setup will automatically advance to the Product Updates page if there are no rule errors.

  6. 如果未在依次转到“控制面板” > “所有控制面板项” > “Windows 更新” > “更改设置”后选中“Microsoft 更新”复选框,接下来会转到“Microsoft 更新”页。The Microsoft Update page will appear next if the Microsoft Update check box in Control Panel > All Control Panel Items > Windows Update > Change settings isn't selected. 选中“Microsoft 更新”复选框会将计算机设置更改为,在扫描是否有 Windows 更新时,扫描所有 Microsoft 产品的最新更新。Selecting the Microsoft Update check box changes the computer settings to include the latest updates for all Microsoft products when you scan for Windows updates.

  7. “产品更新”页显示最新 SQL ServerSQL Server 产品更新。On the Product Updates page, the latest available SQL ServerSQL Server product updates are displayed. 如果未发现任何产品更新,安装程序就不会显示此页,并自动跳转到“安装安装程序文件”页。If no product updates are discovered, Setup doesn't display this page and automatically advances to the Install Setup Files page.

  8. 在“安装安装程序文件”页中,安装程序显示安装程序文件的下载、提取和安装进度。On the Install Setup Files page, Setup provides the progress of downloading, extracting, and installing the Setup files. 如果找到了安装程序更新,且你指定包括它,也会安装此更新。If an update for Setup is found and you specify to include it, that update will also be installed. 如果未找到任何更新,安装程序将自动进行。If no update is found, Setup will automatically advance.

  9. 在“安装规则”页中,安装程序会检查是否有可能会在运行安装程序时发生的潜在问题。On the Install Rules page, Setup checks for potential problems that might occur while running Setup. 如果检查到故障,请选择“状态”列中的项,以了解详细信息。If failures occur, select an item in the Status column for more information. 否则,请选择“下一步”。Otherwise, select Next.

  10. 如果这是首次在计算机上安装 SQL ServerSQL Server,安装程序会跳过“安装类型”页,并直接转到“功能选择”页。If this is the first installation of SQL ServerSQL Server on the machine, Setup skips the Installation Type page and goes directly to the Feature Selection page. 如果系统中已安装有 SQL ServerSQL Server,你可以使用“安装类型”页来选择是执行新安装,还是向现有安装添加功能。If SQL ServerSQL Server is already installed on the system, you can use the Installation Type page to select either to perform a new installation or to add features to an existing installation. 若要继续操作,请选择“下一步”。To continue, select Next.

  11. 在“功能选择”页上,选择要安装的组件。On the Feature Selection page, select the components for your installation. 例如,要安装新的 SQL ServerSQL Server 数据库引擎Database Engine 实例,请选择“数据库引擎服务”。For example, to install a new instance of SQL ServerSQL Server 数据库引擎Database Engine, select Database Engine Services.

    选择功能名称后, “功能说明” 窗格中会显示每个组件组的说明。A description for each component group appears in the Feature description pane after you select the feature name. 您可以选中任意一些复选框。You can select any combination of check boxes. 有关详细信息,请参阅 SQL Server 2016 版本和组件SQL Server 2017 版本和组件For more information, see Editions and components of SQL Server 2016 or Editions and components of SQL Server 2017.

    “所选功能的必备组件” 窗格中将显示所选功能的必备组件。The prerequisites for the selected features are displayed in the Prerequisites for selected features pane. 安装程序在本过程后面所述的安装步骤中安装尚未安装的系统必备。Setup installs the prerequisites that aren't already installed during the installation step described later in this procedure.

    也可以使用“功能选择”页底部的字段,指定共用组件的自定义目录。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 in the field at the bottom of the dialog box or select Browse to go to an installation directory. 默认安装路径为 C:\Program Files\Microsoft SQL Server\nnn\ C:\Program Files\Microsoft SQL Server\nnn\。The default installation path is C:\Program Files\Microsoft SQL Server\nnn\ C:\Program Files\Microsoft SQL Server\nnn\.

    备注

    为共享组件指定的路径必须是绝对路径。The path specified for the shared components must be an absolute path. 文件夹不能压缩或加密。The folder must not be compressed or encrypted. 不支持映射驱动器。Mapped drives aren't supported.

    SQL Server 对共享功能使用两个目录:SQL Server uses two directories for shared features:

    • 共享功能目录Shared feature directory
    • 共享功能目录 (x86)Shared feature directory (x86)

    备注

    为以上每个选项指定的路径必须不同。The path specified for each of the above options must be different.

  12. 如果所有规则都通过,“功能规则”页会自动跳转。The Feature Rules page automatically advances if all rules pass.

  13. 在“实例配置”页中,指定是要安装默认实例,还是命名实例。On the Instance Configuration page, specify whether to install a default instance or a named instance. 有关详细信息,请参阅实例配置For more information, see Instance configuration.

    • 实例 ID:默认情况下,实例名称用作实例 ID。Instance ID: By default, the instance name is used as the instance ID. 此 ID 用于标识 SQL ServerSQL Server 实例的安装目录和注册表项。This ID is used to identify the installation directories and registry keys for your instance of SQL ServerSQL Server. 对于默认实例和命名实例,行为是相同的。The same behavior occurs for default instances and named instances. 对于默认实例,实例名称和实例 ID 为 MSSQLSERVER。For a default instance, the instance name and instance ID are MSSQLSERVER. 若要使用非默认实例 ID,请在“实例 ID”文本框中指定其他值。To use a nondefault instance ID, specify a different value in the Instance ID text box.

      备注

      典型 SQL ServerSQL Server 独立实例(无论是默认实例,还是命名实例)不会使用非默认实例 ID 值。Typical standalone instances of SQL ServerSQL Server, whether default or named instances, don't use a nondefault value for the instance ID.

      所有 SQL ServerSQL Server Service Pack 和升级都适用于 SQL ServerSQL Server 实例的每个组件。All SQL ServerSQL Server service packs and upgrades apply to every component of an instance of SQL ServerSQL Server.

    • 已安装实例:此网格显示正在运行安装程序的计算机上的 SQL ServerSQL Server 实例。Installed instances: The grid shows the instances of SQL ServerSQL Server that are on the computer where Setup is running. 如果计算机上已经安装了一个默认实例,则必须安装 SQL ServerSQL Server的命名实例。If a default instance is already installed on the computer, you must install a named instance of SQL ServerSQL Server.

    安装程序的其余工作流视你已为安装指定的功能而定。The workflow for the rest of the installation depends on the features that you've specified for your installation. 你可能不会看到所有页,具体视你的选择而定。Depending on your selections, you might not see all the pages.

  14. SQL Server 2019 (15.x)SQL Server 2019 (15.x) 起,PolyBase 不再要求在安装此功能前预先在计算机上安装 Oracle JRE 7 Update 51(最低版本)。Starting with SQL Server 2019 (15.x)SQL Server 2019 (15.x), Polybase no longer requires that Oracle JRE 7 Update 51 (at least) be pre-installed on the computer prior to installing the feature. 选择安装 Polybase 功能会将“Java 安装位置”页添加到 SQL Server 安装程序,并显示在“实例配置”页之后 。Selecting to install the Polybase feature will add the Java Install Location page to the SQL Server setup displayed after the Instance Configuration page. 在“Java 安装位置”页上,可以选择安装 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 安装随附的 Azul Zulu Open JRE,也可以提供已在计算机上安装的另一个 JRE 或 JDK 的位置。On the Java Install Location page, you can choose to install the Azul Zulu Open JRE included with the SQL Server 2019 (15.x)SQL Server 2019 (15.x) installation, or provide a location of a different JRE or JDK that has already been installed on the computer.

  15. SQL Server 2019 (15.x)SQL Server 2019 (15.x) 起,Java 已经添加了语言扩展。Starting with SQL Server 2019 (15.x)SQL Server 2019 (15.x), Java has been added with Language Extensions. 选择安装 Java 功能会将“Java 安装位置”页添加到 SQL Server 安装程序对话框窗口,并显示在“实例配置”页之后 。Selecting to install the Java feature will add the Java Install Location page to the SQL Server setup dialog window, displayed after the Instance Configuration page. 在“Java 安装位置”页上,可以选择安装 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 安装随附的 Zulu Open JRE,也可以提供已在计算机上安装的另一个 JRE 或 JDK 的位置。On the Java Install Location page, you can choose to install the Zulu Open JRE included with the SQL Server 2019 (15.x)SQL Server 2019 (15.x) installation, or provide a location of a different JRE or JDK that has already been installed on the computer.

  16. 使用“服务器配置 - 服务帐户”页指定 SQL ServerSQL Server 服务的登录帐户。Use the Server Configuration - Service Accounts page to specify the logon accounts for SQL ServerSQL Server services. 你在此页中配置的实际服务取决于你已选择安装的功能。The actual services that you configure on this page depend on the features that you selected to install. 若要详细了解配置设置,请参阅安装向导帮助For more information about configuration settings, see Installation Wizard help.

    可以为所有 SQL ServerSQL Server 服务分配相同的登录帐户,也可以单独配置各个服务帐户。You can assign the same logon account to all SQL ServerSQL Server services, or you can configure each service account individually. 还可以指定是自动启动、手动启动还是禁用服务。You can also specify whether services start automatically, start manually, or are disabled. 建议单独配置服务帐户,以提供每个服务的最小特权。We recommend you configure service accounts individually to provide the least privileges for each service. 请务必向 SQL ServerSQL Server 服务授予完成任务所必需的最低权限。Make sure SQL ServerSQL Server services are granted the minimum permissions they must have to complete their tasks. 有关详细信息,请参阅配置 Windows 服务帐户和权限For more information, see Configure Windows service accounts and permissions.

    若要为此 SQL ServerSQL Server 实例中的所有服务帐户指定同一个登录帐户,请在此页底部的字段中提供凭据。To specify the same logon account for all service accounts in this instance of SQL ServerSQL Server, provide the credentials in the fields at the bottom of the page.

    重要

    不要使用空密码。Do not use a blank password. 请使用强密码。Use a strong password.

    备注

    SQL Server 2016 (13.x)SQL Server 2016 (13.x) 起,选中“向 SQL Server 数据库引擎服务授予执行卷维护任务权限”复选框,可以让 SQL Server 数据库引擎SQL Server Database Engine服务帐户使用数据库即时文件初始化Starting with SQL Server 2016 (13.x)SQL Server 2016 (13.x), select the Grant Perform Volume Maintenance Task privilege to SQL Server Database Engine Service check box to allow the SQL Server 数据库引擎SQL Server Database Engine service account to use database instant file initialization.

    使用“服务器配置 - 排序规则”页指定数据库引擎Database EngineAnalysis ServicesAnalysis Services 的非默认排序规则。Use the Server Configuration - Collation page to specify nondefault collations for the 数据库引擎Database Engine and Analysis ServicesAnalysis Services. 有关详细信息,请参阅排序规则和 Unicode 支持For more information, see Collations and Unicode support.

  17. 使用“数据库配置 - 服务器配置”页指定以下各个选项:Use the Database Engine Configuration - Server Configuration page to specify the following options:

    • 安全模式:为 SQL ServerSQL Server 实例选择“Windows 身份验证”或“混合模式身份验证”。Security Mode: Select Windows Authentication or Mixed Mode Authentication for your instance of SQL ServerSQL Server. 如果选择“混合模式身份验证”,则必须为内置 SQL ServerSQL Server 系统管理员帐户 (sa) 提供强密码。If you select Mixed Mode Authentication, you must provide a strong password for the built-in SQL ServerSQL Server system administrator account (sa).

      在设备与 SQL ServerSQL Server 成功建立连接后,用于 Windows 身份验证和混合模式身份验证的安全机制是相同的。After a device establishes a successful connection to SQL ServerSQL Server, the security mechanism is the same for both Windows authentication and mixed mode authentication. 有关详细信息,请参阅“数据库引擎配置 - 服务器配置”页For more information, see Database Engine Configuration - Server Configuration page.

    • SQL Server 管理员:必须为 SQL ServerSQL Server 实例指定至少一个系统管理员。SQL Server Administrators: You must specify at least one system administrator for the instance of SQL ServerSQL Server. 若要添加用于运行 SQL ServerSQL Server 安装程序的帐户,请选择“添加当前用户”。To add the account under which SQL ServerSQL Server Setup is running, select Add Current User. 若要在系统管理员列表中添加或删除帐户,请先选择“添加”或“删除”,再编辑对 SQL ServerSQL Server 实例拥有管理员权限的用户、组或计算机列表。To add or remove accounts from the list of system administrators, select Add or Remove, and then edit the list of users, groups, or computers that have administrator privileges for the instance of SQL ServerSQL Server. 你还可以添加 Windows 域组,以通过 SQL Server 的 sysadmin 访问权限在 Active Directory 中建立共享的 SQL 管理员组。You can also add a Windows Domain Group, to establish a shared SQL Administrator Group in Active Directory with sysadmin Access to SQL Server.

    使用“数据库引擎配置 - 数据目录”页指定非默认安装目录。Use the Database Engine Configuration - Data Directories page to specify nondefault installation directories. 若要安装到默认目录,请选择“下一步”。To install to the default directories, select Next.

    重要

    如果指定非默认安装目录,请确保安装文件夹对此 SQL ServerSQL Server 实例是唯一的。If you specify nondefault installation directories, ensure that the installation folders are unique to this instance of SQL ServerSQL Server. 此对话框中的任何目录都不应与其他 SQL ServerSQL Server实例的目录共享。None of the directories in this dialog box should be shared with directories from other instances of SQL ServerSQL Server.

    有关详细信息,请参阅“数据库引擎配置 - 数据目录”页For more information, see Database Engine Configuration - Data Directories page.

    使用“数据库引擎配置 - TempDB”页配置 tempdb 的文件大小、文件数、非默认安装目录和文件增长设置。Use the Database Engine Configuration - TempDB page to configure the file size, number of files, nondefault installation directories, and file-growth settings for tempdb. 有关详细信息,请参阅“数据库引擎配置 - TempDB”页For more information, see Database Engine Configuration - TempDB page.

    使用“数据库引擎Database Engine配置 - MaxDOP”页指定最大并行度。Use the 数据库引擎Database Engine Configuration - MaxDOP page to specify your max degree of parallelism. 此设置决定了一个语句可以在执行期间使用多少个处理器。This setting determines how many processors a single statement can use during execution. 系统自动在安装期间计算建议值。The recommended value is automatically calculated during installation.

    备注

    仅自 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 起,才能在“设置”中使用此页。This page is only available in Setup starting with SQL Server 2019 (15.x)SQL Server 2019 (15.x).

    有关详细信息,请参阅“数据库引擎配置 - MaxDOP”页For more information, see the Database Engine Configuration - MaxDOP page.

    使用“数据库引擎配置 - 内存”页,指定此 SQL ServerSQL Server 实例在启动后使用的“最小服务器内存和“最大服务器内存”值。Use the Database Engine Configuration - Memory page to specify the min server memory and max server memory values that this instance of SQL ServerSQL Server will use after startup. 可以使用默认值、计算出的建议值,也可以在选择“推荐”选项后手动指定你自己的值。You can use the default values, use the calculated recommended values, or manually specify your own values after you've chosen the Recommended option.

    备注

    仅自 SQL Server 2019 (15.x)SQL Server 2019 (15.x) 起,才能在“设置”中使用此页。This page is only available in Setup starting with SQL Server 2019 (15.x)SQL Server 2019 (15.x).

    有关详细信息,请参阅“数据库引擎配置 - 内存”页For more information, see the Database Engine Configuration - Memory page.

    使用“数据库引擎配置 - FILESTREAM”页为 SQL ServerSQL Server 实例启用 FILESTREAM。Use the Database Engine Configuration - FILESTREAM page to enable FILESTREAM for your instance of SQL ServerSQL Server. 有关详细信息,请参阅“数据库引擎配置 - FILESTREAM”页For more information, see Database Engine Configuration - FILESTREAM page.

  18. 使用“Analysis Services - 帐户预配”页指定服务器模式,以及对 Analysis ServicesAnalysis Services 拥有管理员权限的用户或帐户。Use the Analysis Services Configuration - Account Provisioning page to specify the server mode and the users or accounts that have administrator permissions for Analysis ServicesAnalysis Services. 服务器模式决定了哪些内存和存储子系统用于服务器。The server mode determines which memory and storage subsystems are used on the server. 不同的解决方案类型在不同的服务器模式下运行。Different solution types run in different server modes. 如果计划在服务器上运行多维数据集数据库,请选择默认服务器模式选项“多维和数据挖掘”。If you plan to run multidimensional cube databases on the server, select the default server mode option, Multidimensional and Data Mining.

    必须为 Analysis ServicesAnalysis Services 指定至少一个系统管理员:You must specify at least one system administrator for Analysis ServicesAnalysis Services:

    • 若要添加正在运行 SQL Server 安装程序的帐户,请选择“添加当前用户”。To add the account under which SQL Server Setup is running, select Add Current User.

    • 若要在系统管理员列表中添加或删除帐户,请先选择“添加”或“删除”,再编辑对 Analysis ServicesAnalysis Services 拥有管理员权限的用户、组或计算机列表。To add or remove accounts from the list of system administrators, select Add or Remove, and then edit the list of users, groups, or computers that have administrator privileges for Analysis ServicesAnalysis Services.

    若要详细了解服务器模式和管理员权限,请参阅“Analysis Services 配置 - 帐户预配”页For more information about server mode and administrator permissions, see Analysis Services Configuration - Account Provisioning page.

    编辑完列表后,选择“确定”。When you're finished editing the list, select OK. 验证配置对话框中的管理员列表。Verify the list of administrators in the configuration dialog box. 在列表是完整后,单击“下一步”。After the list is complete, select Next.

    使用“Analysis Services - 数据目录”页指定非默认安装目录。Use the Analysis Services Configuration - Data Directories page to specify nondefault installation directories. 若要安装到默认目录,请选择“下一步”。To install to the default directories, select Next.

    重要

    安装 SQL ServerSQL Server 时,如果你为 INSTANCEDIR 和 SQLUSERDBDIR 指定相同的目录路径,SQL Server 代理和全文搜索不会启动,因为缺少权限。When installing SQL ServerSQL Server, if you specify the same directory path for INSTANCEDIR and SQLUSERDBDIR, SQL Server Agent and Full Text Search won't start due to missing permissions.

    如果指定非默认安装目录,请确保安装文件夹对此 SQL ServerSQL Server 实例是唯一的。If you specify nondefault installation directories, ensure that the installation folders are unique to this instance of SQL ServerSQL Server. 此对话框中的任何目录都不应与其他 SQL ServerSQL Server实例的目录共享。None of the directories in this dialog box should be shared with directories from other instances of SQL ServerSQL Server.

    有关详细信息,请参阅“Analysis Services 配置 - 数据目录”页For more information, see Analysis Services Configuration - Data Directories page.

  19. 使用“Distributed Replay 控制器配置”页指定要向其授予 Distributed Replay 控制器服务管理权限的用户。Use the Distributed Replay Controller Configuration page to specify the users you want to grant administrative permissions to for the Distributed Replay controller service. 拥有管理权限的用户可以不受限制地访问 Distributed Replay 控制器服务。Users that have administrative permissions have unlimited access to the Distributed Replay controller service.

    • 若要向正在运行 SQL Server 安装程序的用户授予 Distributed Replay 控制器服务访问权限,请选择“添加当前用户”按钮。To grant access permissions for the Distributed Replay controller service to the user who's running SQL Server Setup, select the Add Current User button.

    • 若要向其他用户授予 Distributed Replay 控制器服务访问权限,请选择“添加”按钮。To grant access permissions for the Distributed Replay controller service to other users, select the Add button.

    • 若要撤消 Distributed Replay 控制器服务访问权限,请选择“删除”按钮。To remove access permissions from the Distributed Replay controller service, select the Remove button.

    • 若要继续操作,请选择“下一步”。To continue, select Next.

  20. 使用“Distributed Replay 客户端配置”页指定要向其授予 Distributed Replay 客户端服务管理权限的用户。Use the Distributed Replay Client Configuration page to specify the users you want to grant administrative permissions to for the Distributed Replay client service. 拥有管理权限的用户可以不受限制地访问 Distributed Replay 客户端服务。Users that have administrative permissions have unlimited access to the Distributed Replay client service.

    • “控制器名称”是可选选项。Controller Name is optional. 默认值是 <blank>。The default value is <blank>. 输入客户端计算机用来与 Distributed Replay 客户端服务通信的控制器的名称:Enter the name of the controller that the client computer will communicate with for the Distributed Replay client service:

      • 如果已设置控制器,请在配置每个客户端时输入控制器名称。If you've already set up a controller, enter the name of the controller while configuring each client.

      • 如果尚未设置控制器,可以将控制器名称保留为空白。If you haven't yet set up a controller, you can leave the controller name blank. 但是,您必须在 “客户端配置” 文件中手动输入控制器名称。However, you must manually enter the controller name in the client configuration file.

    • 为 Distributed Replay 客户端服务指定 “工作目录”Specify the Working Directory for the Distributed Replay client service. 默认工作目录为 <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\WorkingDir\。The default working directory is <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\WorkingDir\.

    • 为 Distributed Replay 客户端服务指定 “结果目录”Specify the Result Directory for the Distributed Replay client service. 默认结果目录为 <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\ResultDir\。The default result directory is <drive letter>:\Program Files\MicrosoftMicrosoftSQL ServerSQL Server\DReplayClient\ResultDir\.

    • 若要继续操作,请选择“下一步”。To continue, select Next.

  21. “准备安装”页显示你在使用安装程序期间指定的安装选项的树状视图。The Ready to Install page shows a tree view of the installation options that you specified during Setup. 在此页中,安装程序指明“产品更新”功能是启用还是禁用,以及最终更新版本。On this page, Setup indicates whether the Product Update feature is enabled or disabled and the final update version.

    若要继续操作,请选择“安装”。To continue, select Install. SQL ServerSQL Server 安装程序先安装选定功能的系统必备,再安装选定功能。Setup first installs the required prerequisites for the selected features, then it installs the selected features.

  22. 在安装过程中,“安装进度”页显示状态更新,以便你能在安装程序继续运行时监视安装进度。During installation, the Installation Progress page provides status updates so that you can monitor the installation progress as Setup continues.

  23. 安装完成后, “完成” 页会提供指向安装摘要日志文件以及其他重要说明的链接。After installation, the Complete page provides a link to the summary log file for the installation and other important notes.

    重要

    运行完安装程序后,请务必阅读安装向导中的消息。Make sure you read the message from the Installation Wizard when you've finished with Setup. 有关详细信息,请参阅查看和读取 SQL Server 安装程序日志文件For more information, see View and read SQL Server Setup log files.

    若要完成 SQL ServerSQL Server 安装过程,请单击“关闭”。To complete the SQL ServerSQL Server installation process, select Close.

  24. 如果系统指示你重启计算机,请立即重启。If you're instructed to restart the computer, do so now.

后续步骤Next steps

配置新 SQL ServerSQL Server 安装Configure your new SQL ServerSQL Server installation.

为了减少系统的可攻击外围应用, SQL ServerSQL Server 有选择地安装和启用了一些关键服务和功能。To reduce the attackable surface area of a system, SQL ServerSQL Server selectively installs and enables key services and features. 有关详细信息,请参阅外围应用配置For more information, see Surface area configuration.

另请参阅See also