Zimbra Mail Installation Steps

 

Zimbra is associate degree enterprise-class email, calendar and collaboration resolution, designed for the cloud, each public and personal. With a redesigned browser-based interface, Zimbra offers the foremost innovative electronic communication expertise on the market these days, connecting finish users to the knowledge and activity in their personal clouds.  Allow us to see the installation steps of Zimbra Mail one by one.

Steps:

Step 1:  BIND name server installation and configuration

Step 2: Zimbra community edition, download & install on centos

Step 3: Zimbra webmail and admin access

Let us see the steps in details:

Step : 1  BIND name server installation and configuration

Name server installation and configuration guide has prepare on following platform and services.

Platform / Services Package
Operating System CentOS release 6.4 (Final) 64bit
Domain demo.com
Name Server  ns1.demo.com
MX record mail.demo.com
IP Address 192.168.0.20
Authentication Type Native

 

Dependencies Description
OS Centos / Redhat (Virtual / Physical)
Packages bind-libs-9.8.2-.17.rc1.el6_4.6.x86_64,bind-9.8.2-0.17.rc1.el6_4.6.x86_64,bind-utils-9.8.2-0.17.rc1.el6_4.6.x86_64

Login as root user to zimbra node 192.168.0.161

 [root@localhost ~]# cat  /etc/redhat-release

01

[root@localhost ~]# ifconfig

02

[root@localhost ~]#

Install bind.x86_64 32:9.8.2-0.17.rc1.el6_4.6 from repository using yum command line utility

[root@localhost ~]# yum install bind

Dependencies Resolved

========================================================================== Package          Arch        Version                              Repository      Size              ========================================================================== Installing:

bind             x86_64      32:9.8.2-0.17.rc1.el6_4.6         base        4.0 M

Installing for dependencies:

portreserve      x86_64      0.0.4-9.el6                              base               23 k

Updating for dependencies:

bind-libs        x86_64      32:9.8.2-0.17.rc1.el6_4.6         base      878 k

bind-utils       x86_64      32:9.8.2-0.17.rc1.el6_4.6         base      182 k

Transaction Summary ==========================================================================

Install       2 Package(s) Upgrade       2 Package(s)

Total download size: 5.0 M

Is this ok [y/N]:y


1.1  Modify hostname as mail.demo.com     in (/etc/sysconfig/network)

[root@localhost ~]# vi /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=mail.demo.com

Save & Exit (:wq)

1.2 Add host entry mail.demo.com    in (/etc/hosts)

 [root@localhost ~]# vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.0.161 mail.solutionatexperts.com mail

192.168.0.161 ns1.demo.com

Save & Exit (:wq!)

1.3 Add name server IP address in (/etc/resolv.conf)

 [root@localhost ~]# vi /etc/resolv.conf

; generated by /sbin/dhclient-script

search demo.com

nameserver 192.168.0.161

Save & Exit (:wq!)

1.4  Bind name service configuration

Edit named.conf file located in /etc/named.conf

 [root@localhost ~] #vi /etc/named.conf
options {
 listen-on port 53 { 127.0.0.1;192.168.0.161; };
 listen-on-v6 port 53 { ::1; };
 directory       "/var/named";
 dump-file       "/var/named/data/cache_dump.db";
 statistics-file "/var/named/data/named_stats.txt";
 memstatistics-file "/var/named/data/named_mem_stats.txt";
 allow-query     { localhost;192.168.0.0/23 };
 recursion yes;
 dnssec-enable yes;
 dnssec-validation yes;
 dnssec-lookaside auto;
/* Path to ISC DLV key */
 bindkeys-file "/etc/named.iscdlv.key";
 managed-keys-directory "/var/named/dynamic";
 };
logging {
 channel default_debug {
 file "data/named.run";
 severity dynamic;
 };
};
 zone "." IN {
 type hint;
 file "named.ca";
 };
 zone "demo.com" in {
 type master;
 file "fwd.demo.com";
 allow-update {none;};
 };
 zone "0.168.192.in-addr.arpa" in {
 type master;
 file "0.168.192.in-addr.arpa";
 allow-update {none;};
 };
 include "/etc/named.rfc1912.zones";
 include "/etc/named.root.key";

Save & Exit (:wq!)

[root@localhost ~]#cd  /var/named/

11

[root@localhost named]# pwd

/var/named

1.5  Create a file and add the following

 [root@localhost named]#vi fwd.demo.com
$ORIGIN demo.com.
 $TTL 1d
 @ IN SOA ns1.demo.com.  support.demo.com. (
 2010031500 ; se = serial number
 3h ; ref = refresh
 15m ; ret = update retry
 3w ; ex = expiry
 3h ; min = minimum
 )
IN A 192.168.0.161
 IN NS ns1
 IN MX 10 mail.demo.com.
ns1 IN A 192.168.0.161
 mail IN A 192.168.0.161

Save & Exit (:wq!)

[root@localhost named]# vi 0.168.192.in-addr.arpa 
@ IN SOA ns1.demo.com. support.solutionsatexperts. (
 2010031500 ; se = serial number
 3h ; ref = refresh
 15m ; ret = update retry
 3w ; ex = expiry
 3h ; min = minimum
 )
IN NS ns1.demo.com.
161 IN PTR ns1.demo.com.
 25 IN PTR mail.demo.com.

Save & Exit (:wq!)

[root@localhost named] # service named  start


14

[root@localhost named] # dig  demo.com

15

[root@localhost named] # dig mx demo.com

16

[root@localhost named] # nslookup

17

[root@localhost named] # ping  mail.demo.com

18

Step : 2 Zimbra community edition,  download & install on centos

Packages :  sysstat gmp perl libstdc++.i686 nc wget nano

Install dependency packages

[root@localhost ~]#yum install sysstat gmp perl libstdc++.i686 nc wget nano

19

2.1  Disable  SELINUX Firewall

[root@localhost ~]#vi  /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
 #       enforcing - SELinux security policy is enforced.
 #       permissive - SELinux prints warnings instead of enforcing.
 #       disabled - SELinux is fully disabled.
 SELINUX=disabled
 # SELINUXTYPE= type of policy in use. Possible values are:
 #       targeted - Only targeted network daemons are protected.
 #       strict - Full SELinux protection.
 SELINUXTYPE=targeted

Save & Exit (: wq!)

2.2  Comment out  #Defaults  requiretty  in (/etc/sudoers).

 [root@localhost ~]#vi /etc/sudoers
# Defaults specification
#
# Disable "ssh hostname sudo <cmd>", because it will show the password in clear.
 #         You have to run "ssh -t hostname sudo <cmd>".
 #
 #Defaults    requiretty

Save & Exit (: wq!)

2.3  Reboot the node  in order to effect selinux configuration

 [root@localhost ~]#reboot

2.4  Stop following services

[root@localhost ~]#chkconfig sendmail off
[root@localhost ~]#service sendmail stop
[root@localhost ~]#chkconfig postfix off
[root@localhost ~]#service postfix stop
[root@localhost ~]#chkconfig httpd off
[root@localhost ~]#service httpd stop

2.5   Add host name entry in (/etc/hosts)

[root@localhost ~]#vi /etc/hosts
192.168.0.161 mail.demo.com mail

Save & Exit (:wq!)

2.6   Download Zimbra open source edition source package

 [root@localhost ~]#cd  /var/opt
 [root@localhost  opt] # wget http://files2.zimbra.com/downloads/8.0.6_GA/zcs-8.0.6_GA_5922.RHEL6_64.20131203103705.tgz

23

If you got dns error resolve public domains , modify by adding dns entry/etc/resolv.conf

24

2.7  Extract the downloaded file

 [root@localhost opt ] # tar -zxvf zcs-8.0.6_GA_5922.RHEL6_64.20131203103705.tgz

2.8  Rename from long folder name to shorter

[root@localhost opt ] # mv zcs-8.0.6_GA_5922.RHEL6_64.20131203103705 zcs

2.9  Switch to zcs folder

[root@localhost  opt] # cd zcs
 [root@localhost  zcs]#./install.sh –platform-override
 [root@localhost  zcs]# service zimbra status

31

Step 3: Zimbra webmail and admin access

3.1 Go to your etc folder and check hosts.

1111

3.2 Open hosts and add  192.168.0.161  mail.demo.com

33

3.3 Open browser and Enter at URL:

35

34

36

For more Details you catch the video:

 

 

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk