Results 1 to 7 of 7

Thread: Installing Zimbra 7.0 (ZCS) on an EC2 instance

  1. #1
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    4

    Default Installing Zimbra 7.0 (ZCS) on an EC2 instance

    Finally managed to get ZCS 7.0 running on an EC2 instance, with the help of this forum.

    Installing Zimbra 7.0 (ZCS) on an EC2 instance | Elijah Paul

    Would appreciate any feedback or thoughts?

    Eli
    Last edited by elijahpaul; 10-23-2013 at 12:06 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    Glasgow
    Posts
    36
    Rep Power
    7

    Default

    Its a nice guide and pretty much what I've done to get Zimbra working on EC2. Two points though.
    Firstly you probably don't need all those firewall ports open. I would only open what you need and I find there are very few cases now where you shouldn't only use the SSL version of a protocol.
    You haven't mentioned changing the hostname or the fact that when you have to reboot the machine you need to update all the IP addresses as your private IP (and possibly your public one if you haven't reserved one) will change.

    I have a document somewhere with what I update on a reboot and I'll see if I can find it.

  3. #3
    Join Date
    Apr 2008
    Location
    Glasgow
    Posts
    36
    Rep Power
    7

    Default

    Here it is
    Code:
        * Edit /etc/bind/db. to reflect the new IP address. Increment the serial no.
        * Edit /etc/hosts to reflect the new IP 
    
    sudo nano /etc/hosts
    
        * Restart bind 
    
    sudo /etc/init.d/bind9 restart
    
        * Stop the Zimbra server 
    
    sudo su - zimbra -c "/opt/zimbra/bin/zmcontrol stop"
    
        * Restart Zimbra 
    
    sudo su - zimbra -c "/opt/zimbra/bin/zmcontrol start"

  4. #4
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    4

    Default

    Hey,

    Thanks for the tips. I'll update the guide with your recommendations.

    I think you can update the /etc/rc.local file with the hostname info to prevent it being lost on reboot.

    That document would be great. I'm wondering if the required private IP address updates could be automated and enclosed into a boot script.

    Thanks again for your feedback.

  5. #5
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    4

    Default

    Just seen your post.

    That's great. Will include this on the guide.

  6. #6
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    4

    Default

    Also found that you need to remove the following line from the /etc/resolv.conf file to allow Zimbra to route incoming mail properly.

    Code:
    search ec2.internal

  7. #7
    Join Date
    Jan 2011
    Posts
    19
    Rep Power
    4

    Default

    Seems that the some people had issues with the ec2 dhcp client overwriting the resolv.conf file configuration:

    Here's a possible resolution:

    Edit the /etc/dhclient.conf file (create one if it doesn’t exist) to look like the following:

    supersede domain-name "yourdomain.com" ;
    prepend domain-name-servers xxx.xxx.xxx.xxx ;my internal EC2 IP address


    Where xxx.xxx.xxx.xxx represents your EC2′s internal IP address (e.g. 10.x.x.x)

    Next, run the following command to force the changes (if need be).

    $ dhclient -r ; dhclient

    After doing this, check your /etc/resolv.conf file to ensure the changes have indeed been made.

    The resolv.conf settings should now remain permanent, and persist during normal daily operation of your Zimbra server.

    full tutorial: Updated: Installing Zimbra 7.0 (ZCS) on an EC2 instance | Elijah Paul
    Last edited by elijahpaul; 10-23-2013 at 12:06 PM.

Similar Threads

  1. ZCS7 Beta only Listens on IPv6
    By tobru in forum Installation
    Replies: 2
    Last Post: 03-25-2011, 04:31 AM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  3. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •