在 Linux 精簡型用戶端上安裝 SCM 更新

有新版本發行時,您有時可能需要在 Linux 精簡型用戶端上更新或重新安裝 SCM。

必備條件

您已經解壓縮 simulation-computeX-thinclient.tgz 檔案。

步驟

  1. 鍵入下列指令確認 SimulationCompute 程序是否已終止

    /sbin/pidof SimulationCompute
  2. 如果傳回任何程序 ID,請鍵入下列指令停止任何既有的 Simulation Compute Manager 例證

    curl localhost:43500/terminate

    curl <hostname>:43500/terminate
    注意: 等待足夠的時間讓程序完全結束。請注意,它會傳回終止的程序 ID。
  3. 如果必須終止例證,請重複步驟 1 確認所有例證都已終止,且未傳回任何 ID。

  4. 鍵入下列指令,確認 fs-harness 程序已終止

    /sbin/pidof fs-harness
  5. 鍵入下列指令,導覽至您的安裝目錄,例如 software/autodesk/opt/Autodesk/simulation-compute2/bin/

    cd <your install location>

    注意:您的安裝位置可能不同。

  6. 鍵入下列指令檢查目錄內容,確認目錄包含 ComputeProvisioner.config.json

    ls
  7. 鍵入下列指令,回到包含下載的 simulation-computeX-thinclient.tgz 檔的目錄

    cd ~
  8. 鍵入下列指令,將 ComputeProvisioner.config.json 檔從安裝目錄 (在此範例中為 software/autodesk/opt/Autodesk/simulation-compute2/bin/) 複製到包含 simulation-computeX-thinclient.tgz 檔的目錄

    cp <your install location>/ComputeProvisioner.config.json .
  9. 鍵入下列指令,確認 ComputeProvisioner.config.json 已複製到您目前的目錄

    ls
  10. 鍵入下列指令,將 simulation-computeX-thinclient.tgz 檔解壓縮到安裝目錄,例如 software/autodesk/opt/Autodesk/simulation-compute2/bin

    tar xzvf simulation-computeX-thinclient.tgz -d <your install location>
  11. 鍵入 A,使用下載的 zip 檔中的檔案替換安裝目錄中所有的檔案。

  12. 鍵入下列指令,將您先前儲存的 ComputeProvisioner.config.json 檔從目前目錄複製回安裝目錄,例如 software/autodesk/opt/Autodesk/simulation-compute2/bin/

    cp ComputeProvisioner.config.json <your install location>
    
  13. 鍵入下列指令,導覽回安裝目錄

    cd <your install location>
  14. 鍵入下列指令,確認目錄中有 ComputeProvisioner.config.json

    ls
  15. 鍵入下列指令,確認 SCM 版本

    cat version.json
  16. 鍵入下列指令,啟動 Simulation Compute Manager:

    sudo ./SimulationCompute --daemon
  17. 鍵入下列指令,確認 SCM 正在執行

    ps -ef | grep Simulation
注意: 指令會傳回資訊,例如執行時動畫中顯示的資訊。