Rabu, 25 Maret 2015

Instalasi Mail Server Zimbra 7

Instalasi Mail Server Zimbra 7 dengan Linux CentOS 5

Dalam tutorial jurnalinux kali ini, saya akan mencoba membangun Mail server dengan Zimbra. Ini adalah pengembangan dari Tutorial sebelumnya mengenai cara untuk membangun DNS Server

Berikut deskripsi Server lab yang akan digunakan :
1. Server Linux CentOS 5.6 32bit (majapahit.com), IP 192.168.0.101
2. Paket Zimbra 7 (zcs-7.2.5_GA_2906.RHEL5.20130911101145.tgz)

Untuk paket zimbra, bisa di download di situs resmi nya : http://www.zimbra.com/downloads/ Pada tutorial sebelumnya, saya telah membuat DNS Server, dan tentunya itu adalah bagian yang sangat penting sebelum menggunakan zimbra. Dan kita telah setengah jalan dalam membangun mail server zimbra. Selanjutnya, disini saya akan langsung saja menginstall paket zimbra.

Sebagai asumsi, kita telah mengunduh paket zimbra, lalu kita simpan di folder /root.

[root@MAJAPAHIT ~]# ls
anaconda-ks.cfg          openssh-6.1.tar.gz
install.log              rsyslog5-5.8.12-4.el5.i386.rpm
install.log.syslog       rsyslog5-gnutls-5.8.12-4.el5.i386.rpm
jdk-6u12-linux-i586.rpm  ssh
openssh                  zcs-7.2.5_GA_2906.RHEL5.20130911101145.tgz



 [root@MAJAPAHIT ~]# chmod +x zcs-7.2.5_GA_2906.RHEL5.20130911101145.tgz


Extract Paket Installer

[root@MAJAPAHIT ~]# tar xzvf zcs-7.2.5_GA_2906.RHEL5.20130911101145.tgz


Setelah di extract, akan muncul folder baru seperti dibawah.

[root@MAJAPAHIT ~]# ls
anaconda-ks.cfg          rsyslog5-5.8.12-4.el5.i386.rpm
install.log              rsyslog5-gnutls-5.8.12-4.el5.i386.rpm
install.log.syslog       ssh
jdk-6u12-linux-i586.rpm  zcs-7.2.5_GA_2906.RHEL5.20130911101145
openssh                  zcs-7.2.5_GA_2906.RHEL5.20130911101145.tgz
openssh-6.1.tar.gz


Masuk ke direktori zcs-7.2.5_GA_2906.RHEL5.20130911101145

[root@MAJAPAHIT ~]# cd zcs-7.2.5_GA_2906.RHEL5.20130911101145


Laukan instalasi paket dengan perintah dibawah :

[root@MAJAPAHIT zcs-7.2.5_GA_2906.RHEL5.20130911101145]# ./install.sh --platform-override


Tekan pilihan "y" untuk menyetujui instalasi, dan apabila ada error seperti ini:

ERROR: Installation can not proceeed.  Please fix your /etc/hosts file
  to contain:

  127.0.0.1 localhost.localdomain localhost


Kita ubah dulu file /etc/hosts yang tadinya seperti ini:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       MAJAPAHIT localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6


Kita ubah menjadi seperti dibawah:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.0.101   www.majapahit.com       MAJAPAHIT

 
Lalu kita coba install kembali :

[root@MAJAPAHIT zcs-7.2.5_GA_2906.RHEL5.20130911101145]# ./install.sh --platform-override


Akan muncul pertanyaan dibawah:

Do you agree with the terms of the software license agreement? [N] y

Checking for prerequisites...
     FOUND: NPTL
     FOUND: nc-1.84-10
     FOUND: sudo-1.7.2p1-10
     FOUND: libidn-0.6.5-1.1
     FOUND: gmp-4.1.4-10
     FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
     FOUND: perl-5.8.8
     MISSING: sysstat does not appear to be installed.
     FOUND: sqlite

###WARNING###

The suggested version of one or more packages is not installed.
This could cause problems with the operation of Zimbra.

Do you wish to continue? [N] y
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] 
Install zimbra-logger [Y] 
Install zimbra-mta [Y] 
Install zimbra-snmp [Y] 
Install zimbra-store [Y] 
Install zimbra-apache [Y] 
Install zimbra-spell [Y] 
Install zimbra-memcached [N]
Install zimbra-proxy [N]
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

You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is CentOS5
Packages found: RHEL5
This may or may not work.

Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.


Install anyway? [N]Y 
The system will be modified.  Continue? [N]Y 


Tekan tombol y pada pertanyaan diatas, lalu tunggu proses instalasi sampai selesai. Setelah instalasi selesai, akan muncul tampilan seperti dibawah :

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@www.majapahit.com
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.b5jtjap69@www.majapahit.com
        +Enable automated spam training:       yes
        +Spam training user:                   spam.iyxewr67@www.majapahit.com
        +Non-spam(Ham) training user:          ham.hmbw_lgi@www.majapahit.com
        +SMTP host:                            www.majapahit.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://www.majapahit.com:7780/aspell.php
        +Configure for use with mail proxy:    FALSE
        +Configure for use with web proxy:     FALSE
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@www.majapahit.com
        +Version update source email:          admin@www.majapahit.com

   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) 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)


Pilih Menu Nomor 3, , lalu tekan nomor 4 untuk set password admin. Kita masukan password yang akan kita gunakan: 

Password for admin@www.majapahit.com (min 6 characters): [X47Qa2JPCc] jurnalinux

Selanjutnya, tekan tombol "r" untuk kembali ke menu utama.



*** 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.10627] y
Saving config in y...done.
The system will be modified - continue? [No] y



Tekan tombol a (untuk menerapkan konfigurasi), lalu ikuti seperti urutan diatas. Selanjutnya kita tunggu sampai proses selesai.

Sampai tahap ini proses instalasi zimbra telah selesai. Untuk mengaksesnya, kita gunakan browser dengan mengetikkan url:https://mail.majapahit.com:7071

Akses Zimbra :
(Akses via Browser)

Masukkan user: admin, Password : jurnalinux (yang kita sudah set sebelumnya)

Tampilan Halaman Admin di zimbra mail server
Tahap instalasi mail server zimbra telah selesai. Selanjutnya, untuk konfigurasi dan manajemen email zimbra akan saya posting pada tutorial yang akan datang.

Tidak ada komentar:

Posting Komentar