Install Zimbra (ZCS) Mailserver di Centos 6.0

Zimbra Collaboration Suite (ZCS) adalah sebuah produk groupware produk Zimbra, Inc, yang terletak di San Mateo, California, Amerika Serikat. Perusahaan ini dibeli oleh Yahoo! pada September 2007. Perangkat lunak ini terdiri dari komponen client dan server.

Zimbra tersedia dalam dua versi: versi sumber terbuka, dan versi yang didukung secara komersial ( “Zimbra Network”) dengan komponen sumber komersil. Versi perangkat lunak ini tersedia dari Zimbra untuk diunduh dan digunakan dengan bebas, serta dari mitra resmi Zimbra. Zimbra Server terdiri dari gabungan berbagai software Open Source, yaitu : Postfix, MySQL, OpenLDAP, Anti Virus Clamav dan Anti Spam SpamAssassin. (wiki)


Tahapan instalasi Zimbra :

1. Setting DNS dulu, dan dastikan server terkoneksi dengan internet, kemudian install paket-paket dibawah ini :

yum install compat-libstdc++-296 compat-libstdc++-33 gmp libtool-ltdl

2. Stop service yang tidak diperlukan :

service postfix stop
service sendmail stop
chkconfig postfix off
chkconfig sendmail off

3. Disable firewall menggunakan iptables :

iptables -F
iptables -F -t nat
/etc/init.d/ip6tables stop
chkconfig ip6tables off

4. Disable config selinux, yang bisa menyebabkan error pada Mail Queues (settingan ini untuk Centos versi 6.0)

setenforce 0
mcedit /etc/selinux/config
#SELINUX=enforcing
SELINUX=disabled

5. Download source yang sesuai dengan versi linux anda, disini saya menggunakan Centos 6.0 64bit, download source ZCS di http://www.zimbra.com/downloads/os-downloads.html.

wget http://files.zimbra.com/downloads/7.1.3_GA/zcs-7.1.3_GA_3346.RHEL6_64.20110928134428.tgz

6. Extract hasil download

tar zxvf zcs-7.1.3_GA_3346.RHEL6_64.20110928134428.gz

7. Installing ZCS Mailserver

cd zcs-7.1.3_GA_3346.RHEL6_64.20110928134428

./install.sh –platform-override

Operations logged to /tmp/install.log.5947
Checking for existing installation…
zimbra-ldap…NOT FOUND
zimbra-logger…NOT FOUND
zimbra-mta…NOT FOUND
zimbra-snmp…NOT FOUND
zimbra-store…NOT FOUND
zimbra-apache…NOT FOUND
zimbra-spell…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-cluster…NOT FOUND
zimbra-core…NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE
SOFTWARE.
ZIMBRA, INC. (”ZIMBRA”) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF
YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR
INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE
BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html
Press Return to continue
Checking for prerequisites…
NPTL…FOUND
sudo…FOUND sudo-1.6.8p12-18.2
libidn…FOUND libidn-0.6.0-14.2
fetchmail…FOUND fetchmail-6.3.2-15.2
gmp…FOUND gmp-4.1.4-20.2
/usr/lib/libstdc++.so.5…FOUND
Prerequisite check complete.
Checking for standard system perl…
Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-proxy
Select the packages to install
Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Checking required space for zimbra-core
checking space for zimbra-store
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
The system will be modified. Continue? [N] y
Removing /opt/zimbra
Installing packages
zimbra-core-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-ldap-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-logger-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-mta-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-snmp-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-store-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-apache-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
zimbra-spell-7.1.3_GA_3346.RHEL6_64-20110928134428.x86_64.rpm
Operations logged to /tmp/zmsetup.01001900-0000139145328.log
Setting defaults…
DNS ERROR resolving MX for mail.latihan.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Y
Create Domain: [mail.latihan.com] latihan.com
MX: mail.latihan.com (192.168.1.254)
Interface: 192.168.1.254
Interface: 127.0.0.1
done.
Checking for port conflicts
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@latihan.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.e9mzclewg@latihan.com
+Non-spam(Ham) training user: ham.ptcjdvma@latihan.com
+Global Documents Account: wiki@latihan.com
+SMTP host: mail.latihan.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://mail.latihan.com:7780/aspell.php
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? – help) 3
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@latihan.com
** 4) Admin Password UNSET
5) Enable automated spam training: yes
6) Spam training user: spam.e9mzclewg@latihan.com
7) Non-spam(Ham) training user ham.ptcjdvma@latihan.com
Global Documents Account: wiki@latihan.com
9) SMTP host: mail.latihan.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://mail.latihan.com:7780/aspell.php
Select, or ‘r’ for previous menu [r] 4
Password for admin@latihan.com (min 6 characters): [Ouun6wjq1] 123456
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@latihan.com
4) Admin Password set
5) Enable automated spam training: yes
6) Spam training user: spam.e9mzclewg@latihan.com
7) Non-spam(Ham) training user: ham.ptcjdvma@latihan.com
Global Documents Account: wiki@latihan.com
9) SMTP host: mail.latihan.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://mail.latihan.com:7780/aspell.php
Select, or ‘r’ for previous menu [r] r
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE – press ‘a’ to apply
Select from menu, or press ‘a’ to apply config (? – help) a
Save configuration data to a file? [Yes] Y
Save config in file: [/opt/zimbra/config.9294]Saving config in /opt/zimbra/config.9294…done.
The system will be modified – continue? [No] Y
Operations logged to /tmp/zmsetup.01001900-0000139145328.log
Setting local config values…done.
Setting up CA…done.
Deploying CA to /opt/zimbra/conf/ca …done.
Creating SSL certificate…done.
Installing mailboxd SSL certificates…done.
Initializing ldap…done.
Setting replication password…done.
Setting Postfix password…done.
Setting amavis password…done.
Saving CA in ldap …done.
Creating server entry for mail.latihan.com…done.
Saving SSL Certificate in ldap …done.
Setting spell check URL…done.
Setting service ports on mail.latihan.com…done.
Adding mail.latihan.com to zimbraMailHostPool in default COS…done.
Installing skins…
bare
beach
bones
hotrod
lavender
lemongrass
sand
sky
steel
waves
yahoo
done.
Setting zimbraFeatureIMEnabled=FALSE…done.
Setting zimbraFeatureTasksEnabled=TRUE…done.
Setting zimbraFeatureBriefcasesEnabled=TRUE…done.
Setting zimbraFeatureNotebookEnabled=TRUE…done.
Setting MTA auth host…done.
Setting TimeZone Preference…done.
Creating domain latihan.com…done.
Creating user admin@latihan.com…done.
Creating postmaster alias…done.
Creating user wiki@latihan.com…done.
Creating user spam.e9mzclewg@latihan.com…done.
Creating user ham.ptcjdvma@latihan.com…done.
Setting spam training accounts…done.
Initializing store sql database…done.
Setting zimbraSmtpHostname for mail.latihan.com…done.
Initializing logger sql database…done.
Initializing mta config…done.
Configuring SNMP…done.
Setting services on mail.latihan.com…done.
Setting up zimbra crontab…done.
Setting up syslog.conf…Starting config, the Configuration Tool…
Running module syslog-ng only
Reading /etc/sysconfig and updating the system…
Executing /sbin/conf.d/config.syslog-ng…
ATTENTION: You have modified //etc/syslog-ng/syslog-ng.conf. Leaving it
untouched…
You can find my version in //etc/syslog-ng/syslog-ng.conf.config…
Finished.
done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (7.1.3_GA_3346.RHEL6_64)
The ADMIN EMAIL ADDRESS created (admin@latihan.com)
Notify Zimbra of your installation? [Yes] N
Notification skipped
Starting servers…done.
Checking for deprecated zimlets…done.
Installing zimlets…
com_zimbra_cert_manager
com_zimbra_date
com_zimbra_email
com_zimbra_local
com_zimbra_phone
com_zimbra_url
done.
Initializing Documents…done.
Restarting mailboxd…done.
Moving /tmp/zmsetup.01001900-0000139145328.log to /opt/zimbra/log
Configuration complete – press return to exit

14. Buka web browser, masukan alamat address email, http://mail.latihan.com

15. Administrasi Zimbra, harus login menggunakan https di alamat https:/mail.latihan.com:7071/zimbraAdmin

Selesai ..

About Agus Firdaus

Just me ..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: