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 04-05-2007, 07:02 AM
Starter Member
 
Posts: 1
Default Ubuntu install

What version of Ubuntu does Zimbra support? Will Zimbra work on the desktop version of Ubuntu, or only the server edition??
Reply With Quote
  #2 (permalink)  
Old 04-05-2007, 07:18 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Welcome to the forums.

The versions for the OSS version of Zimbra are listed here, the Network Edition of Zimbra requires the Ubuntu 6.x LTS version.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-05-2007, 03:02 PM
Special Member
 
Posts: 147
Default

I have Zimbra OS running on Ubuntu 6.10. There a few "gotchas" that took time to track down. I've seen a lot of posts that people are having problems on the newer version of Ubuntu. FYI, I originally tried Ubuntu 6.06LTS and ran into several issues - maybe the Network Edition requires it but the OS edition didn't like it at all Here's notes I took while getting the install going:

1. Install Ubuntu 6.10

2. Relink '/bin/sh' to point to '/bin/bash':
Code:
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh
3. Install required packages:
Code:
sudo apt-get install curl openssl libxml2 libexpat1 libgmp3c2 libpcre3 fetchmail libidn11 openssh-server
4. Install DNS server:
Code:
sudo apt-get install bind9
5. Setup DNS files
5a. Create named.conf.local file: (This file is referenced by the named.conf file)
Code:
sudo nano /etc/bind/named.conf.local
Replace any existing contents in this file with the following code: (change domain.com to reflect your domain)
Code:
zone "email.domain.com" {
	type master;
	file "/etc/bind/zones/email.domain.com.db";
	};
Save and exit nano.
5b. Modify options:
Code:
sudo nano /etc/bind/named.conf.options
Change the forwarders section to point to your ISP's DNS servers. Example:
Code:
forwarders {
	208.67.222.222;
	208.67.220.220;
	};
Save and exit nano.
5c. Create the zone file: (Change "domain.com" in the next line to reflect your domain)
Code:
sudo nano	/etc/bind/zones/email.domain.com.db
Insert this code: (change domain.com to reflect your domain; change 10.0.0.1 to the IP address of the Zimbra server)
Code:
; email.domain.com
	$TTL 604800
	@       IN      SOA     ns.email.domain.com. root.email.domain.com. (
                2007022601
                28800
                3600
                604800
                38400
	);
	@       IN      NS      ns
	        IN      MX      10 mail
	        IN      A       10.0.0.1
	ns      IN      A       10.0.0.1
	mail    IN      A       10.0.0.1
Save and exit nano.
5d. Ensure the local DNS server is used for resolving DNS first:
Code:
sudo nano /etc/resolv.conf
Replace existing code with this code: (change domain.com to reflect your domain; change 10.0.0.1 to the IP address of the Zimbra server; replace the 208.x.x.x IPs with your ISP's DNS server IPs)
Code:
search email.domain.com
nameserver 10.0.0.1
nameserver 208.67.222.222
nameserver 208.67.220.220
Save and exit nano.

6. Restart DNS to pick up changes:
Code:
sudo /etc/init.d/bind9 restart
7. Download and unpack the Zimbra Ubuntu open source binary

8. Run the installer

9. Config Zimbra:
option 6 then 4 (set password)
option r (return to prev menu)
option a (apply)

10. After Zimbra starts make sure the server properties (in the Admin UI) for Trusted MTA contain the local IP address.
Reply With Quote
  #4 (permalink)  
Old 04-05-2007, 03:23 PM
Former Zimbran
 
Posts: 5,606
Default

Thanks for this great tutorial!
Thread Stuck.
Reply With Quote
  #5 (permalink)  
Old 04-06-2007, 05:29 AM
Intermediate Member
 
Posts: 20
Default

Quote:
Originally Posted by rajahd View Post
5. Setup DNS files
5a. Create named.conf.local file: (This file is referenced by the named.conf file)
Code:
sudo nano /etc/bind/named.conf.local
Replace any existing contents in this file with the following code: (change domain.com to reflect your domain)
Code:
zone "email.domain.com" {
	type master;
	file "/etc/bind/zones/email.domain.com.db";
	};
Save and exit nano.
5b. Modify options:
Code:
sudo nano /etc/bind/named.conf.options
Change the forwarders section to point to your ISP's DNS servers. Example:
Code:
forwarders {
	208.67.222.222;
	208.67.220.220;
	};
Save and exit nano.
5c. Create the zone file: (Change "domain.com" in the next line to reflect your domain)
Code:
sudo nano	/etc/bind/zones/email.domain.com.db
Insert this code: (change domain.com to reflect your domain; change 10.0.0.1 to the IP address of the Zimbra server)
Code:
; email.domain.com
	$TTL 604800
	@       IN      SOA     ns.email.domain.com. root.email.domain.com. (
                2007022601
                28800
                3600
                604800
                38400
	);
	@       IN      NS      ns
	        IN      MX      10 mail
	        IN      A       10.0.0.1
	ns      IN      A       10.0.0.1
	mail    IN      A       10.0.0.1
Save and exit nano.
5d. Ensure the local DNS server is used for resolving DNS first:
Code:
sudo nano /etc/resolv.conf
Replace existing code with this code: (change domain.com to reflect your domain; change 10.0.0.1 to the IP address of the Zimbra server; replace the 208.x.x.x IPs with your ISP's DNS server IPs)
Code:
search email.domain.com
nameserver 10.0.0.1
nameserver 208.67.222.222
nameserver 208.67.220.220
Save and exit nano.

6. Restart DNS to pick up changes:
Code:
sudo /etc/init.d/bind9 restart
i change everywhere email.domain.com in email.ubuntu69.com
i try to ping email.ubuntu69.com and works
but when i try to install zimbra i have this problem
Code:
Setting defaults...No results returned for A lookup of 192.168.253.2
Checked nameservers:
        192.168.253.2
        208.67.222.222
        208.67.220.220


DNS ERROR resolving 192.168.253.2
It is suggested that the hostname be resolveable via DNS
Change hostname [Yes] yes
Please enter the logical hostname for this host [192.168.253.2] email.ubuntu69.com


DNS ERROR resolving MX for email.ubuntu69.com
what's wrong?

thanks
Reply With Quote
  #6 (permalink)  
Old 04-06-2007, 05:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Did you also change the IP addresses to point to your own server?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 04-06-2007, 05:39 AM
Intermediate Member
 
Posts: 20
Default

Quote:
Originally Posted by phoenix View Post
Did you also change the IP addresses to point to your own server?
i hope so

my ip address is 192.168.253.2

and i changed in the files

thanks
Reply With Quote
  #8 (permalink)  
Old 04-06-2007, 05:44 AM
Intermediate Member
 
Posts: 20
Default

in
/etc/bind/zones/email.ubuntu69.com.db

i have
Code:
; email.ubuntu69.com
        $TTL 604800
        @       IN      SOA     ns.email.ubuntu69.com. root.email.ubuntu69.com. (
                2007022601
                28800
                3600
                604800
                38400
        );
        @       IN      NS      ns
                IN      MX      10 mail
                IN      A       192.168.253.2
        ns      IN      A       192.168.253.2
        mail    IN      A       192.168.253.2
Reply With Quote
  #9 (permalink)  
Old 04-06-2007, 05:46 AM
Intermediate Member
 
Posts: 20
Default

in
/etc/resolv.conf
i have
Code:
search email.ubuntu69.com
nameserver 192.168.253.2
nameserver 208.67.222.222
nameserver 208.67.220.220
Reply With Quote
  #10 (permalink)  
Old 04-06-2007, 05:49 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

The hostname in your MX record is incorrect and you should also check your /etc/hosts file is correct. Have a look at the contents of the wiki here for the required format.
__________________
Regards


Bill
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.