有新版本發行時,您有時可能需要在 Linux 精簡型用戶端上更新或重新安裝 SCM。
必備條件:
您已經解壓縮 simulation-computeX-thinclient.tgz 檔案。
步驟:
鍵入下列指令確認 SimulationCompute 程序是否已終止
/sbin/pidof SimulationCompute
如果傳回任何程序 ID,請鍵入下列指令停止任何既有的 Simulation Compute Manager 例證
curl localhost:43500/terminate
或
curl <hostname>:43500/terminate
如果必須終止例證,請重複步驟 1 確認所有例證都已終止,且未傳回任何 ID。
鍵入下列指令,確認 fs-harness 程序已終止
/sbin/pidof fs-harness
鍵入下列指令,導覽至您的安裝目錄,例如 software/autodesk/opt/Autodesk/simulation-compute2/bin/
cd <your install location>
注意:您的安裝位置可能不同。
鍵入下列指令檢查目錄內容,確認目錄包含 ComputeProvisioner.config.json 檔
ls
鍵入下列指令,回到包含下載的 simulation-computeX-thinclient.tgz 檔的目錄
cd ~
鍵入下列指令,將 ComputeProvisioner.config.json 檔從安裝目錄 (在此範例中為 software/autodesk/opt/Autodesk/simulation-compute2/bin/) 複製到包含 simulation-computeX-thinclient.tgz 檔的目錄
cp <your install location>/ComputeProvisioner.config.json .
鍵入下列指令,確認 ComputeProvisioner.config.json 已複製到您目前的目錄
ls
鍵入下列指令,將 simulation-computeX-thinclient.tgz 檔解壓縮到安裝目錄,例如 software/autodesk/opt/Autodesk/simulation-compute2/bin
tar xzvf simulation-computeX-thinclient.tgz -d <your install location>
鍵入 A,使用下載的 zip 檔中的檔案替換安裝目錄中所有的檔案。
鍵入下列指令,將您先前儲存的 ComputeProvisioner.config.json 檔從目前目錄複製回安裝目錄,例如 software/autodesk/opt/Autodesk/simulation-compute2/bin/
cp ComputeProvisioner.config.json <your install location>
鍵入下列指令,導覽回安裝目錄
cd <your install location>
鍵入下列指令,確認目錄中有 ComputeProvisioner.config.json 檔
ls
鍵入下列指令,確認 SCM 版本
cat version.json
鍵入下列指令,啟動 Simulation Compute Manager:
sudo ./SimulationCompute --daemon
鍵入下列指令,確認 SCM 正在執行
ps -ef | grep Simulation