Installing Zimbra on Ubuntu 6.10

From KoshWiki

Jump to: navigation, search

Contents

Description

The usual copy/paste Install guide I like to be known for. :)


Installation Procedure

Running the Gauntlet so-to-speak.

# apt-get install ntpdate ssh screen less


Get the packages

I do these parts as root (it needs to install packages, so yeah)

# mkdir zimbra
# cd zimbra
# wget -c "http://files2.zimbra.com/downloads/4.5.6_GA/zcs-NETWORK-4.5.6_GA_1044.UBUNTU6.tgz"

and Extract them while you're there

# tar xvfz zcs-NETWORK-4.5.6_GA_1044.UBUNTU6.tgz

Install the Pre-requisites

Running the below will tell you what you are missing (don't worry, i've got an apt-get line below this for you)

# cd zcs/
# ./install.sh

Operations logged to /tmp/install.log.4229
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-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_network_eval_license.pdf


Press Return to continue

Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-4ubuntu5
    libidn11...FOUND libidn11-0.6.3-1
    curl...MISSING
    fetchmail...MISSING
    libpcre3...MISSING
    libgmp3c2...MISSING
    libexpat1...FOUND libexpat1-1.95.8-3.2
    libxml2...FOUND libxml2-2.6.26.dfsg-2ubuntu4
    libstdc++6...FOUND libstdc++6-4.1.1-13ubuntu5
    libstdc++5...MISSING
    openssl...FOUND openssl-0.9.8b-2ubuntu2

###ERROR###

One or more prerequisite packages are missing.
Please install them before running this installer.

Installation cancelled.

#

To Install these pre-requisites use the following apt-get command

# apt-get install libstdc++5 fetchmail libpcre3 libgmp3c2 curl

Install Zimbra

Now to run the install for real.

# ./install.sh

Operations logged to /tmp/install.log.3729
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-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_network_eval_license.pdf


Press Return to continue

Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-4ubuntu5
    libidn11...FOUND libidn11-0.6.3-1
    curl...FOUND curl-7.15.4-1ubuntu2.2
    fetchmail...FOUND fetchmail-6.3.4-1ubuntu4.1
    libpcre3...FOUND libpcre3-6.4-2ubuntu1
    libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-3
    libexpat1...FOUND libexpat1-1.95.8-3.2
    libxml2...FOUND libxml2-2.6.26.dfsg-2ubuntu4
    libstdc++6...FOUND libstdc++6-4.1.1-13ubuntu5
    libstdc++5...FOUND libstdc++5-1:3.3.6-13ubuntu2
    openssl...FOUND openssl-0.9.8b-2ubuntu2

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


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-spell [Y] Y
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 system will be modified.  Continue? [N] Y

Removing /opt/zimbra
Installing packages

    zimbra-core......zimbra-core_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-ldap......zimbra-ldap_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-logger......zimbra-logger_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-mta......zimbra-mta_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-snmp......zimbra-snmp_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-store......zimbra-store_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-apache......zimbra-apache_4.5.6_GA_1044.UBUNTU6_i386.deb...done
    zimbra-spell......zimbra-spell_4.5.6_GA_1044.UBUNTU6_i386.deb...done
Operations logged to /tmp/zmsetup.log.4789
Setting defaults...

DNS ERROR resolving MX for whitestar.server-list.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create Domain: [whitestar.server-list.com] teknokosh.com
        MX: mail.teknokosh.com (202.125.46.248)

        Interface: 202.125.46.248
        Interface: 127.0.0.1
Done
Checking for port conflicts


Main menu

   1) Hostname:                                whitestar.server-list.com
   2) Ldap master host:                        whitestar.server-list.com
   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@teknokosh.com
******* +Admin Password                        UNSET
        +Enable automated spam training:       yes
        +Spam training user:                   spam.dqcyz1hae@teknokosh.com
        +Non-spam(Ham) training user:          ham.flra7ag84@teknokosh.com
        +Global Documents Account:             wiki@teknokosh.com
        +SMTP host:                            whitestar.server-list.com
        +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://whitestar.server-list.com:7780/aspell.php
******* +License filename:                     UNSET

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

Address unconfigured (**) items  (? - help)

Installation Step - Configuration

Press "6" and follow the below prompts.

Address unconfigured (**) items  (? - help) 6


Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@teknokosh.com
** 4) Admin Password                           UNSET
   5) Enable automated spam training:          yes
   6) Spam training user:                      spam.dqcyz1hae@teknokosh.com
   7) Non-spam(Ham) training user:             ham.flra7ag84@teknokosh.com
   8) Global Documents Account:                wiki@teknokosh.com
   9) SMTP host:                               whitestar.server-list.com
  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://whitestar.server-list.com:7780/aspell.php
**20) License filename:                        UNSET

Select, or 'r' for previous menu [r] 4

Password for admin@teknokosh.com (min 6 characters): [generatedpass] newadminpassword

Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@teknokosh.com
   4) Admin Password                           set
   5) Enable automated spam training:          yes
   6) Spam training user:                      spam.dqcyz1hae@teknokosh.com
   7) Non-spam(Ham) training user:             ham.flra7ag84@teknokosh.com
   8) Global Documents Account:                wiki@teknokosh.com
   9) SMTP host:                               whitestar.server-list.com
  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://whitestar.server-list.com:7780/aspell.php
**20) License filename:                        UNSET

Select, or 'r' for previous menu [r] 20

Enter the name of the file that contains the license /root/ZCSLicense.xml

Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@teknokosh.com
   4) Admin Password                           set
   5) Enable automated spam training:          yes
   6) Spam training user:                      spam.dqcyz1hae@teknokosh.com
   7) Non-spam(Ham) training user:             ham.flra7ag84@teknokosh.com
   8) Global Documents Account:                wiki@teknokosh.com
   9) SMTP host:                               whitestar.server-list.com
  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://whitestar.server-list.com:7780/aspell.php

Select, or 'r' for previous menu [r] r

Main menu

   1) Hostname:                                whitestar.server-list.com
   2) Ldap master host:                        whitestar.server-list.com
   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
  11) Enable default backup schedule:          yes
   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]

Second Half of the Install

Save config in file: [/opt/zimbra/config.4789]
Saving config in /opt/zimbra/config.4789...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.4789
Setting local config values...Done
Setting up CA...Done
Creating SSL certificate...Done
Initializing ldap...Started slapd: pid 5682
adding new entry "cn=zimbra"

adding new entry "cn=admins,cn=zimbra"

adding new entry "uid=zimbra,cn=admins,cn=zimbra"

adding new entry "cn=zimlets,cn=zimbra"

adding new entry "cn=config,cn=zimbra"

adding new entry "cn=cos,cn=zimbra"

adding new entry "cn=servers,cn=zimbra"

modifying entry "cn=config,cn=zimbra"

adding new entry "cn=default,cn=cos,cn=zimbra"

adding new entry "cn=mime,cn=config,cn=zimbra"

adding new entry "cn=application/x-zip-compressed,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=application/zip,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=message/rfc822,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/html,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/enriched,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/plain,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/calendar,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=all,cn=mime,cn=config,cn=zimbra"

modifying entry "cn=config,cn=zimbra"

Done
Saving CA in ldap...Done
Installing SSL certificate...Done
Creating server entry for whitestar.server-list.com...Done
Setting spell check URL...Done
Setting service ports on whitestar.server-list.com...Done
Adding whitestar.server-list.com to zimbraMailHostPool in default COS...Done
Installing skins...
        lavender
        froggy
        sand
        rose
        vanilla
        steel
        bare
        sky
        harvest
Done
Setting MTA auth host...Done
Creating domain teknokosh.com...Done
Creating user admin@teknokosh.com...
Creating postmaster alias...Done
Creating user wiki@teknokosh.com...Done
Creating user spam.dqcyz1hae@teknokosh.com...Done
Creating user ham.flra7ag84@teknokosh.com...Done
Setting spam training accounts...Done
Initializing store sql database...Done
Setting zimbraSmtpHostname for whitestar.server-list.com...Done
Initializing logger sql database...Done
Initializing mta config...Done
Configuring SNMP...Done
Setting services on whitestar.server-list.com...Done
Setting up zimbra crontab...no crontab for zimbra
Rebuilding backup cron

no crontab for zimbra
Done
Setting up syslog.conf...Done
Setting default backup schedule...Done
Looking for valid license to install...license installed.
Starting servers...Done.
Installing zimlets...
        com_zimbra_email
        com_zimbra_phone
        com_zimbra_date
        com_zimbra_search
        com_zimbra_url
Done
Installing network zimlets...
        com_zimbra_domainadmin
        com_zimbra_cluster
        com_zimbra_hsm
        com_zimbra_convertd
        com_zimbra_mobilesync
        com_zimbra_license
        com_zimbra_backuprestore
Done
Initializing Documents...Done
Restarting tomcat...Done


Operations logged to /tmp/zmsetup.log.4789


Configuration complete - press return to exit


#

References