您有兩種方式來執行 Solaris Web Start:
圖形使用者介面,它需要本機或遠端 CD-ROM 光碟機或網路連接、框架緩衝區、鍵盤及監視器
指令行使用者介面,它需要本機或遠端 CD-ROM 光碟機或網路連接、鍵盤及監視器; 您可以執行 Solaris Web Start 指令行使用者介面及:tip(1)
圖形使用者介面及指令行使用者介面中指令的內容及順序通常是相同,僅些許不同而已, 如這些範例所示一般:
Please select how to specify your default time zone. Specify Time Zone by: 1. Geographic region 2. Offset from GMT 3. Time zone file Please enter the number corresponding to how you would like to specify the time zone [1]: |
如果 Solaris Web Start 偵測到您的系統有一個框架緩衝區,它將使用圖形使用者介面, 如果沒有,它將使用指令行使用者介面。
本書中的指示將描述如何使用 CD 來安裝 Solaris 8 軟體。如果您選擇透過網路來安裝 Solaris 8軟體,則有些步驟可能會有所不同。
使用這個決策表來決定首先要做的事項。
如果您打算從下列安裝 Solaris 軟體: |
請移至 |
---|---|
連接到您的系統的 CD-ROM 光碟機 | 步驟 2. |
網路上的遠端 CD-ROM 光碟機 |
Solaris 8 Advanced Installation Guide及本章及稍後幾章中出現的步驟。 |
Solaris 已安裝在系統上了嗎?
如果是,請到本書的 第 3章, 升級系統。
若否,請移至 步驟 3。
確定您的硬體得到支援。
如果您的系統連接到網路,請收集您打算在其中安裝 Solaris 作業環境的系統的下列相關資訊。
如果 Solaris 尚未安裝在系統上,請聯絡您的系統管理員或負責維護網路的人員,找出下列資訊。
資訊 |
範例 |
若要尋找資訊 (已安裝 Solaris),請使用 |
---|---|---|
主機名稱 |
crater |
uname -n |
主機 IP 位址 |
129.221.2.1 |
ypmatch system_name hosts 或 nismatch system_name hosts.org_dir |
子網路遮罩 |
255.255.255.0 |
more /etc/netmasks |
名稱服務的類型 (DNS, NIS 或 NIS+) |
passwd: files nis group: files nis hosts: xfn nis [NOTFOUND=return] files networks: nis [NOTFOUND=return] files protocols: nis [NOTFOUND=return] files rpc: nis [NOTFOUND=return] files ethers: nis [NOTFOUND=return] files netmasks: nis [NOTFOUND=return] files bootparams: nis [NOTFOUND=return] files publickey: nis [NOTFOUND=return] files netgroup: nis automount: files nis aliases: files nis services: files nis sendmailvars: files |
cat /etc/nsswitch.conf |
網域名稱 |
lbloom.West.Arp.COM |
domainname |
名稱伺服器的主機名稱 |
thor75 |
ypwhich |
名稱伺服器的主機 IP 位址 |
129.153.75.20 |
ypmatch nameserver_name hosts 或 nismatch nameserver_name hosts.org_dir |
決定您想要安裝下列哪一個軟體,以及決定合併的軟體需要的總磁碟空間。
Solaris 8 Installation English SPARC Platform Edition 或 Solaris 8 Installation Multilingual SPARC Platform Edition
Solaris 8 Software 1 of 2 SPARC Platform Edition 及 Solaris 8 Software 2 of 2 SPARC Platform Edition
Solaris 8 Languages SPARC Platform Edition (若您使用多國語 CD 的話)
您打算透過下列 tip(1) 線路來安裝 Solaris 軟體嗎?
若否,請移至下一個步驟。
若是,請確定您的視窗顯示畫面至少是 80 欄寬、24 列長。
若要決定您的 tip 視窗的目前大小,請使用 stty(1) 指令。
將標籤名稱為 Solaris 8 Installation English SPARC Platform Edition 或 Solaris 8 Installation Multilingual SPARC Platform Edition 的 CD 插入到系統的 CD-ROM 光碟機:
啟動系統:
如果您的系統是 |
則 |
---|---|
新的,剛從包裝中取出 |
打開系統。 |
現有的 |
顯示確定提示 (經由鍵入 halt 作為超級使用者,或同時按 Stop 及 A 鍵),然後鍵入: boot cdrom |
如果您將使用標籤名稱為 Solaris 8 Installation English SPARC Platform Edition 的 CD,類似於下列的資訊將顯示出來:
Boot device: /sbus/espdma@e,8400000/esp@e,8800000/sd@6,0:f File and args: SunOS Release 5.8 Version Generic 32-bit Copyright 1983-2000 Sun Microsystems, Inc. All rights reserved. Configuring /dev and /devices Using RPC Bootparams for network configuration information. le0: No carrier - cable disconnected or hub link test disabled? Solaris Web Start 3.0 installer English has been selected as the language in which to perform the install. Starting the Web Start 3.0 Solaris installer Solaris installer is searching the system's hard disks for a location to place the Solaris installer software. Your system appears to be upgradeable. Do you want to do a Initial Install or Upgrade? 1) Initial Install 2) Upgrade Please Enter 1 or 2 > |
如果您將使用標籤名稱為 Solaris 8 Installation Multilingual SPARC Platform Edition 的 CD,類似於下列的資訊將顯示出來:
Boot device: /sbus/espdma@e,8400000/esp@e,8800000/sd@6,0:f File and args: SunOS Release 5.8 Version Generic 32-bit Copyright 1983-2000 Sun Microsystems, Inc. All rights reserved. Configuring /dev and /devices Using RPC Bootparams for network configuration information. le0: No carrier - cable disconnected or hub link test disabled? Solaris Web Start 3.0 installer The Solaris Installer can be run in English, or any of the following languages: 1) English 6) Japanese 2) German 7) Korean 3) Spanish 8) Swedish 4) French 9) Simplified_Chinese 5) Italian 10) Traditional_Chinese Select the language you want to use to run the installer: |
若是 Solaris 8 Installation English SPARC Platform Edition CD,請移至下一個步驟。
若是 Solaris 8 Installation Multilingual SPARC Platform Edition CD,請鍵入號碼, 並選取顯示提示符號、訊息及其它安裝資訊時所用的語言。
類似於下面的資訊將以您選取的語言顯示出來:
您選擇了繁體中文作為執行安裝的語言。 正在啟動 Web Start 3.0 Solaris 安裝程式。 Solaris 安裝程式正在搜尋系統的硬碟,以便放置 Solaris 安裝程式軟體。 系統似乎可以升級。您要進行起始安裝或升級? 1) 起始安裝 2) 升級 請輸入 1 或 2 > |
在提示符號中,鍵入 1 代表初始安裝,然後按 Return 鍵。
類似於下面的資訊將顯示出來:
預設的根磁碟為 /dev/dsk/c0t0d0。 Solaris 安裝程式必須格式化 /dev/dsk/c0t0d0 來安裝 Solaris。 警告:磁碟上的所有資料將被刪除! 您要格式化 /dev/dsk/c0t0d0 嗎? [y,n,?,q] |
在提示符號中,鍵入 y,然後按 Return 鍵。
類似於下面的資訊將顯示出來:
注意事項:在檔案系統佈局期間,將無法變更交換大小。 輸入一個大小介於 384MB 和 2027MB (預設值 = 512MB) 的調換分割區。 [?] |
在提示符號中,按 Return 鍵接受預設置換檔片段大小,或鍵入您想要的置換檔片段大小,然後按 Return 鍵。
類似於下面的資訊將顯示出來:
「安裝程式」習慣將調換磁碟空間置於磁碟的開始處。 這樣可在稍後的安裝程序中,彈性地分割檔案系統。 調換磁碟空間可否開始於磁碟的開始處﹖ [y,n,?,q] |
您想要將置換檔空間置於磁碟的開頭 (這可提高分割檔案系統的彈性及存取磁碟的效率)?
若是,請鍵入 y 並按 Return 鍵,然後移至 步驟 10。
若否,請鍵入 n 並按 Return 鍵。
類似於下面的資訊將顯示出來:
警告:在磁柱 0 以外的磁柱位置放置交換切片,需要關於磁碟佈局 的專業知識。此選項稍後可能會影響在安裝中的磁碟佈局選項。 請輸入一個介於 0 和 2043 之間的起始磁柱,預設值 = 0 [?] |
按 Return 鍵接受預設啟動磁柱 (0),或鍵入您想要的啟動磁柱並按 Return 鍵。
類似於下面的資訊將顯示出來:
您已經選取 Solaris 安裝程式將要使用的下列項目: 磁碟切片 : /dev/dsk/c0t0d0 大小 : 512 MB 起始柱面 : 0 警告:磁碟上的所有資料將被刪除! 您確定嗎? [y,n,?,q] |
在提示符號中,鍵入 y,然後按 Return 鍵。
類似於下面的資訊將顯示出來:
Solaris 安裝程式將使用磁碟分割區 /dev/dsk/c0t0d0s1。 檔案複製後,系統將自動重新啟動, 安裝將繼續完成。 請稍候... 將 mini-root 複製到區域磁碟。...完成。 複製平台特定檔。...完成。 準備重新啟動並繼續安裝。 需要重新啟動以繼續安裝。 Syncing file systems... 41 done rebooting... Resetting ... Sun Ultra 1 SBus (UltraSPARC 143MHz), Keyboard Present OpenBoot 3.5, 64 MB memory installed, Serial #9058749. Ethernet address 8:0:20:8d:35:a5, Host ID: 808d35a5. Rebooting with command: boot /sbus@1f,0/espdma@e,8400000/esp@e, 8800000/sd@0,0:b Boot device: /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0:b File and args: SunOS Release 5.8 Version Generic 32-bit Copyright 1983-2000 Sun Microsystems, Inc. All rights reserved. Configuring /dev and /devices Using RPC Bootparams for network configuration information. le0: No carrier - cable disconnected or hub link test disabled? |
數秒後,將顯示「歡迎使用」螢幕: