本文介紹Solaris 10操作系統的安裝配置命令工具sys-unconfig的用法和步驟。
AD:
以root用戶登錄solaris後,在命令行提示符下輸入
# sys-unconfig |
回車,屏幕上出現如下提示
WARNING This program will unconfigure your system. It will cause it to revert to a "blank" system - it will not have a name or know about other systems or networks. This program will also halt the system. Do you want to continue (y/n) ? 輸入y,系統將重啓。 |
重新啓動Solaris後,將提示對系統重新進行設 置,包括缺省語言、X Server、網絡、時間等的設置。
(1) 語言選擇。選擇1,簡體中文。回車,進入下一步
Select a Language 0.English 1.Simplified Chinese Please make a choice (0 - 1),or press h or ? for help: |
(2) 字符集選擇。選擇2。回車,進入下一步
Select a Locale 0.Simplified Chinese EUC 1.Simplified Chinese EUC 2.Simplified Chinese GB18030 3.Simplified Chinese GBK 4.Simplified Chinese GBK 5.Simplified Chinese UFT-8 6.Simplified Chinese UFT-8 7.Go Back to Previous Screen Please make a choice (0 - 7),or press h or ? for help: |
(3) X Server選擇。通過上下鍵將光標移到Xorg server,回車選中。F2,進入下一步
kdmconfig - Introduction and X Server Selection X Server Selection ---------------------- [X] Xorg server [ ] Xsun server F2_Continue F3_Exit F6_Help |
(4) 網卡設置。系統自動找到網卡。以下步驟中,網卡名以****代表。回車,進入下一步
Configuring network interface addresses: **** (回車) ipw0 (回車) |
(4.1) 網絡連接設置。選擇Yes。F2,進入下一步
Network Connectivity Networked ----------- [X] Yes [ ] No F2_Continue F6_Help |
(4.2) 如果有多塊網卡,進行網卡選擇。F2,進入下一步
Configure Multiple Network Interfaces Network interfaces -------------------- [X] iprb0 [ ] ipw0 F2_Continue F6_Help |
(4.3) 是否使用DHCP。選擇No,進入下一步
DHCP for **** Use DHCP for **** ----------- [ ] Yes [X] No F2_Continue F6_Help |
(4.4) 設置網卡的主機名。輸入自定義的主機名。F2,進入下一步
Host Name for **** Host name for **** __________________ F2_Continue F6_Help |
(4.5) 設置IP地址。輸入IP地址。F2,進入下一步
IP Address for **** IP Address for **** __________________ F2_Continue F6_Help |
(4.6) 設置子網。選擇Yes。F2,進入下一步
Subnet for **** System part of a subnet ----------- [X] Yes [ ] No F2_Continue F6_Help |
(4.7) 子網掩碼設置。輸入子網掩碼,缺省255.255.255.0。F2,進入下一步
Netmask for **** Netmask for **** __________________ F2_Continue F6_Help |
(4.8) 是否支持IPv6。缺省No。F2,進入下一步
IPv6 for **** Enable IPv6 for **** ----------- [ ] Yes [X] No F2_Continue F6_Help |
(5) 對以上設置進行確認。F2,進入下一步;F4對前面的設置進行修改
Confirm Information for **** F2_Continue F4_Change F6_Help Configuring parameters , 25 seconds left to complete |
(6) Kerberos安全設置。缺省No。F2,進入下一步
Configure Security Policy: Specify Yes if the system will use the Kerberos security mechanism. Specify No if this system will use standard UNIX security Configure Kerberos Security -------------------------------- [ ] Yes [X] No Confirm Information F2_Continue F4_Change F6_Help |
(7) 名字服務。選擇None。F2,進入下一步
Name Service Name service ---------------- [ ] NIS+ [ ] NIS [ ] DNS [ ] LDAP [X] None F2_Continue F6_Help |
(8) 名字服務確認。F2,進入下一步
Confirm Information F2_Continue F4_Change F6_Help |
(9) 時區選擇。選擇Asia,進入下一步
Time Zone Continents and Oceans [ ] Africa [ ] Americas [ ] Antarctica [ ] Arctic Ocean [X] Asia [ ] Atlantic Ocean [ ] Australia [ ] Europe [ ] Indian Ocean [ ] Pacific Ocean [ ] other - offset from GMT [ ] other - specify time zone file |
(10) 國家和地區選擇。選擇China,進入下一步
Country or Gegion Countries and Regions [ ] Afghanistan [ ] Amenia [ ] ...... [ ] Arctic [X] China [ ] ...... [ ] |
(11) 日期時間設置。F2,進入下一步
Date and Time > Accept the default date and time or enter new values. Date and time : 2006-02-15 15:38 Year (4 digits) : 2006 Month (1-12) : 02 Day (1-31) : 15 Hour (0-23) : 15 Minute (0-59) : 38 |
(12) 時區和時間確認。F2,進入下一步
Confirm Information ...... F2_Continue F4_Change F6_Help |
(13) 設置root密碼。輸入密碼。或直接F2,進入下一步
Root Password: ________________ Root Password: ________________ F2_Continue F6_Help |
(14) 設置完成。問是否覆蓋缺省的NFS域名。缺省no。回車,自動重啓
System identification is completed. Do you need to override the system's default NFS version 4 domain name (yes/no) ? [no] : __ rebooting system due to change the file /etc/init |