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

2 solaris基礎(chǔ)和常用知識(shí)( 八 )


# LANG=zh; export LANG # set the locale environment in Chinese.
# kill -9 `cat /etc/syslog.pid` # to kill the former syslogd
# /usr/sbin/syslogd

If you want syslogd to support Chinese characters whenever the
machine boot. Put the attacted file in the /etc/rc3.d directory.Make
sure this file"s mode is "rwxr-xr-x" and the owner is root.

105 Q: 我的工作站的交換分區(qū)分的太小了 , 除重裝系統(tǒng)外 , 是否有其它辦法將空間調(diào)
整一下 。
A: You can extend your swap region by issueing the following command:
#mkfile -m
#swap -a
Note: the should be the full path name.

106 Q: 用vi打開(kāi)一個(gè)script文件 , 發(fā)現(xiàn)里面有非法字符^M,在vi命令行如何全程替代
掉該字符?我試了一下用以下命令來(lái)做 , 卻不行:0,$s/^M//
A: 1,$s/^M//g ,其中 , ^M是 ctrl V ,ctrl M,或者 , 用下面這個(gè)命令 。
\unix2dos $filename > $newfilename

107 Q: How to add space to a filesystem in solaris2.5.7 ? When I patchadd a
patch,It tell me that there is no sufficient filesystem capacity.
A: It seems like your root partition too small. Please check it
availiable size. If it is small, I think you would better to
reinstall the system. Please store all the data in the disk.
In the new installation, you need really to partitions, one is for
swap, and another is for /. The swap partition /tmp needs about 200M
to 500M. Then all the left should be given to /.

108 Q: 請(qǐng)教關(guān)于Solaris Patch的問(wèn)題 。我們?cè)诎惭b一些軟件時(shí) , 經(jīng)常需要先安裝一
些Patch , 有一事不明 , 向您請(qǐng)教一下,比如某個(gè)軟件需要Patch : 107546-02,
現(xiàn)在我的機(jī)器上已經(jīng)安裝107546-08 , 是不是就不用再安裝107546-02了Patch
后面的那部分是什么意思?是不是大的數(shù)字可以包含小的數(shù)字的功能了? 同一
個(gè)Patch的不同版本之間會(huì)不會(huì)有沖突?
A: You are right. If you have installed a bigger version of the same
patch, it not necessary for you to install the smaller one. The
bigger version will override the earlier one if it installed before.
You need not worry about any collision.

109 Q: 關(guān)于sun的SunNet 我目前想了解關(guān)于sun的SunNet 。我從sun的網(wǎng)站上了解到
SunNet已經(jīng)被合并入到Solstice里了 , 我目前想試著把我做得程序集成到
SunNet或Solstice里 , 我看了Slostice得White Paper,但里邊只提到了一點(diǎn)點(diǎn)
相關(guān)得Api , 我從哪里 , 怎么才能到比較完全得文檔呢?

A: To my knowledge, you can go to the following for a detailed info:
http://www.sun.com/software/solstice/em-products/network/sunnetmgr.html.

110 Q: 關(guān)于SUN機(jī)器root口令丟失問(wèn)題 , 如何解決?
A: 辦法如下:
利用SOLARIS的啟動(dòng)盤(pán)來(lái)啟動(dòng) , 然后把硬盤(pán)mount上去 , 修改硬盤(pán)上原etc目錄
下的shadow文件,將root項(xiàng)里的passWord域內(nèi)容刪除 , 變成無(wú)密碼 。然后重新
啟動(dòng)主機(jī) , 以無(wú)密碼的root登陸后 , 重新設(shè)置root口令 。具體步驟如下:
1.把你的solaris光盤(pán)放進(jìn)cdrom
2.鍵入stop a
3.當(dāng)出現(xiàn)"ok"字樣時(shí),鍵入boot cdrom -s
4.cd /tmp/root
5.mkdir /tmp/root/xxx (xxx是什么鬼東西就無(wú)關(guān)緊要了)
6.mount /dev/dsk/c0t0d0s0 /tmp/root/xxx (在這里c0t0d0s0是你的root盤(pán))
7.運(yùn)行csh
8.setenv TERM vt220
9.cp /tmp/root/xxx/etc/shadow /tmp/root/xxx/shadow/shadow.bak
10.vi /tmp/root/xxx/shadow,并且將root項(xiàng)里的password域刪除即可 。
11.重啟動(dòng) , 你就可以以無(wú)密碼的root登陸了 , 登錄后 , 更改root的密碼 。

111 Q: In solaris 2.6. when i use command "killall" ,all process started in
CDE will be killed and the eviroment will change to CDE login. I
looked up the man manual about "killall" ,it told me that "only root
can use the command".But I really use it with common id.In
solaris7 and solairs 8, with common id,i can"t use the common.can

推薦閱讀