Install Zimbra Mail Server di Server Centos 6.5


Persiapan : 
Server Centos yang telah di install

Domain : statusfan.com
Hostname : mail
IP Address : 103.253.107.137

Konfigurasi Sebelum Install
Login ke Server via ssh dan setting terlebih dahulu

1. Setting Network
[root@mail ~]# nano /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=103.253.107.137
NETMASK=255.255.255.0
GATEWAY=103.253.107.1
DNS1=8.8.8.8
DNS2=8.8.4.4
USERCTL=no
ARPCHECK=no

Lalu Restart Network Service
[root@mail ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]

[root@mail ~]# chkconfig network on

2. Disable SELinux dan Firewall (jika ada)
[root@mail ~]# nano /etc/sysconfig/selinux
Ganti baris SELINUX=enforcing menjadi SELINUX=disabled

[root@mail ~]# setenforce 0
[root@mail ~]# service iptables stop
[root@mail ~]# service ip6tables stop
[root@mail ~]# chkconfig iptables off
[root@mail ~]# chkconfig ip6tables off

3. Konfigurasi /etc/hosts, /etc/resolv.conf dan hostname
 nano /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
103.253.107.137 mail.statusfan.com mail

[root@mail ~]# nano /etc/resolv.conf
search statusfan.com
nameserver 8.8.8.8
nameserver 8.8.4.4

[root@mail ~]# nano /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mail.statusfan.com

4. Disable Service Sendmail atau Postfix
[root@mail ~]# service sendmail stop
[root@mail ~]# service postfix stop
[root@mail ~]# chkconfig sendmail off
[root@mail ~]# chkconfig postfix off

5. Update Repository Centos 
[root@mail ~]# yum update -y

6. Install Dependensi yang dibutuhkan oleh Zimbra server
[root@mail ~]# yum -y install system-config-network-tui libtool-ltdl system-config-firewall-tui nc sudo sysstat ntp libaio perl bind bind-utils

7. Konfigurasi DNS Server

[root@mail ~]# nano /etc/named.conf

Cari baris:
listen-on port 53 { 127.0.0.1; };
Ganti menjadi:
listen-on port 53 { 127.0.0.1; any; };

Cari baris:
allow-query { localhost; };

Ganti menjadi:
allow-query { localhost; any; };

Buat zone baru dan tempatkan dibagian paling bawah file /etc/named.conf:

zone “statusfan.com” IN {
type master;
file “/var/named/statusfan.com”;
allow-update { none; };
};

Simpan perubahan.

[root@mail ~]# cd /var/named/
[root@mail named]# nano statusfan.com
[root@mail named]# touch /var/named/statusfan.com
[root@mail named]# chgrp named /var/named/statusfan.com
[root@mail named]# nano /var/named/statusfan.com

Isi dengan kongurasi sebagai berikut:

$TTL 1D
@ IN SOA ns1.statusfan.com. (
2015111010 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS ns1.statusfan.com.
@ IN MX 0 mail.e-padi.com.
ns1 IN A 103.253.107.137
mail IN A 103.253.107.137
statusfan.com IN A 103.253.107.137

10. Restart service named / bind dan check konfigurasi DNS Server
disesuaikan

[root@mail named]# service named restart
Stopping named: . [ OK ]
Starting named: [ OK ]

8. Pastikan sudah mail sudah mengarah dengan benar ke server
[root@mail named]# nslookup mail.statusfan.com

9. Terakhir Download Zimbra dan Install Zimbra : 

[root@mail named]# cd /opt/
[root@mail opt]# wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
[root@mail opt]# tar -zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
[root@mail opt]# cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155

masuk ke folder & install
[root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]# sh install.sh

Bisa cek ke Situs ZImbra nya, untuk zimbra terbaru dan link downloadnya

Select the packages to install

Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-dnscache [Y] N (jangan di pilih karena untuk DNS Server akan menggunakan Bind)
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Install zimbra-memcached [Y] Y
Install zimbra-proxy [Y] Y
Checking required space for zimbra-core
Checking space for zimbra-store

Change domain name? [Yes] Yes
Create domain: [mail.statusfan.com] statusfan.com

Setelah selesai
Set Password Admin

10. Login ke Zimbra Mail Server
Login Admin Zimbra : 
https://mail.statusfan.com:2083/zimbraAdmin/
user : admin
pass : yang sudah disetting

Login Client : 
https://103.253.107.137/

Login ke ZImbra via SSH Server
[root@mail ~]# su - zimbra
[zimbra@mail ~]$ zmcontrol start


Sekian, semoga bermanfaat,
Sumber Refrensi dari Googling dan Pengalaman Install sendiri.
Untuk Tutorial Managed Server zimbra akan segera di publish, budayakan komentar :)




0 Komentar:

Posting Komentar