日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

soalris 命令以及sa239考點(diǎn)集錦( 二 )


cd2 of 2 中放了Developer, Entire Distribution, and Entire Distribution Plus OEM Support software groups.

(20),
安裝軟件包從光盤到系統(tǒng)中:
# pkgadd -d . SUNWns6m
(21),
查看軟件安裝狀況:
# pkgchk SUNWcarx

加-v 參數(shù)可查看軟件包安裝在那些目錄下放置了文件:
# pkgchk -v SUNWcarx

查看文件狀態(tài):
#pkgchk -p /etc/passwd
查看passwd文件什么時(shí)候軟件包創(chuàng)建,最一次修改時(shí)間以及原始文件大小,及現(xiàn)在大小;
#pkgchk -l -p /etc/group
查看此文件被那個(gè)軟件包創(chuàng)建,以及一些相關(guān)信息;

提示:必須使用絕對(duì)路徑,否則不顯示信息;

(22), 刪除軟件包:

# pkgrm SUNWapchr 刪除軟件包SUNWapchr

(23),
增加一個(gè)軟件包spool 路徑:
默認(rèn)情況下,spool路徑放在/var/spool/pkg ,
增加方法如下:
# pkgadd -d /cdrom/cdrom0/s0/Solaris_9/Product -s spool SUNWensqr.u

如果想刪除spool路徑:
# pkgrm -s spool SUNWensqr.u

如果想增加一個(gè)spool中徑到一個(gè)自己指定的目錄/export/pkg下,則如下操作:

# pkgadd -d /cdrom/cdrom0/s0/Solaris_9/Product -s /export/pkg SUNWensqr.u
# pkgrm -s /export/pkg SUNWensqr.u


------------------------------------------------------------------------------
(24),

安裝:
# patchadd 105050-01

# patchrm 105050-01


安裝patch cluster:

patch cluster由推薦補(bǔ)丁,安全補(bǔ)丁以及Y2K patch組成;安裝時(shí)必須在/ /var /usr /opt有至少10M的空間,會(huì)把patch存在/var/sadm/pkg目錄,也可-nosave,將不能對(duì)個(gè)別patch進(jìn)行恢復(fù)刪除,


# cd patch_cluster_directory
# ./install_cluster


-------------------------------------------------------------------------------------------

(25),To display revsion of OpenBoot PROM :
#/usr/platform/"uname -m"/sbin/prtdiag -v

---------------------------------------------------------------------
(26), NVRAM "s noneditable area :

The Ethernet address, such as 8:0:20:5d:6f:9e
The HostID value ,such as 805d6f83
(27),stopD
stopN
StopA 三個(gè)命令的作用

(28),停止在系統(tǒng)運(yùn)行時(shí)stop A的作用:
/etc/default/kbd
刪除KEYBOARD ABORT=disable的注冊(cè)符;

--------------------------------------------------------------------
(29),Boot PROM command: (必考)

banner---- displays the power-on banner(also list Ethernet address,HostID,model name , boot PROM version,the amount of memory.)
boot ---- boots the system(-s boot the system to single-usermode;
-a boot the system interactively;
-v boots the system displaying more detailed info;
-r Performs a reconfigration boot.)
help ---- Lists the main help categorIEs
Words ---- displays the FORTH words in the dictionary
sifting text ----- Displays the FORTH commands contianing text
Printenv ---- Dislplays all paramenter"s current and default values.
setenv ---- set the specified NVRAM parameter to some value.
reset-all ---- Resets the entire system; similar to a power cycle.
set-defaults ---- Resets all paramter values to the factory defualts.
probe-ide
probe-scsi
probe-fcal-all
probe-scsi-all
probe-ide
probe-pci-slot
test ---- Runs self-test on specified devices;
.version ---- Displays the version and the date of the boot PROM;
.enet-addr ---- Displays the Ethernet address;
.idprom ---- Displays the IP PROM contents.
.speed ---- Displays the speed oft processor and of the buses attached to the sytem;
.registers ----- Displays the contents of the registers;

show-devs ---- view the entire device tree;
devalias ---- To identify the current boot device alias for the system;
nvalias ---- Creat a new device alias name;
nvunalias ---- Remove a custom device alias name;


--------------------------------------------------------------------------------
(30),Identifying RUN level (必考)

0 and S and 1 , this three level differ;

推薦閱讀