使用 ssis-conf 設定 Linux 上的 SQL Server Integration Services

適用於:Linux 上的 SQL Server

當您安裝適用於 Red Hat Enterprise Linux 和 Ubuntu 的 SQL Server Integration Services (SSIS) 時,您將執行 ssis-conf 設定指令碼。 欲了解更多安裝 SSIS 的資訊,請參閱 Linux 安裝 SQL Server Integration Services (SSIS)。

您也可以使用 ssis-conf 公用程式來設定下列屬性:

Command Description
set-edition 設定 SQL Server 的版本。
telemetry 啟用或停用 SQL Server Integration Services 遙測服務。
setup 初始化和設定 Microsoft SQL Server Integration Services。

執行 ssis-conf

本文中的範例透過指定完整路徑 ssis-conf 來執行 /opt/ssis/bin/ssis-conf。 如果您在執行 ssis-conf 之前巡覽至該位置,則您可以在目前目錄的內容中執行公用程式:./ssis-conf

請以 root (超級使用者)權限執行本文中的指令。 例如,執行 sudo /opt/ssis/bin/ssis-conf setup 而不是 /opt/ssis/bin/ssis-conf setup

要用你偏好的語言執行這些指令並附有提示,請指定一個地點。 例如,若要以中文接收提示,請執行下列命令:

sudo LC_ALL=zh_CN.UTF-8 /opt/ssis/bin/ssis-conf setup

使用 set-edition 來設定 SQL Server Integration Services 的版本

SSIS 版本與 SQL Server 版本對齊。

輸入下列命令:

sudo /opt/ssis/bin/ssis-conf set-edition

輸入命令之後,您會收到下列提示:

Choose an edition of SQL Server:

1) Evaluation (free, no production use rights, 180-day limit)
2) Developer (free, no production use rights)
3) Express (free)
4) Web (PAID)
5) Standard (PAID)
6) Enterprise (PAID)
7) Enterprise Core (PAID)
8) I bought a license through a retail sales channel and have a product key to enter.

Details about editions can be found at https://go.microsoft.com/fwlink/?LinkId=852748&clcid=0x409.

Use of PAID editions of this software requires separate licensing through a Microsoft Volume Licensing program.

By choosing a PAID edition, you are verifying that you have the appropriate number of licenses in place to install and run this software.

Enter your edition (1-8):

如果您輸入 1 到 7 的值,系統會設定「免費」或「付費」版本。 如果您輸入 8,公用程式會提示您輸入您購買的產品金鑰:

Enter the 25-character product key:

使用 telemetry 來設定客戶意見反應

telemetry 命令會判斷 SSIS 是否要將意見反應傳送給 Microsoft。

對於免費版本(Express、Developer 和 Evaluation 版本),遙測服務始終啟用。 如果您有免費版本,則無法使用 telemetry 命令來停用遙測。

輸入下列命令:

sudo /opt/ssis/bin/ssis-conf telemetry

針對付費版本,在輸入命令之後,您會收到下列提示:

Send feature usage data to Microsoft. Feature usage data includes information about your hardware configuration and how you use SQL Server Integration Services.

[Yes/No]:

如果你選擇 「是」,遙測服務就會啟用並開始運作。 服務會在每次開機後自動啟動。 如果您選取 [否],遙測服務即會停止並停用。

使用 setup 來初始化及設定 Microsoft SQL Server Integration Services

您每次安裝 SSIS 時,請使用 setup 命令。

輸入下列命令:

sudo /opt/ssis/bin/ssis-conf setup

公用程式會提示您確認或提供下列項目的值:

  • 產品授權
  • EULA 合約
  • 遙測服務
  • 整合服務所使用的語言

要用你偏好的語言執行這個指令,並使用提示詞, setup 請指定一個地點。 例如,若要以中文接收提示,請執行下列命令:

sudo LC_ALL=zh_CN.UTF-8 /opt/ssis/bin/ssis-conf setup

ssis.conf 格式

下列 /var/opt/ssis/ssis.conf 檔案提供每項設定的範例。

對於 SQL Server,你可以在檔案中mssql.conf更改系統設定。 SSIS 的系統設定 ssis.conf 無法更改。 ssis.conf 檔案只會顯示安裝程式的結果。 要更改 SSIS 設定,刪除檔案 ssis.conf 後再執行該 setup 指令。

在以下範例 ssis.conf 檔案中,每個欄位對應一個設定步驟的結果。

[LICENSE]
registered = Y
pid = enterprisecore

[EULA]
accepteula = Y

[TELEMETRY]
enabled = Y

[language]
lcid = 2052