安裝與升級 > Windchill 安裝與組態 > 進階組態 > 資料庫初始化及資料載入 > 載入基礎資料及示範資料 > 使用 WindchillLoader 載入資料 > 載入基礎資料 - 最佳做法
  
載入基礎資料 - 最佳做法
可能存在下列資料載入情況:
當第一次載入資料庫時
當在安裝其他 PTC Windchill 產品的同時載入資料庫時
本節描述在選擇不讓 PTC Solution Installer 自動載入基礎資料的情況下,如何第一次手動載入基礎資料:
1. 啟動 Apache (HTTP) 伺服器。
2. 從指令 shell 中執行下列其中一個指令,來開啟 Windchill shell。
在 UNIX/Linux 上
<WT_HOME>/bin/windchill --java=<JAVA_HOME>/bin/java shell
在 Windows 上
<WT_HOME>\bin\windchill.exe --java=<JAVA_HOME>\bin\java.exe shell
3. 從 Windchill shell 中執行下列其中一個指令,來載入「Windchill 基礎資料」。
在 UNIX/Linux 上
windchill --javaargs=-Dwt.load.installer.serverManagerTimeout=300
wt.load.WindchillLoader -All -Unattended -AbortOnError -Locale=en
-User=<username> -Password=<password>
在 Windows 上:
windchill.exe --javaargs=-Dwt.load.installer.serverManagerTimeout=300
wt.load.WindchillLoader -All -Unattended -AbortOnError -Locale=en
-User=<username> -Password=<password>