openwebmail 2.40升級至2.50
shian | 14 二月, 2005 00:21 寒假快結束了,趁著假期空檔上網看看openwebmail是否有更新的版本,結果一看,嗯!已經有2.50版本了,那就再次升級看看!
第一次升級2.50版時,一切都還蠻順利的一下子就升級完畢了,登入之後檢查了一下,發現信箱的通訊錄失效無法正常運作,這時候時間也很晚了!就暫時先擱著明天再解決!心想該不會又要重新架設mail server吧!
今天一回到家就馬上把想到的方法試試看:先移除2.50版本 再重新安裝2.41版本,結果雖有進步:可以進入信箱的通訊錄但是我的舊通訊資料都不見了。
不甘心再嘗試了幾次結果皆是如此,最後再去openwebmail官方網站下載2.50的最最新版本20050213試試,發現系統有一個模組太舊無法安裝,於是用google搜尋相關訊息並下載此模組最新程式和安裝。之後再重新安裝openwebmail-2.50-20050213的版本,終於升級成功,我的郵件通訊錄也正常了。
以下是我的安裝紀錄:
[root@ms3 root]# rpm -Uvh openwebmail-2.50-20050213.i386.rpm
warning: openwebmail-2.50-20050213.i386.rpm: V3 DSA signature: NOKEY, key ID cfb164d8
Preparing... ########################################### [100%]
1:openwebmail ########################################### [100%]
You may login with non-root account from
http://ms3.ttes.ntct.edu.tw/cgi-bin/openwebmail/openwebmail.pl
[root@ms3 root]# /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
Base64.pm /usr/lib/perl5/5.8.0/i386-linux-thread-multi/MIME/Base64.pm
Your MIME::Base64 module is too old (2.12),
please update to 3.00 or later.
And execute '/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init' again!
ps: If you are running openwebmail in persistent mode,
don't forget to 'touch openwebmail*.pl', so speedycgi
will reload all scripts, modules and conf files in --init.
//下載 MIME-Base64-3.05.tar.gz
[root@ms3 root]# tar zxvf MIME-Base64-3.05.tar.gz
[root@ms3 root]# cd MIME-Base64-3.05
[root@ms3 MIME-Base64-3.05]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
[root@ms3 MIME-Base64-3.05]# make
[root@ms3 MIME-Base64-3.05]# make install
// 再次安裝 openwebmail-2.50-20050213
[root@ms3 root]# rpm -Uvh openwebmail-2.50-20050213.i386.rpm
warning: openwebmail-2.50-20050213.i386.rpm: V3 DSA signature: NOKEY, key ID cfb164d8
Preparing... ########################################### [100%]
1:openwebmail ########################################### [100%]
You may login with non-root account from
http://ms3.ttes.ntct.edu.tw/cgi-bin/openwebmail/openwebmail.pl
[root@ms3 root]# /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init //安裝成功
// 再次安裝 SpeedyCGI 加速 openwebmail 的執行效率
[root@ms3 root]# rpm -Uvh --force perl-CGI-SpeedyCGI-2.21-RH9.i386.rpm
Preparing... ########################################### [100%]
1:perl-CGI-SpeedyCGI ########################################### [100%]
Replace the first line of all /var/www/cgi-bin/openwebmail/openwebmail*pl
from #!/usr/bin/suidperl -T
to #!/usr/bin/speedy_suid -T -- -T/var/run/speedy
by running "speedy_convert" script
[root@ms3 root]# speedy_convert
Converting suidperl to speedy_suid...
Done
Posted in
網管工作 .
迴響: (0).
引用:(0).
靜態連結網址
«Next post |
Previous post»