1 | Get a fresh VM or server with Ubuntu 14.04 LTS installed and ensure you are up to date: # apt-get update # apt-get upgrade # apt-get dist-upgrade | |
2 | Fix your hostname: # hostname zimbra.yourdomain.com # vim /etc/hostname # vim /etc/hosts | |
3 | Install Zimbra dependencies/prerequisites: # apt-get install libgmp10 libperl5.18 libaio1 pax sysstat sqlite3 unzip | |
4 | Download the latest version of Zimbra ZCS Open Source Edition 8.5. In my case 8.5.0 GA Release: # wget http://files2.zimbra.com/downloads/8.5.0_GA/zcs-8.5.0_GA_3042.UBUNTU14_64.20140828191919.tgz | |
5 | Unzip the tgz file: # tar -xzvf zcs-8.5.0_GA_3042.UBUNTU14_64.20140828191919.tgz | |
6 | Change to the directory we just created: # cd zcs-8.5.0_GA_3042.UBUNTU14_64.20140828191919.tgz | |
7 | Proceed with installation: # administrator@zimbra:~/downloads/zcs/zcs-8.5.0_GA_3042.UBUNTU14_64.20140828191919$ sudo ./install.sh Operations logged to /tmp/install.log.1944 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-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-5.html Do you agree with the terms of the software license agreement? [N] y | |
8 | # Select Y to agree with the EULA Checking for prerequisites... FOUND: NPTL FOUND: netcat-openbsd-1.105-7ubuntu1 FOUND: sudo-1.8.9p5-1ubuntu1 FOUND: libidn11-1.28-1ubuntu2 FOUND: libpcre3-1:8.31-2ubuntu2 FOUND: libgmp10-2:5.1.3+dfsg-1ubuntu1 FOUND: libexpat1-2.1.0-4ubuntu1 FOUND: libstdc++6-4.8.2-19ubuntu1 FOUND: libperl5.18-5.18.2-2ubuntu1 FOUND: libaio1-0.3.109-4 FOUND: resolvconf-1.69ubuntu1 FOUND: unzip-6.0-9ubuntu1 Checking for suggested prerequisites... FOUND: pax FOUND: perl-5.18.2 FOUND: sysstat FOUND: sqlite3 Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-dnscache Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-memcached Found zimbra-proxy | |
9 | Select
the packages to install. For the sake of this tutorial I installed all
default packages/features. Confirm by pressing enter: Install zimbra-ldap [Y] Install zimbra-logger [Y] Install zimbra-mta [Y] Install zimbra-dnscache [N] Install zimbra-snmp [Y] Install zimbra-store [Y] Install zimbra-apache [Y] Install zimbra-spell [Y] Install zimbra-memcached [N] Install zimbra-proxy [Y] Checking required space for zimbra-core Checking space for zimbra-store Checking required packages for zimbra-store zimbra-store package check complete. 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 | |
10 | # type Y and press Enter to modify the system. | |
11 | # The installation might complain about the MX: DNS ERROR resolving MX for zimbra.yourdomain. It is suggested that the domain name have an MX record configured in DNS # Change domain name? [Yes] # Create domain: [zimbra.yourdomain.com] yourdomain.com | |
12 | Installation proceeds: 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. Installing packages zimbra-core......zimbra-core_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done zimbra-ldap......zimbra-ldap_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done zimbra-logger......zimbra-logger_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done zimbra-mta......zimbra-mta_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done zimbra-snmp......zimbra-snmp_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done zimbra-store......zimbra-store_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done zimbra-apache......zimbra-apache_8.5.0_GA_3042.UBUNTU14_64.20140828191919...done zimbra-spell......zimbra-spell_8.5.0_GA_3042.UBUNTU14_64.20140828191919.deb...done Operations logged to /tmp/zmsetup.06042014-231656.log Installing LDAP configuration database...done. Setting defaults... Checking for port conflicts Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@yourdomain.com ******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.cekltgvuq@yourdomain.com +Enable automated spam training: yes +Spam training user: spam.7yq94trn8@yourdomain.com +Non-spam(Ham) training user: ham.pbrwxsrvp@yourdomain.com +SMTP host: zimbra.yourdomain.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://zimbra.yourdomain.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: admin@yourdomain.com +Version update source email: admin@yourdomain.com +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) Default Class of Service Configuration: r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit | |
13 | At this point, the Main menu displays showing the default entries for the Zimbra component you are installing. To expand the menu to see the configuration values, type X and press Enter. The Main menu expands to display configuration details for the package being installed. Values that require further configuration are marked with asterisks (****) to their left. To navigate the Main menu, select the menu item to change. You can modify any of the defaults. See Main Menu Options on page 8, for a description of the Main menu. For a quick installation, accepting all the defaults, you only need to do the following: # If your time zone is not Pacific time, enter 1 to select Main menu 1, Common Configuration and then enter 6 for TimeZone. Set the correct time zone # Type r to return to the Main menu # Enter 5 to select zimbra-dnscache from the Main menu • Select 1 to disable. # Type r to return to the Main menu. # Enter 7 to select zimbra-store from the Main menu. The Store configuration menu displays. # Select the following from the store configuration menu: • Type 4 to set the Admin Password. The password must be six or more characters. Press Enter. • Enable version update checks and Enable version update notifications are set to TRUE. Zimbra Collaboration automatically checks for the latest Zimbra Collaboration software updates and notifies the account that is configured in Version update notification email. You can modify this later from the administration console. # Type r to return to the Main menu. | |
14 | If no other defaults need to be changed, type a to apply the configuration changes. Press Enter *** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help) a | |
15 | When Save Configuration data to file appears, type Yes and press Enter. Save configuration data to a file? [Yes] Yes | |
16 | The next request asks where to save the files. To accept the default, press Enter. To save the files to another directory, enter the directory and then press Enter. Save config in file: [/opt/zimbra/config.2910] Saving config in /opt/zimbra/config.2910...done. | |
17 | When The system will be modified - continue? appears, type Yes and press Enter | |
18 | Operations logged to /tmp/zmsetup.07032014-195747.log Setting local config values...done. Initializing core config...Setting up CA...done. Deploying CA to /opt/zimbra/conf/ca ...done. Setting replication password...done. Setting Postfix password...done. Setting amavis password...done. Setting nginx password...done. Creating server entry for zimbra.yourdomain.com...already exists. Setting Zimbra IP Mode...done. Saving CA in ldap ...done. Saving SSL Certificate in ldap ...done. Setting spell check URL...done. Setting service ports on zimbra.yourdomain.com...done. Setting Keyboard Shortcut Preferences...done. Setting zimbraFeatureTasksEnabled=TRUE...done. Setting zimbraFeatureBriefcasesEnabled=TRUE...done. Setting MTA auth host...done. Setting TimeZone Preference...done. Initializing mta config...done. Setting services on zimbra.yourdomain.com...done. Adding zimbra.yourdomain.com to zimbraMailHostPool in default COS...done. Creating user spam.xdz2gbwr@yourdomain.com...already exists. Creating user ham.rbknyzfkx7@yourdomain.com...already exists. Creating user virus-quarantine.iek33kphoo@yourdomain.com...already exists. Setting spam training and Anti-virus quarantine accounts...done. Configuring SNMP...done. Setting up syslog.conf...done. Looking for valid license to install...license already installed. Activating license...failed to activate license. Starting servers...done. Checking for deprecated zimlets...done. Installing common zimlets... com_zimbra_tooltip...done. com_zimbra_attachmail...done. com_zimbra_url...done. com_zimbra_attachcontacts...done. com_zimbra_viewmail...done. com_zimbra_linkedinimage...done. com_zimbra_mailarchive...done. com_zimbra_srchhighlighter...done. com_zimbra_date...done. com_zimbra_cert_manager...done. com_zimbra_phone...done. com_zimbra_bulkprovision...done. com_zimbra_clientuploader...done. com_zimbra_adminversioncheck...done. com_zimbra_webex...done. com_zimbra_proxy_config...done. com_zimbra_email...done. com_zimbra_ymemoticons...done. Finished installing common zimlets. Restarting mailboxd...done. Creating galsync account for default domain...done. 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.5.0_GA_3042.UBUNTU14_64) The ADMIN EMAIL ADDRESS created (admin@yourdomain.com) Notify Zimbra of your installation? [Yes] yes Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin /notify.cgi?VER=8.5.0_GA_3042.UBUNTU14_64&MAIL=admin@yourdomain.com | |
19 | Configuration complete!! - press return to exit. | |
20 | Congratulations! You now have a brand new Zimbra Server! Take some time to verify things: # Type: sudo su - zimbra # Type: zmcontrol status The services status information is displayed. All services should be running: [[administrator@zimbra ~]$ zmcontrol status Host zimbra.yourdomain.com antispam Running antivirus Running convertd Running ldap Running logger Running mailbox Running mta Running snmp Running spell Running stats Running zmconfigd Running [administrator@zimbra ~]$ | |
21 | If services are not running, type zmcontrol start. | |
22 | We're now ready to log into the admin interface at https://zimbra.yourdomain.com:7071 | |
23 | That's it for now! Hope you learnt stuff..... :) Courtsey : http://tanglesolutions.com |
Thursday, December 11, 2014
Installing Zimbra OS 8.5 on Ubuntu 14.04
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment