跳轉到主要內容
軟體保護使用啟用檔案,該檔案應在授權啟用過程中從 ABBYY 伺服器取得。
在此情境中,您將在自己的電腦上開發使用 ABBYY FineReader Engine 程式庫的應用程式。安裝會透過命令列執行,且不需要與使用者互動。您需要:
  • 您的開發者授權序號。
  • 您的 Customer Project ID。
請依照下列指示操作:
  1. 以非 root 使用者身分執行 %archive_name%.sh。
  2. 在命令列中指定下列參數:
    • ABBYY FineReader Engine 程式庫的安裝資料夾路徑。
    • 您的 Customer Project ID。
    • 用於儲存授權資料的資料夾路徑 (可以是 /home 目錄中的任何資料夾,但不包括 /tmp 目錄) 。
    • 開發者安裝參數。
    • 您的授權序號。
命令列範例:
%archive_name%.sh -- --install-dir "<folder path>" 
--project-id "<Customer Project ID>" --licenses-folder "<folder path>" --developer-install
--skip-local-license-activation
run "<FRE_installation_directory>/Bin/ServiceWrapper
<FRE_installation_directory>/CommonBin/Licensing/start_licensing_service.sh"
run "LD_LIBRARY_PATH=<FRE_installation_directory>/CommonBin/Licensing <FRE_installation_directory>/CommonBin/Licensing/LicensingService /standalone"
  1. 等待安裝完成。
安裝 ABBYY FineReader Engine 後,可以在 LicensingSettings.xml 中變更儲存授權資料的資料夾。請參閱 Working with the LicensingSettings.xml File 一文中的範例。
  1. 使用下列命令啟動 Licensing Service:
以守護程序方式或以應用程式方式
  1. 使用 activatefre.sh 指令碼啟用您的授權。您必須以執行 ABBYY FineReader Engine 安裝時相同的權限執行 activatefre.sh。
  2. 授權管理工具程式 中檢查您的授權是否已啟用。
在此情境中,您將在透過網路連線到授權伺服器的工作站上開發使用 ABBYY FineReader Engine 程式庫的應用程式。安裝會透過命令列執行,且不需要與使用者互動。您需要:
  • 您的開發者授權序號。
  • 您的 Customer Project ID。
  • 授權伺服器的 DNS 名稱或 IP 位址。
請依照下列指示操作:
  1. Installing the Licensing Service 所述,在授權伺服器上安裝 Licensing Service。
請使用同一個套件中的 ABBYY FineReader Engine 和 Licensing Service。否則不保證相容性。
  1. 在授權伺服器上的 授權管理工具程式 中啟用授權。
選取 Activate License 選項,然後依照精靈指示啟用您的授權。如果您的伺服器可存取網際網路,您只需輸入序號並稍候片刻。請使用同一個套件中的 ABBYY FineReader Engine 和 Licensing Service。否則不保證相容性。
  1. 在工作站上安裝程式庫:
  2. 以非 root 使用者身分執行 %archive_name%.sh。
  3. 在命令列中指定下列參數:
    • ABBYY FineReader Engine 程式庫的安裝資料夾路徑。
    • 已安裝 Licensing Service 的授權伺服器 IP 位址。
    • 您的 Customer Project ID。
    • 用於儲存授權資料的資料夾路徑 (可以是 /home 目錄中的任何資料夾,但不包括 /tmp 目錄) 。
    • 開發者安裝參數。
命令列範例:
%archive_name%.sh -- --install-dir "<folder path>" 
--service-address "<address>" --licenses-folder "<folder path>" --project-id "<Customer Project ID>" --developer-install
  1. 等待安裝完成。
安裝 ABBYY FineReader Engine 後,可以在 LicensingSettings.xml 中變更儲存授權資料的資料夾。請參閱 Working with the LicensingSettings.xml File 一文中的範例。
  1. 授權管理工具程式 中檢查您的授權是否已啟用。