Home > World Of ICT > How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu 10.04 64 server

How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu 10.04 64 server


Hari ini berkesempatan untuk menuliskan petunjuk instalasi paket Zimbra Collaboration Suite pada sistem operasi Ubuntu, berdasarkan referensi pada official site simbra di http://www.zimbra.com  tidak semua sistem operasi disupport oleh Paket Zimbra ini, silahkan check disini untuk compatibility zimbra dengan sistem operasi, http://www.zimbra.com/downloads/os-downloads.html  Disini dijelaskan bahwa OS berikut dibawah yg support

  • Red Hat Enterprise Linux 5     64bit x86 (MD5)|32bit x86 (MD5) DEPRECATED
    Red Hat Enterprise Linux 4     64bit x86 (MD5) DEPRECATED|32bit x86 (MD5) DEPRECATED
    Ubuntu 10.04 LTS         64bit x86 (MD5)
    Ubuntu 8.04 LTS         64bit x86 (MD5)|32bit x86 (MD5) DEPRECATED
    SUSE Linux Enterprise Server 11     64bit x86 (MD5)
    SUSE Linux Enterprise Server 10     64bit x86 (MD5)|32bit x86 (MD5) DEPRECATED
    Debian 5             64bit x86 (MD5) DEPRECATED|32bit x86 (MD5) DEPRECATED
    Fedora 11             64bit x86 (MD5) DEPRECATED|32bit x86 (MD5) DEPRECATED

Sayang sekali tidak ada paket untuk FreeBSD fiuuhhh, ok than karena saya suka dengan Ubuntu maka saya siapkan satu buah mesin untuk diinstall sistem operasi Ubuntu 10.04 64 bit (Ingat yah bukan 32 bit tapi 64 bit, resiko utk 32 bit zimbra tidak akan kompatible).

Silahkan install ubuntu 10.04 64 Bit, kemudian jangan install paket software apapun dari CD , cukup install openssh agar setelah instalasi selesai kita bisa langsung remote itu server.

Prasyarat mutlak disini sebelum kita memasang ZCS, adalah IP address server sudah teregister dengan benar pada Domain Name Server anda,  pastikan query nslookup sudah bisa terbaca dari network anda. contoh sbb

zimbra@zimbra:~$ nslookup
 > set type=any
 > server
 Default server: 192.168.1.3
 Address: 192.168.1.3#53
 > zimbra.unila.ac.id
 Server:        192.168.1.3
 Address:    192.168.1.3#53
Name:    zimbra.unila.ac.id
 Address: 192.168.1.25
 zimbra.unila.ac.id    mail exchanger = 400 zimbra.unila.ac.id.
 zimbra.unila.ac.id    mail exchanger = 500 ns1.unila.ac.id.
 >

Jika perintah nslookup sudah sepenuhnya bisa terbaca lanjut kelangkah selanjutnya, jika masih belum berhasil silahkan pelajari bagaimana menambahkan hostname pada domain nameserver.  Jangan lupa edit /etc/hosts pada server dengan penampakan sebagai berikut;

zimbra@zimbra:~$ cat /etc/hosts
 127.0.0.1    localhost
 192.168.1.25    zimbra.unila.ac.id    zimbra
# The following lines are desirable for IPv6 capable hosts
 ::1     localhost ip6-localhost ip6-loopback
 fe00::0 ip6-localnet
 ff00::0 ip6-mcastprefix
 ff02::1 ip6-allnodes
 ff02::2 ip6-allrouters
 zimbra@zimbra:~$

Lanjut ketahapan selajutnya adalah instalasi paket yang dibutuhkan oleh si ZCS ini;

sebelumnya arahkan apt-source list server ke Mirror terdekat disini saya memilik FOSS web iD karena menggunakan jalur IIX, alternatif lain bisa merubah source list ke server kambing.ui.ac.id, menjadi seperti ini;

zimbra@zimbra:~$ cat /etc/apt/sources.list
 deb http://dl2.foss-id.web.id/ubuntu/ lucid-backports main restricted universe multiverse
 deb http://dl2.foss-id.web.id/ubuntu/ lucid-proposed main restricted universe multiverse
 deb http://dl2.foss-id.web.id/ubuntu/ lucid-security main restricted universe multiverse
 deb http://dl2.foss-id.web.id/ubuntu/ lucid-updates main restricted universe multiverse
 deb http://dl2.foss-id.web.id/ubuntu/ lucid main restricted universe multiverse
 zimbra@zimbra:~$
 zimbra@zimbra:~$ apt-get update
 zimbra@zimbra:~$ apt-get upgrade

kemudian install paket software berikut

root@zimbra:~$apt-get install curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libtie-ixhash-perl  sqlite3 sysstat perl-5.10.1

Tunggu beberapa saat hingga selesai, kemudian download source ZCS di Official site zimbra, disini saya menggunakan versi 7.1 untuk ubuntu 10.04 diunduh pada alamat berikut ; http://files2.zimbra.com/downloads/7.1.1_GA/zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124.tgz

zimbra@zimbra:~$ cd /usr/src 
root@zimbra:#wget http://files2.zimbra.com/downloads/7.1.1_GA/zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124.tgz
root@zimbra:# tar -zxvf zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124.tgz
root@zimbra:/home/zimbra-adm/zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124# ls
 bin  data  docs  install.sh  packages  readme_binary_en_US.txt  readme_source_en_US.txt  README.txt  util

langkah berikutnya adalah mengeksekusi file install.sh yg sudah ada pada direktori ZCS tadi,

Pilih Yes untuk semua Opsi yg diminta, dengan tampilan prompt dari sistem adalah sebagai berikut;

root@zimbra:/home/zimbra-adm/zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124# ./install.sh
   Operations logged to /tmp/install.log.8693
   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-convertd...NOT FOUND
     zimbra-memcached...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
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...
      FOUND: NPTL
      FOUND: sudo-1.7.2p1-1ubuntu5.3
      FOUND: libidn11-1.15-2
      FOUND: libpcre3-7.8-3build1
      FOUND: libgmp3c2-2:4.3.2+dfsg-1ubuntu1
      FOUND: libexpat1-2.0.1-7ubuntu1
      FOUND: libstdc++6-4.4.3-4ubuntu5
      FOUND: libperl5.10-5.10.1-8ubuntu2
 Checking for suggested prerequisites...
      FOUND: perl-5.10.1
      FOUND: sysstat
      FOUND: sqlite3
 Prerequisite check complete.
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-memcached
 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
Install zimbra-memcached [N] y
Install zimbra-proxy [N] 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
     zimbra-memcached
     zimbra-proxy
The system will be modified.  Continue? [N] y
Removing /opt/zimbra
 Removing zimbra crontab entry...done.
 Cleaning up zimbra init scripts...done.
 Cleaning up /etc/ld.so.conf...done.
 Cleaning up /etc/security/limits.conf...done.
Finished removing Zimbra Collaboration Suite.
Installing packages
    zimbra-core......zimbra-core_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-ldap......zimbra-ldap_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-logger......zimbra-logger_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-mta......zimbra-mta_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-snmp......zimbra-snmp_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-store......zimbra-store_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-apache......zimbra-apache_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-spell......zimbra-spell_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...
     zimbra-spell......zimbra-spell_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-memcached......zimbra-memcached_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
     zimbra-proxy......zimbra-proxy_7.1.1_GA_3196.UBUNTU10_64_amd64.deb...done
 Operations logged to /tmp/zmsetup.07142011-070427.log
 Installing LDAP configuration database...done.
 Setting defaults...    MX: ns1.unila.ac.id (192.168.1.8)
     MX: zimbra.unila.ac.id (192.168.1.25)
    Interface: 192.168.1.25
     Interface: 127.0.0.1
         192.168.1.8
         192.168.1.8
         192.168.1.25
 done.
 Checking for port conflicts
 Store configuration
   1) Status:                                  Enabled                       
    2) Create Admin User:                       yes                           
    3) Admin user to create:                    admin@zimbra.unila.ac.id      
 ** 4) Admin Password                           UNSET                         
    5) Anti-virus quarantine user:              virus-quarantine.ue7suqsmyu@zimbra.unila.ac.id
    6) Enable automated spam training:          yes                           
    7) Spam training user:                      spam.02bvomie8@zimbra.unila.ac.id
    8) Non-spam(Ham) training user:             ham.6gjphyenk@zimbra.unila.ac.id
    9) SMTP host:                               zimbra.unila.ac.id            
   10) Web server HTTP port:                    80                            
   11) Web server HTTPS port:                   443                           
   12) Web server mode:                         http                          
   13) IMAP server port:                        7143                          
   14) IMAP server SSL port:                    7993                          
   15) POP server port:                         7110                          
   16) POP server SSL port:                     7995                          
   17) Use spell check server:                  yes                           
   18) Spell server URL:                        http://zimbra.unila.ac.id:7780/aspell.php
   19) Enable version update checks:            TRUE                          
   20) Enable version update notifications:     TRUE                          
   21) Version update notification email:       admin@zimbra.unila.ac.id      
   22) Version update source email:             admin@zimbra.unila.ac.id      
Select, or 'r' for previous menu [r] 4
Password for admin@zimbra.unila.ac.id (min 6 characters): [UsH7YE0NNG] 11111
Store configuration
   1) Status:                                  Enabled                       
    2) Create Admin User:                       yes                           
    3) Admin user to create:                    admin@zimbra.unila.ac.id      
    4) Admin Password                           set                           
    5) Anti-virus quarantine user:              virus-quarantine.ue7suqsmyu@zimbra.unila.ac.id
    6) Enable automated spam training:          yes                           
    7) Spam training user:                      spam.02bvomie8@zimbra.unila.ac.id
    8) Non-spam(Ham) training user:             ham.6gjphyenk@zimbra.unila.ac.id
    9) SMTP host:                               zimbra.unila.ac.id            
   10) Web server HTTP port:                    80                            
   11) Web server HTTPS port:                   443                           
   12) Web server mode:                         http                          
   13) IMAP server port:                        7143                          
   14) IMAP server SSL port:                    7993                          
   15) POP server port:                         7110                          
   16) POP server SSL port:                     7995                          
   17) Use spell check server:                  yes                           
   18) Spell server URL:                        http://zimbra.unila.ac.id:7780/aspell.php
   19) Enable version update checks:            TRUE                          
   20) Enable version update notifications:     TRUE                          
   21) Version update notification email:       admin@zimbra.unila.ac.id      
   22) Version update source email:             admin@zimbra.unila.ac.id      
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                       
    8) zimbra-proxy:                            Enabled                       
    9) 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] 
 Save config in file: [/opt/zimbra/config.15617] 
 Saving config in /opt/zimbra/config.15617...done.
 The system will be modified - continue? [No] yes
 Operations logged to /tmp/zmsetup.07142011-070427.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.
 Setting nginx password...done.
 Creating server entry for zimbra.unila.ac.id...done.
 Saving CA in ldap ...
 Saving SSL Certificate in ldap ...done.
 Setting spell check URL...done.
 Setting service ports on zimbra.unila.ac.id...done.
 Adding zimbra.unila.ac.id to zimbraMailHostPool in default COS...done.
 Installing webclient skins...
     pebble...done.
     lake...done.
     lavender...done.
     bones...done.
     sky...done.
     tree...done.
     lemongrass...done.
     hotrod...done.
     bare...done.
     carbon...done.
     beach...done.
     oasis...done.
     waves...done.
     sand...done.
     smoke...done.
     twilight...done.
     steel...done.
 Finished installing webclient skins.
 Setting zimbraFeatureTasksEnabled=TRUE...done.
 Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
 Setting MTA auth host...done.
 Setting TimeZone Preference...done.
 Initializing mta config...done.
 Setting services on zimbra.unila.ac.id...done.
 Creating domain zimbra.unila.ac.id...done.
 Setting default domain name...done.
 Creating domain zimbra.unila.ac.id...already exists.
 Creating admin account admin@zimbra.unila.ac.id...
 Creating root alias...done.
 Creating postmaster alias...done.
 Creating user spam.02bvomie8@zimbra.unila.ac.id...done.
 Creating user ham.6gjphyenk@zimbra.unila.ac.id...done.
 Creating user virus-quarantine.ue7suqsmyu@zimbra.unila.ac.id...done.
 Setting spam training and Anti-virus quarantine accounts...done.
 Initializing store sql database...
 Setting zimbraSmtpHostname for zimbra.unila.ac.id...done.
 Configuring SNMP...done.
 Checking for default IM conference room...not present.
 Initializing default IM conference room...done.
 Setting up syslog.conf...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.1_GA_3196_UBUNTU10_64)
     The ADMIN EMAIL ADDRESS created (admin@zimbra.unila.ac.id)
Notify Zimbra of your installation? [Yes] Yes
 Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=7.1.1_GA_3196_UBUNTU10_64&MAIL=admin@zimbra.unila.ac.id
 Notification complete
 Starting servers...
 Starting servers...done.
 Installing common zimlets...
     com_zimbra_dnd...done.
     com_zimbra_adminversioncheck...done.
     com_zimbra_linkedin...done.
     com_zimbra_cert_manager...done.
     com_zimbra_srchhighlighter...done.
     com_zimbra_social...done.
     com_zimbra_email...done.
     com_zimbra_bulkprovision...done.
     com_zimbra_phone...done.
     com_zimbra_date...done.
     com_zimbra_attachmail...
     com_zimbra_webex...done.
     com_zimbra_attachcontacts...done.
     com_zimbra_url...done.
 Finished installing common zimlets.
 Restarting mailboxd...done.
 Setting up zimbra crontab...done.
 Moving /tmp/zmsetup.07142011-070427.log to /opt/zimbra/log
 Configuration complete - press return to exit
Kemudian masuk ke mode user zimbra dgn langkah sbb;
root@zimbra:/home/zimbra-adm/zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124# su - zimbra
 zimbra@zimbra:~$ zmcontrol status
 Host zimbra.unila.ac.id
     antispam                Running
     antivirus               Running
     imapproxy               Running
     ldap                    Running
     logger                  Running
     mailbox                 Running
     memcached               Running
     mta                     Running
     snmp                    Running
     spell                   Running
     stats                   Running
     zmconfigd               Running
 zimbra@zimbra:~$
zimbra@zimbra:~$ zmcontrol start
 Host zimbra.unila.ac.id
     Starting zmconfigd...Done.
     Starting logger...Done.
     Starting mailbox...Done.
     Starting memcached...Done.
     Starting imapproxy...Done.
     Starting antispam...Done.
     Starting antivirus...Done.
     Starting snmp...Done.
     Starting spell...Done.
     Starting mta...Done.
     Starting stats...Done.
 zimbra@zimbra:~$

Terakhir buka alamat https://zimbra.unila.ac.id:7071/zimbraAdmin/  dan masukkan username admin dan password yg sudah anda buat tadi,

untuk tampilan admin adalah sebagai berikut ;

untuk tampilan client bisa akses dialamat https://zimbra.unila.ac.id  look like this

Kerennya lagi adalah bisa gabung social networking tanpa kita perlu keluar dari aplikasi webmail, mantap kan.. ????

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: