Pages

Thursday, March 14, 2013

Installing Zimbra OSE on Ubuntu Server 12.04 LTS - Part 4

Install Zimbra

NOTE: Install Zimbra by typing "./install.sh" and uninstall by typing "./install.sh -u"

Prerequisite packages:

  • NPTL
  • sudo-1.7.2p1-1ubuntu5.3
  • libidn11-1.15-2
  • libpcre3-7.8-3build1
  • libgmp3c2-2:4.3.2+dfsg-1ubuntu1
  • libexpat1-2.0.1-7ubuntu1
  • libstdc++6-4.4.3-4ubuntu5
  • libperl5.10-5.10.1-8ubuntu2.1


Suggested prerequisites:
  • perl-5.10.1
  • sysstat
  • sqlite3


Install Procedure:
  1. Start the Ubuntu server and connect using PuTTY.
  2. At the login prompt, login with your administrator account (administrator / myadminpass) and then type su and the root password (myrootpass)
  3. Download the Open Source Edition from Open Source Edition Downloads: Enterprise Messaging and Collaboration Software by Zimbra

    Method #1 - Download from your PC

    A. Download the .tgz file and copy it to the Ubuntu share --> \\mail\share or \\192.168.107.25\share
    B. Once copied to the server, access the console and type the following:

    Code:
    mv /srv/samba/share/zcs* /var/temp
    Method #2 - Download directly from the server

    A. Obtain the download URL from the Zimbra OSE page
    B. Type the following commands on the server console (using the correct URL)

    Code:
    cd /var/temp
    wget http://files.zimbra.com/downloads/7.2.0_GA/zcs-7.2.0_GA_2669.UBUNTU10_64.20120410002303.tgz
  4. Extract the archive by typing the following commands:

    Code:
    mkdir /var/temp/install
    tar -C /var/temp/install --strip-components=1 -xzf /var/temp/zcs*
  5. Start the installation program by typing the following:

    Code:
    cd /var/temp/install
    ./install.sh
  6. Agree to license agreement? Press y {ENTER}
  7. If you are missing any prerequisites, exit the installation and install them. You can install all at one time by separating each name with a space after aptitude install such as the following:
    Code:
    aptitude -y install sysstat sqlite3
  8. Install zimbra-ldap? Press y {ENTER}
  9. Install zimbra-logger? Press y {ENTER}
  10. Install zimbra-mta? Press y {ENTER}
  11. Install zimbra-snmp? Press y {ENTER}
  12. Install zimbra-store? Press y {ENTER}
  13. Install zimbra-apache? Press y {ENTER}
  14. Install zimbra-spell? Press y {ENTER}
  15. Install zimbra-memcached? Press n {ENTER} (if multi-server, press y instead)
  16. Install zimbra-proxy? Press n {ENTER} (if multi-server, press y instead)
  17. The system will be modified. Continue? Press y {ENTER}
  18. DNS ERROR resolving MX for mail.mydomain.com. Change domain name? Press y {ENTER}
  19. Now we put the correct domain name in so type mydomain.com {ENTER}
  20. You are presented a menu for resolving unconfigured options, press 3 {ENTER}
  21. Select Admin password, press 4 {ENTER}. Then type your new password (myzimbrapass) {ENTER}
  22. Press r {ENTER} for previous menu
  23. Press a {ENTER} to apply changes.
  24. Press y {ENTER}, {ENTER} to save configuration (/opt/zimbra/config.9066)
  25. The system will be modified - continue? Press y {ENTER}
  26. Notify Zimbra of your installation? Press n {ENTER} (feel free to answer yes if this is not a test system)
  27. Press {ENTER} to exit setup. NOTE: Log files placed in /opt/zimbra/log
  28. Shutdown and power off the server by typing the following:
    Code:
    /etc/init.d/zimbra stop
    shutdown -P now
  29. In VM menu, select VM --> Snapshot --> Take Snapshot. Give it a name like STEP 5 and description of Ubuntu Server 10.04.4 LTS, Zimbra 7.2.0 OSE installed, Static IP: 192.168.107.25. The Snapshot Manager should now have a nice hierarchy of snapshots (STEP 1 --> STEP 2 --> STEP 3 --> STEP 4 --> STEP 5 --> You are here)


Admin Console and Initial Test


  1. Start the Ubuntu server.
  2. Access the webmail control panel by opening a web browser and typing this in the address bar: https://192.168.107.25:7071
  3. If your browser barks about an untrusted connection, tell it to continue anyway and add an exception for it so it will not have a problem with it next time.
  4. Login as admin@mydomain.com / myrootpassword
  5. Create a new user account.
  6. When done creating a new user, open a new browser tab and access: http://192.168.107.25/ and login with your new user account. See if you can send an email! If it does not work, well, what can I say...you followed the advice of a Linux newbie.

No comments:

Post a Comment