There are two stages in any Zimbra installation, as we'll now discuss.

Access the Zimbra package as follows:

Unpack the downloaded Zimbra package as follows:

Or you can get it from the following direct link using the wget command:

Let's start by downloading Zimbra Collaboration Suite release 8.0.3 from the Zimbra website:

Here we take care of some prerequisites:

Installation

In the installation step, first of all (and to make things simple), let's rename the Zimbra package as follows:

mv zcs-8.0.3_GA_5664.UBUNTU12_64.20130305090204 zcs cd zcs/

Then we launch the installation process and run the following command:

sudo ./install

We will get the following output. If we don't make our choices, it means we agree with the default values. Hit the Enter key to proceed.

[email protected]:~/zcs$ sudo ./install.sh [sudo] password for abdelmonam: Operations logged to /tmp/install.log.10489 Checking for existing installation...

For a normal installation, you should have a server that does not have a Zimbra package installed; so you should get output in this format: <PACKAGE_NAME>â¦NOT FOUND

Where <PACKAGE_NAME> can be zimbra-ldap , zimbra-logger , zimbra-mta , zimbra-snmp , zimbra-store , zimbra-apache , zimbra-spell , zimbra-convertd , zimbra-memcached , zimbra-proxy , zimbra-archiving , zimbra-cluster , zimbra-core .

The next step is to accept the license. You will be prompted to accept the license agreement; answer with y .

Do you agree with the terms of the software license agreement? [N] y

Then the installation process will check for prerequisites.

Checking for prerequisites... FOUND: NPTL FOUND: netcat-openbsd-1.89-4ubuntu1 FOUND: sudo-1.8.3p1-1ubuntu3.4 FOUND: libidn11-1.23-2 FOUND: libpcre3-8.12-4 FOUND: libgmp3c2-2:4.3.2+dfsg-2ubuntu1 FOUND: libexpat1-2.0.1-7.2ubuntu1.1 FOUND: libstdc++6-4.6.3-1ubuntu5 FOUND: libperl5.14-5.14.2-6ubuntu2.3 Checking for suggested prerequisites... FOUND: perl-5.14.2 FOUND: sysstat FOUND: sqlite3 Prerequisite check complete.

If your system lacks some dependencies, the installation process will be aborted. You should install the required dependencies before resuming the installation.

If you pass this step successfully, the next one will be the selection of packages to install. In this chapter we are looking at single installations, so we will install all the required packages on the same server. The following are the choices we have made:

Select the packages to install Install zimbra-ldap [Y] Install zimbra-logger [Y] Install zimbra-mta [Y] Install zimbra-snmp [Y] Install zimbra-store [Y] Install zimbra-apache [Y] Install zimbra-spell [Y] Install zimbra-memcached [N] Install zimbra-proxy [N]

As you can see, we don't make any choiceâwe only press Enter on each line to accept the default choice.

After that, the installer checks the necessary space for installation as follows:

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

If there is insufficient space on your hard disk, the installation process will be aborted. You should free the needed space before resuming installation.

The installer will ask you if you accept that the system will be modified. Accept by entering y .

The system will be modified. Continue? [N] y

Then a classic operation to guarantee the work of the new installation takes place; the installer does a cleanup operation to remove any old installation of Zimbra.

Removing /opt/zimbra Removing zimbra crontab entry...done. Cleaning up zimbra init scripts...done. Cleaning up /etc/ld.so.conf...done. Cleaning up /etc/security/limits.conf...done. Finished removing Zimbra Collaboration Server.

Once the cleanup operation has finished, the installation of the chosen packages starts:

Installing packages zimbra-core......zimbra-core_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-ldap......zimbra-ldap_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-logger......zimbra-logger_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-mta......zimbra-mta_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-snmp......zimbra-snmp_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-store......zimbra-store_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-apache......zimbra-apache_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done zimbra-spell......zimbra-spell_8.0.3.GA.5664.UBUNTU12.64_amd64.deb...done Operations logged to /tmp/zmsetup.05302013-235652.log Installing LDAP configuration database...done. Setting defaults...

After installing the packages, the configuration steps start. The first step is to align the Zimbra configuration with the DNS one. Accept to change the domain name and then enter yours; here is what we do:

DNS ERROR resolving MX for mail.zimbra-essentials.com It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] Create domain: [mail.zimbra-essentials.com] zimbra-essentials.com MX: mail.zimbra-essentials.com (172.16.126.14) Interface: 127.0.0.1 Interface: ::1 Interface: 172.16.126.14 done. Checking for port conflicts

Finally, you will get the final configuration menu. Values that need to be set are indicated using stars ( * ), but of course you can modify any value you want.

Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: [email protected] ******* +Admin Password UNSET +Anti-virus quarantine user: [email protected] +Enable automated spam training: yes +Spam training user: [email protected] +Non-spam(Ham) training user: [email protected] +SMTP host: mail.zimbra-essentials.com +Web server HTTP port: 80 +Web server HTTPS port: 443 +Web server mode: https +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.zimbra-essentials.com:7780/aspell.php +Configure for use with mail proxy: FALSE +Configure for use with web proxy: FALSE +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: [email protected] +Version update source email: [email protected] 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-logger: Enabled 7) zimbra-spell: Enabled 8) Default Class of Service Configuration: r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 3

As you can see, we chose to start by configuring zimbra-store (menu number 3 ). We get the following submenu:

Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: [email protected] ** 4) Admin Password UNSET 5) Anti-virus quarantine user: [email protected] 6) Enable automated spam training: yes 7) Spam training user: [email protected] 8) Non-spam(Ham) training user: [email protected] 9) SMTP host: mail.zimbra-essentials.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: https 13) IMAP server port: 143 14) IMAP server SSL port: 993 15) POP server port: 110 16) POP server SSL port: 995 17) Use spell check server: yes 18) Spell server URL: http://mail.zimbra-essentials.com:7780/aspell.php 19) Configure for use with mail proxy: FALSE 20) Configure for use with web proxy: FALSE 21) Enable version update checks: TRUE 22) Enable version update notifications: TRUE 23) Version update notification email: [email protected] 24) Version update source email: [email protected] Select, or 'r' for previous menu [r] 4

By choosing submenu number 4 , we can set the admin password. We use the following to do so:

Password for [email protected] (min 6 characters): [CiMVj7HPE] zimbrabook Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: [email protected] 4) Admin Password set 5) Anti-virus quarantine user: [email protected] 6) Enable automated spam training: yes 7) Spam training user: [email protected] 8) Non-spam(Ham) training user: [email protected] 9) SMTP host: mail.zimbra-essentials.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: https 13) IMAP server port: 143 14) IMAP server SSL port: 993 15) POP server port: 110 16) POP server SSL port: 995 17) Use spell check server: yes 18) Spell server URL: http://mail.zimbra-essentials.com:7780/aspell.php 19) Configure for use with mail proxy: FALSE 20) Configure for use with web proxy: FALSE 21) Enable version update checks: TRUE 22) Enable version update notifications: TRUE 23) Version update notification email: [email protected] 24) Version update source email: [email protected] Select, or 'r' for previous menu [r] r

By entering the letter r , we will go to the previous menu, which is as follows:

Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-store: Enabled 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-logger: Enabled 7) zimbra-spell: Enabled 8) Default Class of Service Configuration: 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

And then, by choosing the letter a on the principal menu, we apply the changes we performed.

The installer will ask you to save a configuration to a file; accept it by pressing Enter. You will get the config file path. It then informs you that the system will be modified; agree with y . The installation process will finish the remaining steps automatically: