Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-16-2011, 07:07 AM
Member
 
Posts: 12
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; 03-16-2011 at 10:15 AM..
Reply With Quote
  #2 (permalink)  
Old 03-16-2011, 10:38 AM
Active Member
 
Posts: 36
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.
Reply With Quote
  #3 (permalink)  
Old 03-16-2011, 10:41 AM
Active Member
 
Posts: 36
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"
Reply With Quote
  #4 (permalink)  
Old 03-16-2011, 10:50 AM
Member
 
Posts: 12
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.
Reply With Quote
  #5 (permalink)  
Old 03-16-2011, 10:52 AM
Member
 
Posts: 12
Default

Just seen your post.

That's great. Will include this on the guide.
Reply With Quote
  #6 (permalink)  
Old 03-18-2011, 09:26 AM
Member
 
Posts: 12
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
Reply With Quote
  #7 (permalink)  
Old 05-26-2011, 08:19 AM
Member
 
Posts: 12
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.