RSS

Membangun Webmail Server (horde groupware webmail edition) di centos 5.5

29 Mei

1. download di : http://www.horde.org/download/app/?app=webmail
2. ekstrak file horde-webmail-lates.tar.gz di htdocs, misalkan dlm direktori /var/www/html
dg perintah # tar -xzvf horde-webmail-lates.tar.gz
3. ganti nama direktori menjadi horde, dg perintah # mv horde-webmail-1.2.6 horde
4. ganti hak akses menjadi apache, dg perintah # chown -fR apache.apache horde
5. buat database horde dan hak aksesnya dg username horde dan password horde utk database horde di mysql, dg perintah
# mysql -u root -p
Enter password:
mysql> create database horde;
mysql> grant all privileges on horde.* to horde@localhost identified by ‘horde’ with grant option;
mysql> \q
#
6. berikutnya konfigurasi dg menjalankan script setup.php, dg perintah
# cd horde
# ./scripts/setup.php

What is the web root path on your web server for this installation, i.e. the path of the address you use to access Horde Groupware Webmail Edition in your browser? [/horde] Enter

Horde Groupware Webmail Edition Configuration Menu
(0) Exit
(1) Configure database settings
(2) Create database or tables
(3) Configure administrator settings
(4) Update PEAR for a new or changed location
(5) Update from an older Horde Groupware Webmail Edition version

Type your choice: 1

What database backend should we use? [false]
(false) [None]
(dbase) dBase
(ibase) Firebird/InterBase
(fbsql) Frontbase
(ifx) Informix
(msql) mSQL
(mssql) MS SQL Server
(mysql) MySQL
(mysqli) MySQL (mysqli)
(oci8) Oracle
(odbc) ODBC
(pgsql) PostgreSQL
(sqlite) SQLite
(sybase) Sybase

Type your choice: mysql

Type your choice: mysql
Request persistent connections? [0]
(1) Yes
(0) No

Type your choice: 1

Username to connect to the database as* [] horde

Password to connect with [] horde

How should we connect to the database? [unix]
(unix) UNIX Sockets
(tcp) TCP/IP

Type your choice: tcp

Database server/host* [] localhost

Port the DB is running on, if non-standard [3306] Enter

Database name to use* [] horde

Internally used charset* [utf-8] Enter

Use SSL to connect to the server? [0]
(1) Yes
(0) No

Type your choice: 0

Split reads to a different server? [false]
(false) Disabled
(true) Enabled

Type your choice: false

Writing main configuration file
Done configuring database settings.

Horde Groupware Webmail Edition Configuration Menu
(0) Exit
(1) Configure database settings
(2) Create database or tables
(3) Configure administrator settings
(4) Update PEAR for a new or changed location
(5) Update from an older Horde Groupware Webmail Edition version

Type your choice: 2
Should we create the database for you? If yes, you need to provide a database
user that has permissions to create new databases on your system. If no, we
will only create the database tables for you. [y]
(y) Yes
(n) No

Type your choice: n

Database superuser for creating the tables if necessary for your database system: horde

Specify a password for the database user: horde
Loading database module…
Creating database…
[ OK ] Successfully created the global tables.
[ OK ] Successfully created the tables for Mail (imp).
[ OK ] Successfully created the tables for Filters (ingo).
[ OK ] Successfully created the tables for Address Book (turba).
[ OK ] Successfully created the tables for Calendar (kronolith).
[ OK ] Successfully created the tables for Tasks (nag).
[ OK ] Successfully created the tables for Notes (mnemo).

Should we build the database with METAR weather stations now? This is necessary if you want to display METAR weather information. Building the database requires a network connection. [y]
(y) Yes
(n) No

Type your choice: n

Done creating tables.

Horde Groupware Webmail Edition Configuration Menu
(0) Exit
(1) Configure database settings
(2) Create database or tables
(3) Configure administrator settings
(4) Update PEAR for a new or changed location
(5) Update from an older Horde Groupware Webmail Edition version

Type your choice: 3

Specify an existing mail user who you want to give administrator permissions (optional): hans

Writing main configuration file
Done configuring administrator settings.

Horde Groupware Webmail Edition Configuration Menu
(0) Exit
(1) Configure database settings
(2) Create database or tables
(3) Configure administrator settings
(4) Update PEAR for a new or changed location
(5) Update from an older Horde Groupware Webmail Edition version

Type your choice: 0

Thank you for using Horde Groupware Webmail Edition!

[root@localhost horde]#

7.berikutnya test horde dg mengetikkan di url browse http://your-server-FQDN/horde/test.php
jika ada yg mendapatkan masalah, perbaikilah :)..hasilnya minimal seperti di bawah ini:
—————————————–
Horde Version

* Horde: 3.3.8

Horde Applications

* Dimp: H3 (1.1.4)
* Horde: 3.3.8
* Imp: H3 (4.3.7) (run Imp tests)
* Ingo: H3 (1.2.4) (run Ingo tests)
* Kronolith: H3 (2.3.4) (run Kronolith tests)
* Mimp: H3 (1.1.3)
* Mnemo: H3 (2.2.3)
* Nag: H3 (2.3.5)
* Turba: H3 (2.3.4) (run Turba tests)

PHP Version

* View phpinfo() screen
* View loaded extensions
* PHP Version: 5.1.6
* PHP Major Version: 5.1
* PHP Minor Version: 6
* PHP Version Classification: release
* You are running a supported version of PHP.

PHP Module Capabilities

* Ctype Support: Yes
* DOM XML Support: Yes
* FTP Support: Yes
* GD Support: Yes
* Gettext Support: Yes
* GeoIP Support (via PECL extension): No
Horde can optionally use the GeoIP extension to provide faster country name lookups.
* Iconv Support: Yes
* GNU Iconv Support: Yes
* IMAP Support: Yes
* Imagick Library: No
Horde can make use of the Imagick Library, if it is installed on your system. It is highly recommended to use either ImageMagick’s convert utility or the Imagick php library for faster results.
* JSON Support: No
Horde can optionally use the JSON extension to provide faster Javascript generation for rich GUI applications.
* LDAP Support: Yes
* LZF Compression Support: No
If the lzf PECL module is available, Horde can compress some cached data in your session to make your session size smaller.
* Mbstring Support: Yes
* PCRE Support: Yes
* PCRE UTF-8 Support: Yes
* Mcrypt Support: Yes
* memcached Support (memcache): Yes
* MIME Magic Support (fileinfo): Yes
* MIME Magic Support (mime_magic): Yes
* MySQL Support: Yes
* OpenSSL Support: Yes
* PostgreSQL Support: No
The PostgreSQL extension is only required if you want to use a PostgreSQL database server for data storage.
* Session Support: Yes
* XML Support: Yes
* Zlib Support: Yes

Miscellaneous PHP Settings

* magic_quotes_runtime disabled: Yes
* memory_limit value: 128M
If PHP’s internal memory limit is not set high enough Horde will not be able to handle large data items (e.g. large mail attachments in IMP). You should set the value of memory_limit in php.ini to a sufficiently high value – at least 64M is recommended.
* safe_mode disabled: Yes
* session.use_trans_sid disabled: Yes
* session.auto_start disabled: Yes
* zlib.output_compression disabled: Yes
* zend_accelerator.compress_all disabled: Yes

File Uploads

* file_uploads enabled: Yes
* upload_max_filesize: 64M
* post_max_size: 128M
This value should be several times the expect largest upload size (notwithstanding any upload limits present in an application). Any upload that exceeds this size will cause any state information sent along with the uploaded data to be lost. This is a PHP limitation and can not be worked around.

Required Horde Configuration Files

* config/conf.php: Yes
* config/mime_drivers.php: Yes
* config/nls.php: Yes
* config/prefs.php: Yes
* config/registry.php: Yes

PHP Sessions

* Session counter: 1
* To unregister the session: click here

PEAR

* PEAR Search Path (PHP’s include_path): /var/www/html/horde/lib:/var/www/html/horde/lib/../pear/php
* PEAR: Yes
* Recent PEAR: Yes
* Mail: Yes
* Mail_Mime: Yes
* Mail_mimeDecode: Yes
* Log: Yes
* DB: Yes
* MDB2: Yes
* Net_Socket: Yes
* Date: Yes
* Auth_SASL: Yes
* HTTP_Request: Yes
* HTTP_WebDAV_Server: Yes
* Net_SMTP: Yes
* Services_Weather: Yes
* Cache: Yes
* XML_Serializer: Yes
* Net_DNS: Yes

8.selesai mengkonfigurasi, akses lagi dg url http://your-server-FQDN/horde/ , login-lah dg user yg telah diberi akses sebagai administrator tadi, jika tidak bisa login, aktifkan cyrus-imapd dan saslauthd dg perintah:
# chkconfig cyrus-imapd –level 3 on
# chkconfig saslauthd –level 3 on
# /etc/init.d/cyrus-imapd start
# /etc/init.d/saslauthd start
setelah itu akses lagi dan lakukanlah penyetingan horde dg mengakses Administration => Setup => Horde

 
Tinggalkan komentar

Ditulis oleh pada 29 Mei 2011 in CentOS

 

Tag:

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: