Install Zimbra Community CentOS 6

Install Zimbra Community CentOS 6

Install Zimbra Community CentOS 6

Zimbra is an Open Source Alternative to Microsoft Exchange. I have been an advocate for Microsoft Exchange For Years, however, there’s one product, that even the Free Version, Beats or Matches the Features Of Exchange, and costs $0. That’s Pretty hard not to pay attention to. Here’s the Basic Steps to Getting Zimbra Installed:

Let’s Start a new VM/Physical Box Build. For this example I’m Using CentOS 6.5 Minimal Install, because I’m Behind a NAT, you need this step:

CentOS 6.5 minimal install note before building the Zimbra mail server

the hostname of your Zimbra Server needs to be that of the Public nature, it CANNOT be the internal name, you will run into issues. That being said, set a Static IP, and do the Install as normal. Be aware that zimbra installs in /opt for when you get to the Disk Partitioning Area.

Once you have your VM/Dedicated Box, make sure you disable Iptables, and Ip6tables

Stopping and disabling iptables and ip6tables before the Zimbra install

disable SELinux on next reboot

Disabling SELinux for the next reboot ahead of installing Zimbra

Start by updating all Software Packages, and rebooting afterwards:

Running yum -y update on CentOS 6 before installing Zimbra

install the prerequisites

Installing Zimbra prerequisite packages with yum on CentOS 6

part 2

Installing additional Zimbra build dependencies (make, libtool-ltdl, glibc)

edit your hosts file

Opening /etc/hosts in an editor for the Zimbra server hostname

enter the necessary info

/etc/hosts entry mapping the server IP to zimbra.mydomain.com

also disable Postfix, it’s included with the CentOS Default Install

Stopping and disabling Postfix so it does not conflict with Zimbra MTA

At this point we are going to assume you have your MX records setup properly from the outside, and Internal DNS and routing is setup properly.

Go To the Zimbra Open Source Downloads Page, and

http://www.zimbra.com/downloads/os-downloads.html

Copy the Link Location

Zimbra open source downloads page ready to copy the CentOS 6 tarball URL

cd to opt, and wget the location

Running wget in /opt to download the Zimbra Collaboration Server tarball

once our .tgz is downloaded, we need to extract it

Extracting the Zimbra tarball with tar -xvf zcs-8.0.4 under /opt

change into the extracted folder

Changing into the extracted Zimbra installer directory under /opt

make the installer executable

Making the Zimbra install.sh script executable with chmod

kick off the installer

Starting the Zimbra installer with ./install.sh on CentOS 6

accept the agreement, if you agree, both times

Accepting the Zimbra license agreement prompts during install.sh

you should see the following….

Zimbra installer prerequisite check listing core, ldap, logger and mta packages

select the following options, and continue

Zimbra package selection screen with ldap logger mta snmp store apache set to Y

you should see the following error:

Zimbra installer DNS ERROR when the hostname does not resolve locally

Since we are using Internal DNS, and Public DNS you get this error, Zimbra Installer Assumes DNS is Installed and Configured on the Local Machine, enter your Domain Name, ex: domain.com

Zimbra MX record warning for mydomain.com during DNS validation

from here hit no, and proceed

Answering No to changing the domain name after the Zimbra DNS warning

from here the installer will continue

Now as you can see in the defaults, we obviously need to customize a few things….

hit 3

Zimbra main menu after selecting option 3 to customize the configuration

you need to hit number 4 to set the password at a minimum.

Zimbra store configuration menu highlighting option 4 to set the admin password

here’s a finished example configuration

Completed Zimbra configuration summary before applying changes

select r, and then hit a when ready to continue

Choosing r then a in the Zimbra menu to apply the configuration

set a few more things….

Zimbra installer applying configuration and updating firewall-related settings

at this point, let the installer do it’s thing for a while…. This will take a bit

From here we have some firewall config to do, open the following ports:

  • 443 – SSL Web Connections
  • 143 – IMAP Connections to Receive Email
  • 25 – SMTP to Send Email
  • 993 – Secure IMAP
  • 587 – Secure SMTP/TLS

By the time the firewall config is done, the installer should be complete….

Zimbra installer finishing with Configuration complete and crontab setup

it will ask if you want to notify zimbra of the install, i’ll let you make that decision on your own…

Prompt asking whether to notify Zimbra of the completed installation

hit return

now wait a few minutes for everything to load into RAM, and browse to https://zimbra.mydomain.com, and you should get a website

VMware Zimbra web client login page at https://zimbra.mydomain.com

now login to the admin interface:

https://zimbra.domain.com:7071
VMware Zimbra Admin Console login page on port 7071

** IF you are running Zimbra behind a NAT, please Click Below, otherwise you will not be able to receive email on Zimbra Communtiy/Open Source Edition ***

http://blog.zwiegnet.com/linux-server/zimbra-not-receiving-email-stuck-in-que/

That’s it!

Hosted Linux Servers at www.zwiegnet.com/go

Related guides: Upgrade Zimbra Community Version CentOS 6 | Restart Zimbra Community Services CentOS 6

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *