【文章內(nèi)容簡介】
Host name:____________________________________________________ IP address:_____________________________________________________ Name service (NIS, NIS+, DNS or None):_________________________ Subnet (yes or no):______________________________________________ Geographic location:____________________________________________ Time zone information:__________________________________________ Root password:_________________________________________________ Installation Process 1. Insert the CDROM into the CDROM drive. 2. Boot the release media. ok boot cdrom 3. Select the appropriate language and locale for your site and click on Continue. 4. Enter the assigned host name for the system 5. Type the IP address 6 . Select the type of the name service 7. Select Time Zone 8. Select Initial to perform an initial install and not preserve current settings 9 . Select the software group 10 . Set the sizes of each disk partition 11 . Type a root (superuser) password (第四章:軟件包管理) 作 者: jxbcpp (20010515 12:15:01) 所有Solaris系統(tǒng)的軟件都以包的形式出現(xiàn)。 軟件包包含: 軟件包的描述文件 系統(tǒng)需求的描述文件 需要安裝的文件 安裝前以及安裝后需要運行的腳本 The pkgadd mand 用于安裝軟件包 pkgadd [ d [device | pathname ]] pkg_name pkgadd d /cdrom/cdrom0/s0/Processing package instance from Audio applications (sparc) ,REV= Copyright 1998 Sun Microsystems, Inc. All rights reserved. Using as the package base directory. Processing package information. Processing system information. 2 package pathnames are already properly installed. Verifying package dependencies. Verifying disk space requirements. Checking for conflicts with packages already installed. Checking for setuid/setgid programs. This package contains scripts which will be executed with superuser permission during the process of installing this package. Do you want to continue with the installation of [y,n,?] y Installing Audio applications as Installing part 1 of 1. Installation of was successful. The pkginfo mand 不加任何參數(shù)用于查看系統(tǒng)已經(jīng)安裝的軟件包 pkginfo | more application SUNWAxg Solaris XGL AnswerBook application SUNWaadm Solaris 7 System Administrator Collection system SUNWab2m Solaris Documentation Server Lookup system SUNWab2r Solaris Documentation Server system SUNWab2s Solaris Documentation Server system SUNWab2u Solaris Documentation Server application SUNWabda Sun Ultra 5/10 Hardware AnswerBook application SUNWabe Solaris 7 User Collection application SUNWabsdk Solaris 7 Software Developer Collection The pkginfo Command 后面可跟一些參數(shù),顯示特定某個軟件包的信息 Command Format pkginfo [ d [ device | pathname ] ] [ l ] pkg_name 參數(shù) d device 指定軟件所在的位置,可以是目錄、磁帶機、軟盤等等 l 顯示詳細信息 pkg_name 軟件包名 輸出列 CATEGORY 軟件包的類型,是“應(yīng)用軟件”和是“系統(tǒng)軟件” PKGINST 軟件包名,如果是SUNW打頭,則是SUN的產(chǎn)品 NAME 軟件的簡要描述 pkginfo d /cdrom/cdrom0/s0/PKGINST: SUNWaudio NAME: Audio applications CATEGORY: system ARCH: sparc VERSION: ,REV= BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: Audio binaries PSTAMP: dtbuild37s19980813171753 HOTLINE: Please contact your local service provider STATUS: spooled FILES: 9 spooled pathnames 2 directories 3 executables 4 package information files 700 blocks used (approx) The pkgrm Command Command Format pkgrm package_name 用于刪除軟件包 pkgrm SUNWaudio The following package is currently installed: SUNWaudio Audio applications (sparc) ,REV= Do you want to remove this package? y Removing installed package instance Verifying package dependencies. WARNING: The package depends on the package currently being removed. WARNING: The package depends on the package currently being removed. WARNING: The package depends on the package currently being removed. WARNING: The package depends on the package currently being removed. Dependency checking failed. Do you want to continue with the removal of this package [y,n,?,q] 如果某個文件被多個包共享,則當最后一個包被刪除時才被刪除。 The pkgchk Command 用于檢查已安裝的軟件包 Command Format pkgchk [ p path1 [ path2...] ] pkgchk SUNWaudio pkgchk p /etc/group ERROR: /etc/group file size 278 expected 282 actual file cksum 23586 expected 24038 actual pkgchk命令校驗包的屬性和內(nèi)容是否與系統(tǒng)記錄的一致。 這個命令能檢測整個包或是某個文件。沒有輸出表示包已經(jīng)安裝,但未發(fā)現(xiàn)不一致。 admintool圖形管理工具 admintool是solaris圖形管理工具,包括管理軟件包、主機名、主機地址、打印機、串口、用戶、用戶組等。 (第五章:補丁維護) 作 者: jxbcpp (20010515 13:15:00) 什么是Patch? 簡單的說,補丁就是一些替換現(xiàn)存的文件和目錄的文件目錄集合。補丁糾正應(yīng)用程序的錯誤或增加功能。 Patch編號 每個補丁都有編號。例如補丁號為101945,版本是34的話,這個補丁的目錄名就是10194534. patchadd命令用于安裝補丁: cd /tmp ls 10516001 ps_data sdt_fl8zKOI_ patchadd 10516001 Checking installed packages and patches... Verifying sufficient filesystem capacity (dry run method) Installing patch packages... Patch number 10516001 has been successfully installed. See /var/sadm/patch/10516001/log for details Patch packages installed: SUNWdtbas patchrm用于刪除補丁 patchrm 10563306 Checking installed packages and patches... Patch 10563306 has been backed out. 下面的命令用于檢查系統(tǒng)的補丁情況 patchadd p Patch: 10516005 Obsoletes: Requires: Inpatibles:Packages: SUNWdtbas showrev p Patch: 10516005 Obsoletes: Requires:Inpatibles: Packages: SUNWdtbas (第六章:啟動過程) 作者: jxbcpp (20010515 14:15:00) 啟動有四個階段 Boot PROM 階段 Boot program 階段 Kernel 初始化階段 /sbin/init 階段 啟動過程: 自檢、顯示系統(tǒng)信息、讀取啟動設(shè)備的0扇區(qū)、在啟動設(shè)備尋找啟動程序、加載啟動程序、啟動內(nèi)核、運行/sbin/init。 /sbin/init程序 讀取/etc/inittab文件。Init程序執(zhí)行/sbin/rc*腳本。 系統(tǒng)有多種運行級別,不同的運行級別所啟動的服務(wù)不同。 系統(tǒng)運行級別有8種,分別為: 運行級別 意義 0 進入PROM狀態(tài)(OK狀態(tài)) 1 管理狀態(tài)(所有文件系統(tǒng)都掛上的單用戶模式,禁止其他用戶登錄) 2 多用戶模式(沒有網(wǎng)絡(luò)文件共享服務(wù)) 3 多用戶模式(有網(wǎng)絡(luò)文件共享服務(wù)) 4 未使用 5 退出操作系統(tǒng)并關(guān)機 6 重新啟動機器 S,s 單用戶模式 who命令查看運行級別 who r . run