在您建立 JumpStart 安裝伺服器的機器上登入為 root。
將 Sun Management Center 3.6 安裝 CD (1 of 2) 插入 CD-ROM 光碟機。
移至 / <磁碟掛載目錄>/sbin 目錄。
鍵入指令 ./es-makeagent 建立 Sun Management Center 基本代理程式影像。
系統會提示您安裝檔案來源目錄,以及代理程式影像目標目錄。
(SPARC) 來源目錄為 /<磁碟掛載目錄>/image/sunOS/sparc 。
(x86) 來源目錄為 /<磁碟掛載目錄> /image/sunOS/i386。
(Linux) 來源目錄為 /<磁碟掛載目錄>/image/Linux。
目標目錄是 JumpStart 安裝伺服器上建立代理程式影像的目錄,例如 /export/home/JumpStart/AgentImage。
若您指定的目標目錄不存在,則會詢問您是否要建立目錄。鍵入 y 以建立目錄。
範例:
# ./es-makeagent Installation files source directory: /<磁碟掛載目錄>/image Please enter the target directory: /export/home/JumpStart/AgentImage |
影像建立程序需要半小時以上才會完成。
排除附加代理程式。
若您不要包括附加代理程式元件,請重新命名代理程式影像 [Addons] 目錄。
# cd /export/home/JumpStart/AgentImage/disk1/image # ls -p Addons/ PE/ Patches/ Webserver/ db/ # mv Addons Addons-temp |