#pkg_info
MailScanner-4.38.1
update ports tree:
#cvsup -g -L 2 /usr/ports-supfile
then install portupgrade:
#cd /usr/ports/sysutils/portupgrade
#make install
#make clean
backup MailScanner.conf
#cd /usr/local/etc/MailScanner/
#cp MailScanner.conf MailScanner.conf.438
upgrade MailScanner
參考網址:http://www.sng.ecs.soton.ac.uk/mailscanner/FreeBSD.html
#cd /usr/ports/mail/
#/usr/local/sbin/portupgrade MailScanner //大小寫要和pkg_info相同
..............
有部份注意事項,請參閱前述網頁說明。
我使用portupgrade MailScanner做到最後會失敗,只好用
#pkg_deinstall mailscanner-mrtg
#pkg_deinstall MailScanner
#cd /usr/ports/mail/mailscanner
#pkg_reinstall MailScanner
↑用這個方法在ns2時ok, 但用在ns1時失敗,原因在/usr/local/share/MailScanner/reports/tw/languages.conf更新會失敗。
所以我先把這個目錄移到其他地方,再到
#cd /usr/ports/mail/mailscanner
#make install
就更新完成。
更新clamav比較簡單,直接:
#portupgrade clamav
就自己裝完了。
貓熊麗麗 發表在 痞客邦 留言(0) 人氣(104)
即將結婚的小工程師又為了衝動買下的房子在煩惱了,先是擔心房子蓋不好,再是擔心房貸繳不出,後想解約退訂又怕拿不回定金等等,最後居然乾脆後悔結這個婚。
當他正在感慨親戚與長輩的壓力,說:啊~ 中國人的傳統觀念真是@#$%^&*(。掃地的阿姨剛好經過,就說:那你跟你爸脫離父子關係啊。
......
突然大家一陣安靜,我們這些事不關己的人都笑倒了。
薑真的是老的辣。
貓熊麗麗 發表在 痞客邦 留言(0) 人氣(17)
ssh_exchange_identification: Connection closed by remote host
是因為/etc/hosts.allow中沒有加入:
sshd : xxx.xxx.xxx.xxx : allow
加入這行就可以登入了,其他一律拒絕。
貓熊麗麗 發表在 痞客邦 留言(0) 人氣(340)
> While booting I get the message "recovering vi editor sessions" and
> the booting process is halted for a couple of minutes. I'm new to
> FreeBSD so I don't know where to look. Booting is resumed and some
> time later I get a message that sendmail is starting -- again taking a
> long time ...
>
> Any ideas how to fix this?
The saved sessions are (by default) in "/var/tmp/vi.recover".
If you don't need to recover the sessions, clean the directory out.
貓熊麗麗 發表在 痞客邦 留言(0) 人氣(25)
上午老板叫我進去拯救他的電腦,說powerpoint打不開,我進去摸了一下確實沒反應,需要重開機,就順便問老板你早上才開機嗎?老板說沒有。我覺得奇怪,就問說:你離開公司時不關機嗎?他說:因為我怕忘了密碼不能開機,所以都不關機。
嗚嗚嗚嗚嗚嗚嗚嗚~居然是因為這種理由不關機,難怪他的電腦常常會因記憶體滿了會做出奇怪的反應。
這就是我的老板......
貓熊麗麗 發表在 痞客邦 留言(0) 人氣(19)