Re: [問題] Openwebmail 2.41 安裝 ?
我用偷天換日法,昨晚,喔!今天凌晨成功的。
1. fetch -v http://openwebmail.org/openwebmail/download/release/openwebmail-2.41.tar.gz
先把 新版抓回
2. ls -l /usr/local/bin |grep perl (或 ls -l /usr/bin |grep perl)
確認有 suidperl 可用,因 p5-CGI-Speedy 要用(加速用)
若沒有,請到
cd /usr/ports/lang/perl5.8
make all install ENABLE_SUIDPERL=yes clean;rehash
把 perl 5.8.5 裝起來
3. cd /usr/ports/mail/openwebmail
make all install clean;rehash ==> 此時裝的是 2.40 版
(若出現選項,嘿嘿!全選)
4. 若一切順利,此時要開始換了
5. tar zxvf openwebmail-2.41.tar.gz
會解出: data/openwebmail, cgi-bin/openwebmail 兩大目錄出來
6. 備份舊資料,以免發生危險
mv /usr/local/www/data/openwebmail /usr/local/www/data/openwebmail-2.40
mv /usr/local/www/cgi-bin/openwebmail /usr/local/www/cgi-bin/openwebmail-2.40
7. 換上新資料,把新版的東西搬過來
mv data/openwebmail /usr/local/www/data/
mv cgi-bin/openwebmail /usr/local/www/cgi-bin
8. 檢查 /usr/bin 有無 suidperl,若無不能動。
解決方法很簡單: ln -s /usr/local/bin/suidperl .
9. cd /usr/local/www/cgi-bin/openwebmail/etc
chmod 775 sessions
cd /usr/local/www/cgi-bin/openwebmail/
./openwebmail-tool.pl --init --no
10. 工作完畢
註:
這個與 apache 的版本無關, 1.3.xx 系列 或 2.xx 系列都可動
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: 163.32.211.89
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章