在Sun Netra T1機器上面,並沒有螢幕,只靠著傳輸線才可以進行機器的設定與維護。
那要怎樣使用GUI介面下的UpdateManager呢?答案是不行的。
這時候就要採用文字介面的更新方式了。
smpatch update
但是在使用這個指令時候,他會出現並沒有註冊的訊息。
因為是剛安裝完的系統,所以要先連上Sun.com去註冊,才可以進行更新。
This system is currently unregistered and is unable to retrieve patches from the Sun Update Connection
這時候就要用文字模式來進行註冊了。
首先,建立一個RegistrationProfile.properties的檔案,裡面內容如下:
userName=AAAA
password=BBBB
hostName=
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
分別在userName和password的欄位,填上在Sun.com這冊的帳號密碼。
然後,執行以下指令:
sconadm register -a -r RegistrationProfile.properties
這樣就註冊成功,可以進行smpatch update啦~