安裝 Reporting Services 原生模式報表伺服器Install Reporting Services Native Mode Report Server

Reporting ServicesReporting Services 原生模式報表伺服器可以從 [SQL Server]SQL Server 安裝精靈或命令列安裝。A Reporting ServicesReporting Services native mode report server can be installed from the [SQL Server]SQL Server installation wizard or from the command line. 在安裝精靈中,您也可以選擇 1) 安裝檔案並以預設值設定伺服器,或 2) 僅安裝檔案但不要由安裝精靈設定伺服器。In the setup wizard, you can select to either 1) install files and configure the server with default settings or to 1) only install the files and the server is not configured by the installation wizard. 本主題檢閱 「原生模式的預設組態」 (Default Configuration for Native Mode),其中安裝程式會安裝及設定報表伺服器執行個體。This topic reviews the Default configuration for native mode where Setup both installs and configures a report server instance. 當安裝程式完成之後,報表伺服器會執行及備妥使用。After Setup is finished, the report server is running and ready to use. 原生模式報表伺服器會當做獨立的應用程式伺服器來執行。A native mode report server runs as a stand-alone application server. 原生模式為預設伺服器模式。Native mode is the default server mode.

適用於:Applies to: Reporting ServicesReporting Services 原生模式適用於:Applies to: Reporting ServicesReporting Services Native mode

本主題內容In this topic

什麼是預設組態?What is the Default Configuration?

當您選取原生模式的預設組態選項時,安裝程式會安裝下列 Reporting ServicesReporting Services 功能:Setup installs the following Reporting ServicesReporting Services features when you select the default configuration for native mode option:

  • 報表伺服器服務 (包含報表伺服器 Web 服務、背景處理應用程式及報表管理員)。Report Server service (which includes the Report Server Web service, background processing application, and Report Manager)

  • Reporting ServicesReporting Services 組態管理員The Reporting ServicesReporting Services Configuration Manager

  • Reporting ServicesReporting Services 命令列公用程式 (rsconfig.exe、rskeymgmt.exe 及 rs.exe)The Reporting ServicesReporting Services command line utilities (rsconfig.exe, rskeymgmt.exe and rs.exe)

此選項不會套用到類似 [SQL Server]SQL Server Management StudioManagement StudioSQL Server Data Tools (SSDT)SQL Server Data Tools (SSDT)的共用功能;如果您想要安裝這些功能,必須將其指定為個別項目。This option does not apply to shared features such as [SQL Server]SQL Server Management StudioManagement Studio or SQL Server Data Tools (SSDT)SQL Server Data Tools (SSDT), which must be specified as separate items if you want to install them.

安裝程式會針對原生模式報表伺服器安裝設定以下項目:Setup configures the following for a native mode report server installation:

  • 報表伺服器服務的服務帳戶。Service account for the Report Server service.

  • 報表伺服器 Web 服務 URL。Report Server Web service URL.

  • 報表管理員 URL。Report Manager URL.

  • 報表伺服器資料庫。Report Server database.

  • 報表伺服器資料庫的服務帳戶存取。Service account access to the report server databases.

  • 報表伺服器資料庫的 DSN 連接。DSN connection for the report server databases.

安裝程式不會設定自動執行帳戶、報表伺服器電子郵件、備份加密金鑰或向外延展部署。Setup does not configure the unattended execution account, report server e-mail, back up the encryption keys, or a scale-out deployment. 您可以使用 Reporting ServicesReporting Services 組態管理員來設定這些屬性。You can use the Reporting ServicesReporting Services Configuration Manager to configure these properties. 如需詳細資訊,請參閱 Reporting Services 組態管理員 (原生模式)For more information, see Reporting Services Configuration Manager (Native Mode).

何時安裝原生模式預設組態When to Install the Default Configuration for Native Mode

預設組態會在作業狀態下安裝 Reporting ServicesReporting Services ,好讓您可以在安裝程式完成之後立刻使用報表伺服器。A default configuration installs Reporting ServicesReporting Services in an operational state so that you can use the report server immediately after Setup is finished. 當您想要儲存步驟時,請指定這個模式,其方式是刪除您原本必須在 Reporting ServicesReporting Services 組態工具內執行的任何必要組態工作。Specify this mode when you want to save steps by eliminating any required configuration tasks you would otherwise have to perform in the Reporting ServicesReporting Services Configuration tool.

安裝預設組態並不保證報表伺服器可在安裝程式完成之後運作。Installing the default configuration does not guarantee that the report server will work after Setup is finished. 當此服務啟動時,預設 URL 可能無法註冊。The default URLs might not register when the service starts. 請務必要測試您的安裝,以確認此服務可如預期般啟動及執行。Always test your installation to verify that the service starts and runs as expected.

需求Requirements

預設組態選項會使用預設值來設定讓報表伺服器運作所需的核心設定,The default configuration option uses default values to configure the core settings required to make a report server operational. 它的需求如下:It has the following requirements:

  • 您的硬體應符合執行 Microsoft SQL Server 的最低和軟體需求。You hardware should meet minimum hardware and software requirements for running Microsoft SQL Server. 如需詳細資訊,請參閱< Hardware and Software Requirements for Installing SQL Server 2014>。For more information, see Hardware and Software Requirements for Installing SQL Server 2014.

  • Reporting ServicesReporting Services [SQL Server]SQL Server Database EngineDatabase Engine 必須一起安裝在相同的執行個體中。and [SQL Server]SQL Server Database EngineDatabase Engine must be installed together in the same instance. Database EngineDatabase Engine 執行個體會主控安裝程式所建立及設定的報表伺服器資料庫。The Database EngineDatabase Engine instance hosts the report server database that Setup creates and configures.

  • 用來執行安裝程式的使用者帳戶必須是本機管理員群組的成員,而且擁有在主控報表伺服器資料庫之 Database EngineDatabase Engine 執行個體上存取和建立資料庫的權限。The user account used to run Setup must be a member of the local Administrators group and have permission to access and create databases on the Database EngineDatabase Engine instance that hosts the report server databases.

  • 安裝程式必須能夠使用預設值,以保留可提供報表伺服器和報表管理員之存取的 URL。Setup must be able to use the default values to reserve the URLs that provide access to the report server and Report Manager. 這些值包括連接埠 80、一個強式萬用字元,以及採用 ReportServer_<instance_name>Reports_<instance_name> 格式的虛擬目錄名稱。These values are port 80, a strong wildcard, and the virtual directory names in the format ReportServer_<instance_name> and Reports_<instance_name>.

  • 安裝程式必須能夠使用預設值,以建立報表伺服器資料庫。Setup must be able to use the default values to create the report server databases. 這些值為 ReportServerReportServerTempDBThese values are ReportServer and ReportServerTempDB. 如果您現有的資料庫是來自之前的安裝,安裝程式將會被封鎖,因為它無法在原生模式的預設組態中設定報表伺服器。If you have existing databases from a previous installation, Setup will be blocked because it cannot configure the report server in the default configuration for native mode. 您必須重新命名、移動或刪除這些資料庫,才能解除封鎖安裝程式。You must rename, move, or delete the databases to unblock Setup.

如果您的電腦未能滿足預設安裝的所有需求,就必須在僅限檔案模式中安裝 Reporting ServicesReporting Services ,然後在安裝程式完成之後使用 Reporting ServicesReporting Services 組態管理員來進行設定。If your computer does not meet all requirements for a default installation, you must install Reporting ServicesReporting Services in files-only mode and then use the Reporting ServicesReporting Services Configuration Manager to configure it after Setup is finished.

不要只是為了讓預設安裝能夠繼續就嘗試重新設定電腦,Do not try to reconfigure your computer only to allow a default installation to continue. 這樣做可能需要好幾個小時的工作,讓原本可從安裝選項獲得的省時優點消失殆盡。Doing so could require several hours of work, effectively eliminating the time-saving benefit the installation option provides. 最佳的解決方案是在僅限檔案模式中安裝 Reporting ServicesReporting Services,然後設定報表伺服器使用特定值。The best solution is to install Reporting ServicesReporting Services in files-only mode and then configure the report server to use specific values.

預設 URL 保留項目Default URL Reservations

URL 保留項目是由前置詞、主機名稱、通訊埠和虛擬目錄所組成:URL reservations are composed of a prefix, host name, port, and virtual directory:

部分Part 描述Description
PrefixPrefix 預設前置詞是 HTTP。The default prefix is HTTP. 如果您之前安裝了安全通訊端層 (SSL) 憑證,安裝程式將會嘗試建立使用 HTTPS 前置詞的 URL 保留項目。If you previously installed a Secure Sockets Layer (SSL) certificate, Setup will try to create URL reservations that use the HTTPS prefix.
主機名稱Host name 預設主機名稱是強式萬用字元 (+),The default host name is a strong wildcard (+). 它會指定報表伺服器會接受任何主機名稱解析為電腦,包括 http:// 來指定連接埠上的任何 HTTP 要求<電腦名稱 > / reportserver, http://localhost/reportserver ,或 http://< IPAddress > /reportserver。It specifies that the report server will accept any HTTP request on the designated port for any host name that resolves to the computer, including http://<computername>/reportserver, http://localhost/reportserver, or http://<IPAddress>/reportserver.
通訊埠Port 預設連接埠是 80。The default port is 80. 請注意,如果您使用通訊埠 80 以外的任何通訊埠,當您在瀏覽器視窗中開啟 Reporting ServicesReporting Services Web 應用程式時,就必須明確將此通訊埠加入 URL 中。Note that if you use any port other than port 80, you will have to explicitly add it to the URL when you open a Reporting ServicesReporting Services Web application in a browser window.
虛擬目錄Virtual directory 根據預設,系統會使用 Reportserver_< 格式建立虛擬目錄<instance_name> 針對報表伺服器 Web 服務和 reports_<<instance_name>報表管理員。By default, virtual directories are created in the format of ReportServer_<instance_name> for the Report Server Web service and Reports_<instance_name> for Report Manager. 如果是報表伺服器 Web 服務,預設虛擬目錄會是 reportserverFor the Report Server Web service, the default virtual directory is reportserver. 如果是報表管理員,預設虛擬目錄則為 reportsFor Report Manager, the default virtual directory is reports.

完整 URL 字串可能出現的範例如下:An example of the complete URL string might be as follows:

  • http://+:80/reportserver ,提供報表伺服器的存取權。http://+:80/reportserver, provides access to the report server.

  • http://+:80/reports 提供存取至報表管理員。http://+:80/reports, provides access to Report Manager.

使用 SQL Server 安裝精靈安裝原生模式Install Native Mode with the SQL Server Installation Wizard

下列清單描述您在 SQL Server 安裝精靈中選取的 Reporting ServicesReporting Services 專屬步驟和選項。The following list describes the Reporting ServicesReporting Services specific steps and options you select in the SQL Server Installation Wizard. 此清單不會描述您在安裝精靈中看見的每一個頁面,而是只有屬於原生模式安裝的 Reporting ServicesReporting Services 相關頁面。The list does not described each page you will see in the installation wizard, only the Reporting ServicesReporting Services related pages that are part of a Native mode installation.

  1. [安裝程式角色] 頁面上,選取 [SQL Server 功能安裝]On the Setup Role page, Select SQL Server Feature Installation.

    適用於安裝程式角色的 SQL Server 功能安裝SQL Server Feature Installation for setup role

  2. [特徵選取] 頁面上,選取下列選項:On the Feature Selection page, select the following:

    • [Database Engine Services] (除非已安裝資料庫引擎執行個體)。Database Engine Services, unless an instance of the database engine is already installed.

    • Reporting Services 原生Reporting Services-Native.

    • 管理工具-基本Management Tools - Basic. 管理工具並非必要,但建議您使用這些工具,除非您安裝了其他管理工具。The management tools are not required but it is recommended unless you have some other installation of management tools. 預設組態選項會產生可運作的報表伺服器,但您可能想要在日後變更組態選項。The default configuration option will result a functioning report server but you may want to change configuration options at a later date. 透過所管理的一些選項,例如 [我的報表] Management StudioManagement StudioSome options such as 'My Reports' are managed through Management StudioManagement Studio

    特徵選取中的 SSRS 原生模式選取SSRS Native Mode Select in Feature Selection

  3. 如果您打算使用 Reporting ServicesReporting Services 訂閱功能,就需要在 [伺服器組態] 頁面上確認 SQL Server Agent 是否設定為 [自動] 啟動類型。If you plan to use the Reporting ServicesReporting Services subscription feature, then on the Server Configuration page, you want to verify SQL Server Agent is configured for Automatic Startup type.

  4. [Reporting Services 組態] 頁面上選取 [安裝和設定]On the Reporting Services Configuration page select Install and Configure.

    SSRS 原生模式設定SSRS Native Mode Configuration

  5. SQL Server 安裝精靈完成後,請利用下列基本步驟驗證預設的原生模式安裝。After the SQL Server installation wizard is complete, verify the default Native mode installation using the following basic steps.

    • 開啟 [ Reporting ServicesReporting Services 組態管理員],並確認能夠連接到報表伺服器。Open Reporting ServicesReporting Services Configuration Manager and confirm you can connect to the report server.

    • 以系統管理權限開啟瀏覽器,並連接到 Reporting ServicesReporting Services 報表管理員,例如 http://loclahost/ReportsOpen your browser with administrative privileges and connect to Reporting ServicesReporting Services Report Manager, for example http://loclahost/Reports.

    • 以系統管理權限開啟瀏覽器,並連接到 Reporting ServicesReporting Services 報表伺服器頁面。Open your browser with administrative privileges and connect to the Reporting ServicesReporting Services report server page. 例如, http://loclahost/ReportServerFor example, http://loclahost/ReportServer

如需詳細資訊,請參閱下列兩個主題的<原生>一節:For more information, see the Native section of the following two topics:

Verify a Reporting Services InstallationVerify a Reporting Services Installation

針對 Reporting Services 安裝進行疑難排解Troubleshoot a Reporting Services Installation

使用命令列安裝原生模式Install Native Mode with the Command Line

下列範例包含 Database EngineDatabase Engine 服務,因為它是預設組態所需。The following example includes the Database EngineDatabase Engine Service because it is required for a default configuration.

setup /q /ACTION=install /FEATURES=SQL,RS,TOOLS /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"   
/RSSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /AGTSVCACCOUNT="NT AUTHORITY\NETWORK   
SERVICE" /RSSVCSTARTUPTYPE="Manual" /RSINSTALLMODE="DefaultNativeMode"  

如需詳細資訊和範例,請參閱 < 命令提示字元安裝的 Reporting Services SharePoint 模式和原生模式從命令提示字元安裝 SQL Server 2014For more information and examples, see Command Prompt Installation of Reporting Services SharePoint Mode and Native Mode and Install SQL Server 2014 from the Command Prompt

另請參閱See Also

疑難排解 Reporting Services 安裝 Troubleshoot a Reporting Services Installation
Verify a Reporting Services Installation Verify a Reporting Services Installation
設定報表伺服器服務帳戶 (SSRS 組態管理員) Configure the Report Server Service Account (SSRS Configuration Manager)
設定報表伺服器 URL (SSRS 組態管理員) Configure Report Server URLs (SSRS Configuration Manager)
設定報表伺服器資料庫連接 (SSRS 組態管理員) Configure a Report Server Database Connection (SSRS Configuration Manager)
僅限檔案安裝 (Reporting Services) Files-Only Installation (Reporting Services)
初始化報表伺服器 (SSRS 組態管理員) Initialize a Report Server (SSRS Configuration Manager)
在原生模式報表伺服器上設定 SSL 連接 Configure SSL Connections on a Native Mode Report Server
設定報表伺服器 URL (SSRS 組態管理員) Configure Report Server URLs (SSRS Configuration Manager)
設定 Windows 服務帳戶與權限 Configure Windows Service Accounts and Permissions
SQL Server 2014 快速入門安裝Quick-Start Installation of SQL Server 2014