Re: [問題] Openwebmail 2.41 安裝 ?

看板FreeBSD作者時間21年前 (2004/09/29 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
我用偷天換日法,昨晚,喔!今天凌晨成功的。 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
文章代碼(AID): #11Mbsn00 (FreeBSD)
文章代碼(AID): #11Mbsn00 (FreeBSD)