Howto Install Zimbra Collaboration Suite Open Source Edition on Fedora/Centos/Redhat …

May-13th-2010

Hi Friends,

You can download ZCS Open Source Edition from :-  http://www.zimbra.com/downloads/os-downloads.html

Note :- Before installing ZCS You will have to verify your hostname and MX record of hostname.

[root@map007]# hostname

[root@map007]# mail.linuxsurgeon.org

[root@map007]# nslookup mail.linuxsurgeon.org

nslookup mail.linuxsurgeon.org
Server:         8.8.8.8
Address:        8.8.8.8#53

Name:   mail.linuxsurgeon.org
Address: 192.168.1.1

[root@map007]# cd /opt

[root@map007]# wget http://files2.zimbra.com/downloads/6.0.6_GA/zcs-6.0.6_GA_2330.F11.20100505202915.tgz

[root@map007]# tar zxvf zcs-6.0.6_GA_2330.F11.20100505202915.tgz

[root@map007]# cd zcs-6.0.6_GA_2330.F11.20100505202915

[root@map007]# ./install.sh

The output should look something like:

Checking for existing installation…

Operations logged to /tmp/install.log.10909
Checking for existing installation…
zimbra-ldap…NOT FOUND
zimbra-logger…NOT FOUND
zimbra-mta…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-cluster…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.1.html

Press Return to continue

Checking for prerequisites…
FOUND: NPTL
FOUND: sudo-1.6.9p17-6
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites…
FOUND: perl-5.8.8
FOUND: sysstat
Prerequisite check complete.

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy

Select the packages to install

Install zimbra-ldap [Y] Y

Install zimbra-logger [Y] Y

Install zimbra-mta [Y] Y

Install zimbra-snmp [Y] Y

Install zimbra-store [Y] Y

Install zimbra-apache [Y] Y

Install zimbra-spell [Y] Y

Install zimbra-memcached [N] N

Install zimbra-proxy [N] N

Checking required space for zimbra-core
checking space for zimbra-store

Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell

The installation takes some time…..
Once the install is finished you are presented with the Main Menu. It looks like this:

Main menu

1) Hostname:                                mail.linuxsurgeon.org
2) Ldap master host:                        mail.linuxsurgeon.org
3) Ldap port:                               389
4) Ldap password:                           set
5) zimbra-ldap:                             Enabled
6) zimbra-store:                            Enabled
+Create Admin User:                    yes
+Admin user to create:                 admin@mail.linuxsurgeon.org
******* +Admin Password                        UNSET
+Enable automated spam training:       yes
+Spam training user:                   spam.tukjrdnaco@mail.linuxsurgeon.org
+Non-spam(Ham) training user:          ham.rg8fvq6cd4@mail.linuxsurgeon.org
+Global Documents Account:             wiki@mail.linuxsurgeon.org
+SMTP host:                            mail.linuxsurgeon.org
+Web server HTTP port:                 80
+Web server HTTPS port:                443
+Web server mode:                      http
+Enable POP/IMAP proxy:                no
+IMAP server port:                     143
+IMAP server SSL port:                 993
+POP server port:                      110
+POP server SSL port:                  995
+Use spell check server:               yes
+Spell server URL:                     http://mail.linuxsurgeon.org:7780/aspell.php

7) zimbra-mta:                              Enabled
8) zimbra-snmp:                             Enabled
9) zimbra-logger:                           Enabled
10) zimbra-spell:                            Enabled
r) Start servers after configuration        yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items  (? – help) <– 6

Store configuration

1) Status:                                  Enabled
2) Create Admin User:                       yes
3) Admin user to create:                    admin@mail.linuxsurgeon.org
** 4) Admin Password                           UNSET
5) Enable automated spam training:          yes
6) Spam training user:                      spam.tukjrdnaco@mail.linuxsurgeon.org
7) Non-spam(Ham) training user:             ham.rg8fvq6cd4@mail.linuxsurgeon.org
8) Global Documents Account:                wiki@mail.linuxsurgeon.org
9) SMTP host:                               mail.linuxsurgeon.org
10) Web server HTTP port:                    80
11) Web server HTTPS port:                   443
12) Web server mode:                         http
13) Enable POP/IMAP proxy:                   no
14) IMAP server port:                        143
15) IMAP server SSL port:                    993
16) POP server port:                         110
17) POP server SSL port:                     995
18) Use spell check server:                  yes
19) Spell server URL:                        http://mail.linuxsurgeon.org:7780/aspell.php

Select, or ‘r’ for previous menu [r] <– 4

Password for admin@mail.linuxsurgeon.org (min 6 characters): [8BD.yZtFh] <– [specify a password for the admin user, e.g. howtoforge]

Select, or ‘r’ for previous menu [r] <– <ENTER>

Main menu

1) Hostname:                                mail.linuxsurgeon.org
2) Ldap master host:                        mail.linuxsurgeon.org
3) Ldap port:                               389
4) Ldap password:                           set
5) zimbra-ldap:                             Enabled
6) zimbra-store:                            Enabled
7) zimbra-mta:                              Enabled
8) zimbra-snmp:                             Enabled
9) zimbra-logger:                           Enabled
10) zimbra-spell:                            Enabled
r) Start servers after configuration        yes
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE – press ‘a’ to apply Select from menu, or press ‘a’ to apply config (? – help) <– a
Save configuration data to a file? [Yes] <– <ENTER>
Save config in file: [/opt/zimbra/config.7922] <– <ENTER>
Saving config in /opt/zimbra/config.7922…Done
The system will be modified – continue? [No] <– y

You have the option of notifying Zimbra of your installation. This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is: The VERSION of zcs installed (6.0.6_GA_2330_Fedora11)
The ADMIN EMAIL ADDRESS created (admin@mail.linuxsurgeon.org)

Notify Zimbra of your installation? [Yes] Yes

Configuration complete – press return to exit —- press enter

=============================================================================

Now your ZCS Open Source installation has been completed..Now test your zimbra service login as Zimbra user :-

[root@map007]# su – zimbra

[Zimbra@map007]:~$ zmcontrol status

The output should look like this:
Host mail.linuxsurgeon.org

antispam                Running
antivirus               Running
ldap                    Running
logger                  Running
mailbox                 Running
mta                     Running
snmp                    Running
spell                   Running

If any service is not running then you can do start/stop your zimbra service :-

[zimbra@map007]:~$ zmcontrol stop/start

Zimbra comes with a web interface for the administrator (https://mail.linuxsurgeon.org:7071/zimbraAdmin) and normal users (http://mail.linuxsurgeon.org).

=======================================================================================

Uninstalling ZCS :-

[root@map007]# su – zimbra

[zimbra@map007]:~$ zmcontrol stop

[zimbra@map007]:~$ exit

[root@map007]# cd zcs-6.0.6_GA_2330.F11.20100505202915

[root@map007]# ./install.sh -u

[root@map007]# rm -rf /opt/zimbra

==============================================================================

Enjoy Linux !!!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

Comments

  1. physician assistant Said,

    What a great resource!

  2. forex robot Said,

    Great information! I’ve been looking for something like this for a while now. Thanks!

  3. college grants Said,

    My cousin recommended this blog and she was totally right keep up the fantastic work!

  4. cna training Said,

    nice post. thanks.

  5. jajalo Said,

    I’ve a big problem, zimbra can’t initialise ldap, and close the installation, what can i do?

  6. Prostate Cancer Symptoms Said,

    Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!

  7. piyushmap Said,

    Hi,

    Can you send me exact error or snap shot, So that i can check and let u know…

  8. Finding the best CNA School Said,

    This is such a great resource that you are providing and you give it away for free. I enjoy seeing websites that understand the value of providing a prime resource for free. I truly loved reading your post. Thanks!

  9. nitin Said,

    Below error is gettign when i installing a zimbra
    Pls help

    This platform is CentOS5
    Packages found: F11
    This may or may not work.

  10. piyushmap Said,

    Hi,

    First of all I’d suggest you update to the most recent CentOS 5.3 before installing Zimbra and which version of Zimbra you downloaded ? There should be no problem installing Zimbra on CentOS.

    And try with following command :-

    ./install.sh –platform-overide

  11. forex robot Said,

    What a great resource!

  12. dental hygienist Said,

    Hmmm for some reason only half the post can be seen. I tried reloading but still same.

  13. piyushmap Said,

    Hello,

    I have tried same post from 3-4 networks but didn’t get any problem. I am able to see this post without any problem.

    Thank you for visiting linuxsurgeon.org.

  14. Gourav bhati Said,

    hi sir,

    Such a nice post even who had never tried this can understand how to make it work really very nice post keep it up………..

    enjoy linux

  15. Linux Surgeon » Blog Archive » Monitor incoming and outgoing mails Said,

    [...] How to install ZCS open source on Fedora | CentOS | RedHat [...]

  16. Monitor incoming and outgoing mails « The Linux Boy Said,

    [...] How to install ZCS open source on Fedora | CentOS | RedHat [...]

  17. Peter Said,

    hi,

    can i have a GUI of zimbra in linux, like the postfix , webmin @ port 10000?

  18. piyushmap Said,

    Hi,

    Yes you can access zimbra webmail as well as admin panel.

    For Admin Panel :- https://mail.your-domain.com:7071/zimbraAdmin

    and

    For Webmail :- http://mail.your-domain.com

    Thank you.

  19. duncan Said,

    Hi,
    Thanks for your info.
    I followed your guide and gladly all is well.
    I was wondering is it possible to use the smartphone email client to access email via Imap. I am using the opensource version hence active sync is not an option.
    Thanks again.

    Duncan.

  20. Rajesh Sahu Said,

    Hi,

    i am facing some error.

    [root@mail /]# service zimbra status
    Host mail.zimbra.local
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mysql.server is not running.
    mta Running
    snmp Running
    spell Stopped
    zmapachectl is not running
    stats Stopped
    zmconfigd Running

  21. Rajesh Sahu Said,

    Some error on startup.

    [zimbra@mail root]$ zmcontrol start
    Host mail.zimbra.local
    Starting zmconfigd…Done.
    Starting logger…Done.
    Starting mailbox…Done.
    Starting antispam…Done.
    Starting antivirus…Done.
    Starting snmp…Done.
    Starting spell…Failed.
    Starting apache…httpd: Syntax error on line 232 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/httpd/modules/libphp5.so into server: /opt/zimbra/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
    failed.

    Starting mta…Done.
    Starting stats…Done.

  22. piyushmap Said,

    Hi Rajesh,

    Sorry for the delay, i was quite busy with my project.
    Could you please tell me the output of ls -lR /opt/zimbra and also let me know the status of selinux.

    # getenforce
    # ls -lR /opt/zimbra

Add A Comment

*