Zimbra on CentOS

Zimbra on CentOS

Configure you Hosts file for Zimbra
nano /etc/hosts
10.0.0.70 yourserver.net yourserver
nano /etc/resolv.conf
search yourserver.net
nameserver 127.0.0.1

Turn off IPtables and SElinux

setenforce 0
service iptables stop
service ip6tables stop
chkconfig iptables off
chkconfig ip6tables off
service postfix stop
chkconfig postfix off

Install Dependencies

yum -y install perl perl-core wget screen w3m elinks bind-utils unzip nmap sed nc sysstat libaio rsync telnet aspell
yum install dig libgmp10 libperl5.18 unzip pax sysstat sqlite3 dnsmasq wget

Confirgure DNS for Zimbra using DNSMASQ
Place this code at the bottom of the /etc/dnsmasq.conf

nano /etc/dnsmasq.conf
server=8.8.8.8
server=4.4.4.4
domain=yourserver.net
mx-host=yourserver.net,yourserver.net,5
listen-address=127.0.0.1

Restart Dnsmasq, and set it to start at boot.

/etc/init.d/dnsmasq restart
chkconfig dnsmasq on

Download and install Zimbra

CentOS 6 wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
CentOS 7 wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL7_64.20141215151110.tgz”’
tar xfz zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155
./install.sh –platform-override
su – zimbra
zmcontrol start

Increase upload size in Zimbra
zmprov modifyConfig zimbraFileUploadMaxSize 5000000000