安裝 Power BI 報表伺服器Install Power BI Report Server

了解如何安裝 Power BI 報表伺服器。Learn how to install Power BI Report Server.

下載下載Download download

若要下載 Power BI 報表伺服器,請移至使用 Power BI 報表伺服器的內部部署報表To download Power BI Report Server, go to On-premises reporting with Power BI Report Server.

移至 Microsoft 下載中心來下載 Microsoft Power BI Desktop (已針對 Power BI 報表伺服器最佳化 - 2017 年 10 月)。Go to the Microsoft Download Center to download Microsoft Power BI Desktop (Optimized for Power BI Report Server - October 2017).

提示如需目前的版本資訊,請參閱 Power BI 報表伺服器版本資訊tip For the current release notes, see Power BI Report Server - Release notes.

開始之前Before you begin

安裝 Power BI 報表伺服器之前,建議您先檢閱安裝 Power BI 報表伺服器的硬體和軟體需求Before you install Power BI Report Server, it is recommended that you review the Hardware and Software Requirements for installing Power BI Report Server.

Power BI 報表伺服器產品金鑰Power BI Report Server product key

Power BI PremiumPower BI Premium

如果您已購買 Power BI Premium,則在 Power BI 報表伺服器管理入口網站的 [進階設定] 索引標籤內,您將可存取 Power BI 報表伺服器產品金鑰。If you have purchased Power BI Premium, within the Premium settings tab of the Power BI admin portal, you will have access to your Power BI Report Server product key. 這只適用於全域系統管理員,或已獲指派 Power BI 服務系統管理員角色的使用者。This will only be available for Global Admins or users assigned the Power BI service administrator role.

選取 [Power BI 報表伺服器金鑰] 會顯示一個包含產品金鑰的對話方塊。Selecting Power BI Report Server key will display a dialog contain your product key. 您可以複製金鑰,並在安裝時使用。You can copy it and use it with the installation.

SQL Server Enterprise 軟體保證 (SA)SQL Server Enterprise Software Assurance (SA)

如果您有 SQL Server Enterprise SA 合約,您可以從大量授權服務中心取得您的產品金鑰。If you have a SQL Server Enterprise SA agreement, you can get your product key from the Volume Licensing Service Center.

安裝報表伺服器Install your report server

安裝 Power BI 報表伺服器不難。Installing Power BI Report Server is straight forward. 安裝檔案只要幾個步驟。There are only a few steps to install the files.

注意

安裝時不需要使用 SQL Server 資料庫引擎伺服器。You do not need a SQL Server Database Engine server available at the time of install. 但在安裝之後需要一部來設定 Reporting Services。You will need one to configure Reporting Services after install.

  1. 找到 PowerBIReportServer.exe 的位置並啟動安裝程式。Find the location of PowerBIReportServer.exe and launch the installer.
  2. 選取 [安裝 Power BI 報表伺服器]。Select Install Power BI Report Server.

    安裝 Power BI 報表伺服器

  3. 選擇要安裝的版本,然後選取 [下一步]。Choose an edition to install and then select Next.

    選擇版本

    您可以從下拉式清單中選擇 Evaluation 或 Developer 版本。You can choose either Evaluation or Developer edition from the drop down.

    否則,您可以輸入從 Power BI 服務或大量授權服務中心取得的伺服器產品金鑰。Otherwise, you can enter a product key for the server that you acquired from either the Power BI service or the Volume License Service Center. 如需如何取得產品金鑰的詳細資訊,請參閱開始之前一節。For more information about how to get your product key, see the Before you begin section.

  4. 閱讀並接受授權條款和條件,然後選取 [下一步]。Read and agree to the license terms and conditions and then select Next.

    授權條款

  5. 您需要有資料庫引擎才能儲存報表伺服器資料庫。You need to have a Database Engine available to store the report server database. 選取 [下一步] 只安裝報表伺服器。Select Next to install the report server only.

    只安裝檔案

  6. 指定報表伺服器的安裝位置。Specify the install location for the report server. 選取 [安裝] 繼續作業。Select Install to continue.

    指定安裝路徑

    注意

    預設路徑是 C:\Program Files\Microsoft Power BI Report Server。The default path is C:\Program Files\Microsoft Power BI Report Server.

  7. 安裝成功後,請選取 [設定報表伺服器] 啟動 Reporting Services 設定管理員。After a successful setup, select Configure Report Server to launch the Reporting Services Configuration Manager.

    設定報表伺服器

設定報表伺服器Configuration your report server

選取安裝程式中的 [設定報表伺服器] 後,您會看到 Reporting Services 設定管理員。After you select Configure Report Server in the setup, you will be presented with Reporting Services Configuration Manager. 如需詳細資訊,請參閱 Reporting Services 設定管理員For more information, see Reporting Services Configuration Manager.

您需要建立報表伺服器資料庫來完成 Reporting services 的初始設定。You need to create a report server database to complete the initial configuration of Reporting Services. 需要 SQL Server 資料庫伺服器才能完成此步驟。A SQL Server Database server is required to complete this step.

在其他伺服器上建立資料庫Creating a database on a different server

如果您要在另一部電腦的資料庫伺服器上建立報表伺服器資料庫,您需要將報表伺服器的服務帳戶變更為資料庫伺服器上可辨識的認證。If you are creating the report server database on a database server on a different machine, you need to change the service account for the report server to a credential that is recognized on the database server.

報表伺服器預設使用虛擬服務帳戶。By default, the report server uses the virtual service account. 如果您嘗試在其他伺服器上建立資料庫,可能會在套用連接權限的步驟中收到下列錯誤。If you try to create a database on a different server, you may receive the following error on the Applying connection rights step.

System.Data.SqlClient.SqlException (0x80131904): Windows NT user or group '(null)' not found. Check the name again.

為暫時避開錯誤,您可以將服務帳戶變更為網路服務或網域帳戶。To work around the error, you can change the service account to either Network Service or a domain account. 將服務帳戶變更為網路服務,會套用報表伺服器電腦帳戶內容中的權限。Changing the service account to Network Service applies rights in the context of the machine account for the report server.

設定報表伺服器服務帳戶

如需詳細資訊,請參閱設定報表伺服器服務帳戶For more information, see Configure the report server service account.

Windows 服務Windows Service

Windows 服務會建立為安裝的一部分。A windows service is created as part of the installation. 它會顯示為 Power BI 報表伺服器It is displayed as Power BI Report Server. 服務名稱是 PowerBIReportServerThe service name is PowerBIReportServer.

報表伺服器 Windows 服務

報表伺服器 Windows 服務屬性

預設的 URL 保留項目Default URL reservations

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

組件Part 描述Description
前置詞Prefix 預設的前置詞是 HTTP。The default prefix is HTTP. 如果之前安裝的是安全通訊端層 (SSL) 憑證,安裝程式會嘗試建立使用 HTTPS 前置詞的 URL 保留項目。If you previously installed a Secure Sockets Layer (SSL) certificate, Setup tries to create URL reservations that use the HTTPS prefix.
主機名稱Host name 預設的主機名稱是強式萬用字元 (+)。The default host name is a strong wildcard (+). 它會指定報表伺服器接受解析為電腦的任何主機名稱的指定連接埠上的任何 HTTP 要求,包括 http://<computername>/reportserverhttp://localhost/reportserverhttp://<IPAddress>/reportserver.It specifies that the report server accepts 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 以外的任何連接埠,您必須在瀏覽器視窗中開啟入口網站時,明確將它新增至 URL。If you use any port other than port 80, you have to explicitly add it to the URL when you open web portal in a browser window.
虛擬目錄Virtual directory 根據預設,虛擬目錄是以報表伺服器 Web 服務和入口網站報告的 ReportServer 格式建立。By default, virtual directories are created in the format of ReportServer for the Report Server Web service and Reports for the web portal. 報表伺服器 Web 服務的預設虛擬目錄是 reportserverFor the Report Server Web service, the default virtual directory is reportserver. 入口網站的預設虛擬目錄是 reportsFor the web portal, 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 the web portal.

防火牆Firewall

如果要從遠端電腦存取報表伺服器,您會想要確定已設定所有防火牆規則,如果有防火牆存在的話。If you are accessing the report server from a remote machine, you want to make sure you have configured any firewall rules if there is a firewall present.

您需要開啟已為 Web 服務 URL 和入口網站 URL 設定的 TCP 連接埠。You need to open up the TCP port that you have configured for your Web Service URL and Web Portal URL. 根據預設,這些都設定在 TCP 連接埠 80。By default, these are configured on TCP port 80.

額外設定Additional configuration

後續步驟Next steps

系統管理員手冊Administrator handbook
如何找到您的報表伺服器產品金鑰How to find your report server product key
安裝針對 Power BI 報表伺服器最佳化的 Power BI DesktopInstall Power BI Desktop optimized for Power BI Report Server
確認安裝 Reporting Services Verify a reporting services installation
設定報表伺服器服務帳戶Configure the report server service account
設定報表伺服器 URLConfigure report server URLs
設定報表伺服器資料庫連接Configure a report server database connection
初始化報表伺服器Initialize a report server
在報表伺服器上設定 SSL 連線Configure SSL connections on a report server
設定 Windows 服務帳戶和權限Configure windows service accounts and permissions
Power BI 報表伺服器的瀏覽器支援Browser support for Power BI Report Server

有其他問題嗎?More questions? 嘗試在 Power BI 社群提問Try asking the Power BI Community