Sunday, 24 July 2011

How to configure ZCS 7 on Ubuntu 8.04 32 Bit


  1. Download and install Ubuntu 8.04 Desktop Edition 32 Bit.
  2. Install OpenSSH-Server, XRDP (RDP), Bind9
  3. Configure Bind9
    1. Configure the named.conf.local file and configure the forward and reverse DNS zones.
    2. Make a new directory zones
    3. Make a Forward and Reverse Zone files in the zones directory.
    4. Restart the Bind sever
    5. Check the DNS Configuration through dig, check for MX records and reverse lookups
  4. Install the following packages:
    1. curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libtie-ixhash-perl
    2. install sysstat
  5. Configure static IP on the machine
  6. Check Hostname on the machine, check /etc/resolv.conf, check /etc/hosts file.
  7. Untar the zimbra tar file to /usr/local/src.
  8. CD to /usr/local/src
  9. cd to Zimbra Directory
  10. Run - ./install.sh --platform-override
    1. Press Y to accept the agreement
    2. Install zimbra-ldap [Y] <-- <ENTER>
    3. Install zimbra-logger [Y] <-- <ENTER>
    4. Install zimbra-mta [Y] <-- <ENTER>
    5. Install zimbra-snmp [Y] <-- <ENTER>
    6. Install zimbra-store [Y] <-- <ENTER>
    7. Install zimbra-spell [Y] <-- <ENTER>
    8. Type Yes and press <enter> when it warns that the system will be modified.
    9. It will present an overview of the configuration that has been performed so far, in that list under Option 3Administrator Password will show as UNSET., press 3.
    10. It will then show a further listing under that option now it will show under option 4 that Administrator password is UNSET, press 4
    11. It will ask to set a password, setup a password.
    12. Re-type password.
    13. Press Enter
    14. Press a to accept the changes
    15. It will then start performing a configuration of zimbra server.
    16. It will show a DNS error and will ask to change the domain name with [yes] as a preset, press enter
    17. It will show the hostname, change it to the server name and press enter (eg: if your hostname is mail.ermin.net, then it will show the same in this option a a preset, but we need to setup a server as ermin.net, so we need to type ermin.net and press enter.
    18. It will then perform the remaining configuration and will start the necessary servers.
    19. It will ask to notify Zimbra about the installation, type No and press enter.
    20. It will then ask to press enter to exit once installation is complete.
  11. Install sysv-rc-conf utility (it is a utility similar to chkconfig)
  12. Check through this utility of zimbra is set to run at startup.
  13. Open browser and open https://mail.ermin.net:7071
    1. This is a secured Zimbra login page.
    2. Login through the admin account the with password that was setup during zimbra configuration.
    3. Create new users.
    4. Open browser and open http://mail.ermin.net
    5. Login through the users created and try to send and receive mails.
  14. Later if you wish to start or stop the zimbra server, then:
    1. Login to root
    2. su - zimbra
    3. zmcontrol status – to check the status of the zimbra server
    4. zmcontrol stop – to stop the zimbra server.
    5. zmcontrol start – to start the zimbra server.
    6. zmcontrol restart – to restart the zimbra server