How to install Zimbra in CentOS

#yum install epel-release

# yum -y install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so.6
.
.
  perl-Test-Simple.x86_64 0:0.92-144.el6
  perl-Time-HiRes.x86_64 4:1.9721-144.el6
  perl-Time-Piece.x86_64 0:1.15-144.el6
  perl-devel.x86_64 4:5.10.1-144.el6
  perl-parent.x86_64 1:0.221-144.el6

Complete!

Make sure selinux disabled

# vi /etc/selinux/config
SELINUX=disabled
#reboot

Make the FQDN hostname

# vi /etc/hosts
127.0.0.1               mail.boobal.com localhost

# vi /etc/sysconfig/network
HOSTNAME=mail.boobal.com

#reboot
# hostname
mail.boobal.com

# service postfix stop
Shutting down postfix:                                     [  OK  ]
[root@mail ~]# chkconfig postfix off

# wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
# ls
anaconda-ks.cfg  post-install  post-install.log  zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz

# tar -xzvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
[root@mail ~]# cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155
[root@mail zcs-8.6.0_GA_1153.RHEL6_64.20141215151155]# ls
bin  data  docs  install.sh  packages  readme_binary_en_US.txt  readme_source_en_US.txt  README.txt  util
]# ./install.sh

Operations logged to /tmp/install.log.1993
Checking for existing installation...
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-core...NOT FOUND


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra-public-eula-2-5.html



Do you agree with the terms of the software license agreement? [N]
 ERROR: Installation can not proceeed.  Please fix your /etc/hosts file
  to contain:

  127.0.0.1 localhost.localdomain localhost

  Zimbra install grants mysql permissions only to localhost and
  localhost.localdomain users.  But Fedora/RH installs leave lines such
  as these in /etc/hosts:

# vi /etc/hosts
192.168.1.115           mail.boobal.com mail

Error: MISSING: nc

#yum install nc
then give Y for everything

Change domain name ? no

Address configured Items (help) 7    //zimbra-store

4)admin password : unset

Select , or r previous [r] 4
password for admin@mail.boobal.com  :

Select , or r previous [r] r

if everything is perfect it shows

Select from menu, or press 'a' to apply config  a
Save configuration data to file ? [yes] enter
Save config in file: [/opt/zimbra/config.11047]
Saving config in /opt/zimbra/config.11047...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup01262016-002704.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Creating new zimbra-proxy SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Installing Proxy SSL certificate...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Setting BES searcher  password...done.
.
.
.
.
Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup01262016-002704.log to /opt/zimbra/log
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...failed.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
        The VERSION of zcs installed (8.6.0_GA_1153_RHEL6_64)
        The ADMIN EMAIL ADDRESS created (admin@mail.boobal.com)

Notify Zimbra of your installation? [Yes] yes
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.6.0_GA_1153_RHEL6_64&MAIL=admin@mail.boobal.com

Notification complete

Setting up zimbra crontab...done.


Moving /tmp/zmsetup08062017-095355.log to /opt/zimbra/log


Configuration complete - press return to exit : enter
---------------------------------------------------------

HTTP ERROR 502

Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Possible reasons:
  • upstream server is unreachable
  • upstream server is currently being upgraded
  • upstream server is down
Please contact your ZCS administrator to fix the problem.
---------------------------------------------------------
#su zimbra
#zmcontrol stop
#zmcontrol start

#zmcontrol status
#mysql zimbra

after installation, open the we-browser and navigate you domain name or IP address end with 7071 via https the default username for web admin was admin

https://mail.boobal.com:7071
https://192.168.1.115:7071

after logged admin panel you can create a mail accounts, and port 7071 used only for admin panel
normal users can access
https://192.168.1.115
https://mail.boobal.com


Uninstall zimbra
#./install.sh -u
#cd
#rm -rf zcs-*

refer

Post a Comment

0 Comments