---
schema_version: "1"
id: 2b6c76a61f9d024fba6e14b61a9c36792c6f4188ac2f8f9ab24503db2cd3b7e9
title: Tableau Server 獨立閘道的安裝開關和屬性
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/server_tsig_install_switches.md
canonical_url: https://help.tableau.com/current/server/zh-tw/server_tsig_install_switches.htm
source_site: help.tableau.com
content_type: documentation
content_hash: af1f48cbc7fbef60260481bc3729d295b3fb6690466f3a649cee70f4bb27de2d
description: Reference for install switches and properties for Independent Gateway.
---
[跳至主要內容](#main-content)

# Tableau Server 獨立閘道的安裝開關和屬性

<table class="simple-table"><colgroup><col><col><col></colgroup><tbody><tr><td>開關</td><td>描述</td><td>註解</td></tr><tr><td><code>/install</code> | <code>/repair</code> | <code>/uninstall</code> | <code>/layout</code> "<code>&lt;directory&gt;</code>"</td><td><p>執行安裝程式以安裝、修復或解除安裝 Tableau Server 獨立閘道，或使用 <code>/layout</code> 在指定的目錄中建立安裝套件組合的完整本機複本。</p></td><td>預設為安裝、顯示 UI 及所有提示。如果未在全新安裝指定目錄，則會使用 <code>C:\Program Files\Tableau\Tableau Server\ independentgateway</code>。若已安裝 TSIG，安裝程式會使用與目前安裝相同的位置。</td></tr><tr><td><code>/passive</code></td><td><p>以最基本的 UI 且不出現提示來執行安裝程式。</p></td><td></td></tr><tr><td><code>/quiet</code> | <code>/silent</code></td><td><p>以無人參與的完全無提示模式執行安裝程式。不會顯示 UI 或提示。</p></td><td><p class="note"><b>附註：</b>使用 <code>/silent</code> 或 <code>/quiet</code>，請勿兩者都使用。</p></td></tr><tr><td><code>/norestart</code></td><td><p>即使不需要重新啟動，也可以在不重新啟動 Windows 的情況下，執行安裝程式。</p></td><td><p class="note"><strong>附註：</strong>在某些極少數情況下，即便使用此選項，也無法禁止重新啟動。例如，在安裝其他軟體的過程中，跳過之前的系統重新啟動作業時，很可能會發生這種情況。</p></td></tr><tr><td><code>/log "&lt;drive&gt;\&lt;path&gt;\&lt;log-file&gt;.&lt;ext&gt;"</code></td><td>將資訊記錄到指定的檔案和路徑。</td><td><p>將此開關與路徑和記錄檔名稱一起使用會讓記錄檔在安裝完成後可用。</p><p>若此開關與記錄檔名稱一起使用，但無路徑，記錄檔將寫入暫时位置，並在安裝結束時刪除。</p><p>若使用此開關，但未指定記錄檔名稱，則會忽略該開關，並且檔案會寫入 <code>%TEMP%</code>。</p><p>若未使用此開關，記錄檔會寫入 <code>%TEMP%</code>。</p></td></tr></tbody></table>

<table class="simple-table"><colgroup><col style="width: 30%;"><col><col></colgroup><tbody><tr><td>屬性</td><td>描述</td><td>註解</td></tr><tr><td><code>ACCEPTEULA=1|0</code></td><td>接受使用者授權合約 (EULA)。初始和附加節點上的無訊息、無提示和被動安裝需要執行此動作。1 = true，接受 EULA，0 = false，不接受 EULA。</td><td><p>如果使用 <code>/passive</code>、<code>/silent</code> 或 <code>/quiet</code> 時未包含此命令，則無法以無提示模式執行安裝程式。</p><p>如果包含但設定為 0，安裝程式便會失敗。</p></td></tr><tr><td><code>DATADIR="&lt;path\to\data\directory&gt;"</code></td><td>可選。TSIG 軟體設定和資料的儲存位置。若未提供資料目錄路徑，且 TSIG 正在安裝到預設位置（未指定 INSTALLDIR），則會使用預設資料目錄：<code>C:\ProgramData\Tableau\Tableau Server</code>。如果未提供資料目錄路徑，並指定 INSTALLDIR，則 DATADIR 也會設定為 INSTALLDIR 位置。</td><td>範例：<code>DATADIR="D:\TableauServerData"</code></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td><code>HKPORT="&lt;port&gt;"</code></td><td>連接埠會偵聽來自 Tableau Server 叢集的內務處理請求。<p>預設值為 <code>21319</code>。</p></td><td>&nbsp;</td></tr><tr><td><code>HKPROTOCOL="&lt;protocol&gt;"</code></td><td>內務處理請求的通訊協定。<p>選項為 <code>http</code> 或 <code>https</code>。預設值為 <code>http</code>。</p></td><td>&nbsp;</td></tr><tr><td><code>INSTALLDIR="&lt;path\to\installation\directory&gt;"</code></td><td>安裝到指定的非預設安裝位置。</td><td>指定用於安裝伺服器的位置。若未使用，Tableau Server 獨立閘道會安裝到 <code>C:\Program Files\Tableau\Tableau Server\independentgateway
</code><p>範例：<code>&lt;Setup file&gt; /silent INSTALLDIR="D:\Tableau\Tableau Server\independentgateway"
					</code></p></td></tr><tr><td><code>INSTANCEID="&lt;computer_identifier&gt;"</code></td><td>此 TSIG 執行個體的唯一識別碼。<p>預設為「%COMPUTERNAME%」。</p></td><td>&nbsp;</td></tr><tr><td><p><code>PORT="&lt;port&gt;"</code></p></td><td>連接埠會偵聽外部請求。<p>預設為「80」。</p></td><td>&nbsp;</td></tr><tr><td><code>PROTOCOL="&lt;protocol&gt;"</code></td><td>外部請求的通訊協定。選項為 <code>http</code> 或 <code>https</code>。預設值為 <code>http</code>。</td><td>&nbsp;</td></tr><tr><td><code>TSCLUSTER="&lt;nodes&gt;"</code></td><td>Tableau Server 節點的網路位置，可從中接收 TSIG 內務處理請求。<p>這些都是具有叢集控制器或管理代理程式的節點，因此包括叢集中的所有節點。</p><p>為必要屬性。此選項沒有預設值。</p></td><td>必須為 Apache httpd mod_authz_host「Require」指示詞 (<a href="https://httpd.apache.org/docs/2.4/mod/mod_authz_host.html" target="_blank">https://httpd.apache.org/docs/2.4/mod/mod_authz_host.html</a>) 可接受的形式之一。<p>範例：<code> "ip 192.1.168.0/24"</code>、<code>"host ts.example.org"</code>。</p><p>若有內嵌空格，請使用引號。</p></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr></tbody></table>