Horde / IMP

 

Fedora core 4

 

PHP-4.4.1

[1.]

./configure –with-apxs2=/usr/sbin/apxs
                   –with-gettext

                   –with-dom

                   –with-mcrypt
                   –with-iconv

                   –enable-mbstring=all

                   –enable-mbregex
                   –with-gd

                   –with-png-dir=/usr

                   –with-jpeg-dir=/usr
                   –with-mime-magic=/usr/share/magic.mime
                   –with-mysql

                   –with-zlib-dir

                   –enable-ftp
                   –with-imap

                   –with-imap-ssl

                   –with-ldap
                   –with-openssl
                   –with-pgsql

                   –with-kerberos

make
make install

 

[Q1.] 當 make時,錯誤訊息 /usr/bin/ld: cannot find -lltdl

[A1.]  yum install libtool-ltdl-devel.i386

 

Horde

[1.] wget http://ftp.horde.org/pub/horde/horde-3.1.3.tar.gz

 

[2.] tar zxvf horde-3.1.3.tar.gz

      mv horde-3.1.3 /var/www/html/horde

 

[3.] install PEAR packages::

         pear install -o Log Mail Mail_Mime DB Date File
         pear -d preferred_state=beta install -a Services_Weather

 

[4.] cd /var/www/html/horde/config/

 

      執行下行指令

         for f in *.dist; do cp $f `basename $f .dist`; done

 

[5.] cd /var/www/html/horde/scripts/sql

 

      建立資料庫

         mysql -u root -p < create.mysql.sql

 

[6.] 瀏覽 http://ssorc.tw/horde-3.1.3/test.php

 

順便查看那些 PEAR尚未安裝

   pear install XXX

 

[Q.] 當 pear install xxx,訊息 No handlers for package.xml version 2.0

[A.]  pear upgrade PEAR

 

[7.] chown -R apache.apache /var/www/html/horde

      chmod -R o-rwx /var/www/html/horde

      chmod 0440 /var/www/html/horde/config/*

 

[8.] http://ssorc.tw/horde-3.1.3

 

IMP

wget http://ftp.horde.org/pub/imp/imp-h3-4.1.3.tar.gz

 

tar zxvf imp-h3-4.1.3.tar.gz

 

mv imp-h3-4.1.3 /var/www/html/horde/imp

 

vi /var/www/html/test/horde-3.1.3/imp/config/servers.php

$servers['imap'] = array(
       'name' => 'IMAP Server',
       'server' => 'localhost',
       'hordeauth' => false,
       'protocol' => 'imap/notls',
       'port' => 143,
       'maildomain' => 'ssorc.tw',
       'smtphost' => 'localhost',
       'smtpport' => 25,
       'realm' => '',
       'preferred' => '',
);

 

最後修改日期: 2006 年 11 月 14 日

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。