How to Install Zimbra on Ubuntu

Posted: July 15, 2016 in Linux

https://www.howtoforge.com/tutorial/ubuntu-14-04-zimbra-server/

Change Password Root

$ sudo passwd

Install openssh-Server

# apt-get install openssh-server

clip_image002

Enable root SSH from Network

# nano /etc/ssh/sshd_config

clip_image004

To enable services SSH after configuration, restart ubuntu

# reboot

clip_image002[6]

Connect to your server, get root privileges and install this package.

Install Prerequisite

apt-get install libgmp10 libperl5.18 unzip pax sysstat sqlite3 dnsmasq wget
apt-get install curl fetchmail libexpat1 libxml2 libtie-ixhash-perl
apt-get install libgmp10 libperl5.18 libaio1 pax sqlite3

clip_image008

Configure hostname and DNS Server

Step 1 – Edit hostname and hosts

nano /etc/hostname

clip_image010

nano /etc/hosts
add this line:
172.90.1.253 mail.fikry.local mail

clip_image011

Step 2 – Edit dnsmasq configuration

vim /etc/dnsmasq.conf
server=172.90.1.253
domain=fikry.local
mx-host=fikry.local, mail.fikry.local, 5
mx-host=mail.fikry.local, mail.fikry.local, 5
listen-address=127.0.0.1

clip_image013

Step 3 – Reboot

sudo reboot

Installing Zimbra

Download Zimbra and extract it

wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz
tar -xvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

New Zimbra Package

wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz

tar zxvf zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz

clip_image015

./install.sh

clip_image017

clip_image018

clip_image019

here doesn`t need zimbra-dnscache, because in this tutorial use dnsmasq.
You need to wait, because this installation takes some time.

clip_image021

clip_image023

clip_image025

clip_image026

clip_image028

Testing Zimbra

to test your zimbra server is running, you can type a command :
su – zimbra
zmcontrol status

try to access zimbra from web browser. https://172.90.1.253/

clip_image030

The Administration Console

You can now open a browser and open the Zimbra Administrator web interface. The URL is https://mail.example.com:7071/zimbraAdmin or https://172.90.1.253:7071/zimbraAdmin. Log in with the username admin and the password you specified during the Zimbra installation:

clip_image032

clip_image034

clip_image036

Create New User

clip_image038

clip_image040

clip_image042

clip_image044

clip_image046

Configuration MTA or SMTP Relay to External

clip_image048

Create New Domains

clip_image050

clip_image052

clip_image054

clip_image056

Test Send and Receive Email

clip_image058

clip_image060

CMIIW, Thanks Smile

Leave a Reply

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