How To Install Zimbra 8.6 on CentOS 6 Part 1
Usually, i am always using SUSE Linux Enterprise Server as operating
system for Zimbra Mail Server. But, starting from Zimbra 9.x.x, SLES has
been deprecated (end of life) and may be will not supported by Zimbra.
Therefore, i attempt to using CentOS as operating system for Zimbra. For
easy understanding, this is my information system
First, we must configure network on CentOS. Assuming name of your network interface is eth0
# Configure Disable Selinux & Firewall
Open file /etc/sysconfig/selinux and change SELINUX=enforcing become SELINUX=disabled. Also disable some service such as iptables and ip6tables.
# Configure /etc/hosts, /etc/resolv.conf and hostname
Open file /etc/hosts and configure as follows
Change HOSTNAME so that like below :
Do the following command as root
# Update repo and install packages dependencies needed by Zimbra
# Configure local DNS Server
Zimbra needed lookup to MX records on domain that used. For that purpose, we can configure dns server on the same machine with Zimbra mail server
Open file /etc/named.conf and add any on listen-on port 53 and allow-query as follows
fill as follows
If results from above command like follows, your dns configuration has been success
source : https://imanudin.net/2015/03/13/how-to-install-zimbra-8-6-on-centos-6-part-1/
link youtube : https://www.youtube.com/watch?v=WkYdxucvzUY&t=967s
Domain : imanudin.net Hostname : mail IP Address : 192.168.80.91 Gateway : 192.168.80.11# Configure Network
First, we must configure network on CentOS. Assuming name of your network interface is eth0
1.vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=none IPADDR=192.168.80.91 NETMASK=255.255.255.0 DNS1=192.168.80.91 GATEWAY=192.168.80.11 DNS2=192.168.80.11 DNS3=8.8.8.8 USERCTL=noRestart network service and setup for automatic boot
1.service network restart2.chkconfig network onOpen file /etc/sysconfig/selinux and change SELINUX=enforcing become SELINUX=disabled. Also disable some service such as iptables and ip6tables.
1.setenforce 02.service iptables stop3.service ip6tables stop4.chkconfig iptables off5.chkconfig ip6tables offOpen file /etc/hosts and configure as follows
127.0.0.1 localhost 192.168.80.91 mail.imanudin.net mailOpen file /etc/resolv.conf and configure as follows
search imanudin.net nameserver 192.168.80.91 nameserver 192.168.80.11 nameserver 8.8.8.8Do the following command as root and open file /etc/sysconfig/network to change hostname to the name mail.imanudin.net
1.hostname mail.imanudin.net2.vi /etc/sysconfig/networkNETWORKING=yes HOSTNAME=mail.imanudin.net# Disable service sendmail or postfix
Do the following command as root
1.service sendmail stop2.service postfix stop3.chkconfig sendmail off4.chkconfig postfix off1.yum update2.yum -y install perl perl-core wget screen w3m elinks openssh-clients openssh-server bind bind-utils unzip nmap sed nc sysstat libaio rsync telnet aspellZimbra needed lookup to MX records on domain that used. For that purpose, we can configure dns server on the same machine with Zimbra mail server
Open file /etc/named.conf and add any on listen-on port 53 and allow-query as follows
listen-on port 53 { 127.0.0.1; any; };
allow-query { localhost; any; };
Create a zone at the bottom of file named.conf as followszone "imanudin.net" IN {
type master;
file "db.imanudin.net";
allow-update { none; };
};
Create database for a new zone who has been created in folder /var/named/1.touch /var/named/db.imanudin.net2.chgrp named /var/named/db.imanudin.net3.vi /var/named/db.imanudin.net$TTL 1D
@ IN SOA ns1.imanudin.net. root.imanudin.net. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS ns1.imanudin.net.
@ IN MX 0 mail.imanudin.net.
ns1 IN A 192.168.80.91
mail IN A 192.168.80.91
# Restart Service & Check results configuration of DNS Server1.service named restart2.chkconfig named on3.nslookup mail.imanudin.net4.dig imanudin.net mx[root@mail opt]# nslookup mail.imanudin.net Server: 192.168.80.91 Address: 192.168.80.91#53 Name: mail.imanudin.net Address: 192.168.80.91Preparation for install Zimbra has been finished. Now we can install zimbra and will explained on part 2
source : https://imanudin.net/2015/03/13/how-to-install-zimbra-8-6-on-centos-6-part-1/
link youtube : https://www.youtube.com/watch?v=WkYdxucvzUY&t=967s
Comments