How to install zimbra collaboration suite 8.8.11 on CentOS 7

prerequisites

Before we get started, here are a few things that are required before we proceed with the installation.
  • A clean installation of Centos 7
  • A Fully Qualified Domain (FQDN) for your server(Example mail.geekybum.com)
  • An external DNS server with both A and MX records for your server to point to your Zimbra mail server IP Address
  • A static IP Address assigned to network interface.
Step 1: Root login to server through SSH
Step 2: Install required packages for zimbra coloboration suite installation
yum -y install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so

Initial server setup

To get started we need to configure a hostname for our server and a static IP address.
vi /etc/hosts
135.125.30.56 mail.geekybum.com mail
Replace the system hostname and FQDN values accordingly in order to match your own domain settings

Disable Selinux

Next, we’ll disable SELinux. To check the status of SELinux, run the command below
getenforce
If it shows enforcing do
vi /etc/selinux/config
SELINUX=disabled
and
SELINUXTYPE=disabled

Disable Unwanted Services

A CentOS 7 default installation ships with postfix daemon already installed and running. To disable and erase postfix service run the following commands:
systemctl stop postfix
systemctl disable postfix
yum remove postfix

systemctl stop firewalld
systemctl disable firewalld

Reboot server

At this point, reboot the system.
reboot

Install Zimbra Collaboration Suite Open Source Edition

cd /usr/local/src
https://www.zimbra.com/downloads/zimbra-collaboration-open-source/
yum install wget
wget https://files.zimbra.com/downloads/8.8.11_GA/zcs-8.8.11_GA_3737.RHEL7_64.20181207111719.tgz
ls -a
tar -xvf zcs-8.8.11_GA_3737.RHEL7_64.20181207111719.tgz
cd zcs-8.8.11_GA_3737.RHEL7_64.20181207111719.tgz
./install.sh
Do you agree with the terms of the software license agreement? [N] y
Use Zimbra’s package repository [Y] y
Select the packages to install
Install zimbra-ldap [Y] y
Install zimbra-logger [Y] y
Install zimbra-mta [Y] y
Install zimbra-dnscache [Y] n
Install zimbra-snmp [Y] y
Install zimbra-store [Y] y
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-memcached [Y] y
Install zimbra-proxy [Y] y
Install zimbra-drive [Y] y
Install zimbra-imapd (BETA – for evaluation only) [N] y
Install zimbra-chat [Y] y
The system will be modified. Continue? [N] y
Running Post Installation Configuration:
Operations logged to /tmp/zmsetup.20190612-053046.log
Installing LDAP configuration database…done.
Setting defaults…
DNS ERROR resolving MX for mail.serverhelper.ml
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] n
Address unconfigured (**) items (? – help) 6
Select, or ‘r’ for previous menu [r] 4
Password for admin@mail.serverhelper.ml (min 6 characters): [JALq_BSvT1] kailash
Select, or ‘r’ for previous menu [r] r
*** CONFIGURATION COMPLETE – press ‘a’ to apply
Select from menu, or press ‘a’ to apply config (? – help) a
Save configuration data to a file? [Yes] y
Save config in file: [/opt/zimbra/config.9343]
Saving config in /opt/zimbra/config.9343…done.
The system will be modified – continue? [No] y
Operations logged to /tmp/zmsetup.20190612-053046.log
Notify Zimbra of your installation? [Yes] yes
Configuration complete – press return to exit (just press enter here)
Now zimbra is installed sucessfully we nees to check whether all the service are running or not
su – zimbra
zmcontrol status
[zimbra@mail ~]
$ zmcontrol status
Host mail.serverhelper.ml
amavis Running
antispam Running
antivirus Running
imapd Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
snmp Running
spell Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running
Now check
by going to the Ip as https://35.196.45.64/
for admin panel go to https://35.196.45.64:7071
Change IP as per your static IP
username admin
For password enter the password entered during installation of zimbra.





####################################################################

Hi, I followed your instructions but it gave me "admin@hostname.domain.com" instead of just "admin@domain.com". Any ideas on how that could have happened?


Hi, i understood your problem, during domains mx verification please change the "hostname.domain.com" portion to only "domain.com", otherwise it will give you like this.
thanks

###################################################

zimbra ERROR: Installation can not proceeed. Please fix your /etc/hosts file

Step 2: Use the hostname utility

Change your hostname to a different name of your choosing. For example:
hostnamectl set-hostname mail.empresas.co.mz

Step 3: Edit /etc/hosts

Open the /etc/hosts file with your favorite text editor. For example:
nano /etc/hosts
Change the first line and replace your old hostname with the new one. Save the file and exit the editor.

Step 4: Edit /etc/sysconfig/network

This file also contains your hostname. Open the /etc/sysconfig/network file with your favorite text editor.
Change HOSTNAME=vultr to your desired hostname. For example: HOSTNAME=server01.

Step 5: Check your hostname

Run the following command to check your new hostname:

hostname

change in all 3 to make it persistent even after reboot
####################

error system perl at /usr/bin/perl must be present before installation

yum install perl



































































































Comments

Post a Comment

Popular posts from this blog

cpanel exam CPSP Answers

awstats installation