{"id":1525,"date":"2020-11-13T07:43:33","date_gmt":"2020-11-13T07:43:33","guid":{"rendered":"https:\/\/linuxways.net\/?p=1525"},"modified":"2020-12-23T18:35:38","modified_gmt":"2020-12-23T18:35:38","slug":"how-to-install-zimbra-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-zimbra-on-ubuntu-18-04-lts\/","title":{"rendered":"How to install Zimbra on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>Zimbra Collaboration Server is open-source collaborative software that comprises a mail server and a web client. It allows for email, calendaring, creating users and distribution lists, file sharing, chatting, managing mail server activities, etc. Zimbra Collaboration Server is supported on various platforms including Ubuntu 12.04, Ubuntu 14.04, Ubuntu 18.04, Redhat Enterprise Linux 6, Redhat Enterprise Linux 7, CentOS6, CentOS 7, etc. It is also supported on cloud platforms like VMware vCloud Director VMware vCloud Air and virtualization platform like VMware vSphere, XenServer 6, and KVM.\u00a0 <strong>The subject of today&#8217;s post is how to install the Zimbra Collaboration server on Ubuntu 18.04 LTS.<\/strong><\/p>\n<h2>Prerequisites<\/h2>\n<p>For running the Zimbra collaboration server, you should have:<\/p>\n<ul>\n<li>Ubuntu machine 18.04 &#8211; 64bit<\/li>\n<li>Root privileges<\/li>\n<li>Free Disk space 30 GB (minimum)<\/li>\n<li>RAM 8 GB (minimum)<\/li>\n<li>CPU\/Processor 2.0 GHz (minimum)<\/li>\n<\/ul>\n<p><strong>Note:<\/strong><\/p>\n<p>For the setup, we have used:<\/p>\n<p><strong>Zimbra<\/strong>: 8.8.15 GA Release<\/p>\n<p><strong>Domain<\/strong>: test.org<\/p>\n<p><strong>IP<\/strong>: 192.168.1.101<\/p>\n<h2>Installing Zimbra on Linux<\/h2>\n<p>Here are the steps to install the Zimbra Collaboration Server on Linux. Let\u2019s get started.<\/p>\n<h3>Step 1: Update and upgrade existing packages<\/h3>\n<p>First, you will need to update and upgrade the existing packages. To do so, issue the below commands in Terminal:<\/p>\n<pre>$ sudo apt update\n\n$ sudo apt upgrade<\/pre>\n<h3>Step 2: Edit hostname and hosts file<\/h3>\n<p>Now, we will need to setup a hostname for Zimbra. To do so, edit <strong>\/etc\/hostname<\/strong> file using the below command in Terminal:<\/p>\n<pre>$ sudo nano \/etc\/hostname<\/pre>\n<p>Replace the hostname with the <strong>mail.test.org<\/strong> and then save and close the hostname file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"129\" class=\"wp-image-1526\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-303.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-303.png 507w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-303-300x76.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/p>\n<p>Replace <strong>mail.test.org <\/strong>with your own domain name.<\/p>\n<p>Now edit the <strong>\/etc\/hosts<\/strong> file using the below command in Terminal:<\/p>\n<pre>$ sudo nano \/etc\/hosts<\/pre>\n<p>Type the following entry and then save and close the hosts file.<\/p>\n<pre>192.168.72.167 mail.test.org mail<\/pre>\n<p>Where <strong>192.168.72.167<\/strong> is the IP address of your Zimbra server, and <strong>mail.test.org<\/strong> is the fully qualified domain name (FQDN).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"264\" class=\"wp-image-1527\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-304.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-304.png 668w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-304-300x119.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/p>\n<h3>Step 3: Install DNS server<\/h3>\n<p>In this step, we will install dnsmasq as our DNS server. However, before installing dnsmasq, we will first need to disable <strong>systemd-resolve<\/strong> as it runs on port <strong>53<\/strong>. The DNS server dnsmasq also runs on port 53 which can cause port conflict.<\/p>\n<p>Therefore, we will disable the <strong>systemd-resolve<\/strong>. Use the following command to do so:<\/p>\n<pre>$ sudo systemctl disable systemd-resolved<\/pre>\n<p>Then stop the <strong>systemd-resolved<\/strong> using the below command:<\/p>\n<pre>$ sudo systemctl stop systemd-resolved<\/pre>\n<p>Now remove the <strong>resolv.conf<\/strong> symlink file:<\/p>\n<pre>$ sudo rm \/etc\/resolv.conf<\/pre>\n<p>Then create a new <strong>resolv.conf<\/strong> file using the below command:<\/p>\n<pre>$ sudo sh -c 'echo nameserver 8.8.8.8 &gt;&gt; \/etc\/resolv.conf'\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&nbsp;<\/div><\/div>\n\n<\/pre>\n<p>Now to install <strong>dsmasq<\/strong>, issue the below command in Terminal:<\/p>\n<pre>$ sudo apt install dnsmasq<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1528\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-305.png\" alt=\"Install Zimbra on Ubuntu\" width=\"657\" height=\"217\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-305.png 657w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-305-300x99.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/p>\n<p>Once the installation of dnsmasq is completed, run the below command to edit the dnsmasq configuration file:<\/p>\n<pre>$ sudo nano \/etc\/dnsmasq.conf<\/pre>\n<p>Add the following lines in the configuration file:<\/p>\n<pre>server=192.168.72.167\n\ndomain=test.org\n\nmx-host= test.org, mail.test.org, 5\n\nmx-host=mail.test.org, mail.test.org, 5\n\nlisten-address=127.0.0.1<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"198\" class=\"wp-image-1529\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-306.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-306.png 605w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-306-300x98.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>Then restart the dnsmasq service using the below command in Terminal:<\/p>\n<pre>$ sudo systemctl restart dnsmasq<\/pre>\n<h3>Step 4: Downloading and installing Zimbra Collaboration Tool<\/h3>\n<p>Now download Zimbra for Ubuntu 18.04 LTS from the following link:<\/p>\n<p><a href=\"https:\/\/www.zimbra.org\/download\/zimbra-collaboration\">https:\/\/www.zimbra.org\/download\/zimbra-collaboration<\/a><\/p>\n<p>Or use the following wget command in Terminal to download Zimbra:<\/p>\n<pre>$ wget <a href=\"https:\/\/files.zimbra.com\/downloads\/8.8.15_GA\/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz\">https:\/\/files.zimbra.com\/downloads\/8.8.15_GA\/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz<\/a><\/pre>\n<p>The downloaded file will be in the <strong>.tgz<\/strong> format. Issue the below command in Terminal to extract the downloaded file:<\/p>\n<pre>$ tar -xvf zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz<\/pre>\n<p>Navigate to the extracted folder using the cd command as follows:<\/p>\n<pre>$ cd zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220<\/pre>\n<p>Then run the installer as follows:<\/p>\n<pre>$ sudo .\/install.sh<\/pre>\n<p>Once the installation is started, you will see something like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1530\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-307.png\" alt=\"Install Zimbra on Ubuntu\" width=\"819\" height=\"519\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-307.png 819w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-307-300x190.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-307-768x487.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><\/p>\n<p>When the following <strong>Software License agreement<\/strong> appear, hit <strong>y<\/strong> to accept. Then again hit <strong>y<\/strong> to use <strong>Zimbra\u2019s package repository<\/strong> for installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"474\" class=\"wp-image-1531\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-308.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-308.png 742w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-308-300x192.png 300w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>When the following view appears, hit <strong>y<\/strong> for each of the packages except for the <strong>zimbra-imapd<\/strong> which is available only in the beta version.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"641\" height=\"765\" class=\"wp-image-1532\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-309.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-309.png 641w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-309-251x300.png 251w\" sizes=\"auto, (max-width: 641px) 100vw, 641px\" \/><\/p>\n<p>When you are notified that the system will be modified, hit <strong>y<\/strong> after which the installation will be started.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1533\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-310.png\" alt=\"Install Zimbra on Ubuntu\" width=\"839\" height=\"637\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-310.png 839w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-310-300x228.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-310-768x583.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>Once the installation is done, the following view will appear and you will be asked to configure the unconfigured items.<\/p>\n<p>Here, we will configure the admin password for Zimbra which is not yet configured. You can also see the <strong>Admin Password<\/strong> marked as <strong>*****<\/strong> under the <strong>zimbra-store <\/strong>section. Hit <strong>7<\/strong> on your keyboard to enter into <strong>the zimbra-store <\/strong>section<strong>.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"895\" height=\"760\" class=\"wp-image-1534\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-311.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-311.png 895w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-311-300x255.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-311-768x652.png 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/p>\n<p>Now for <strong>Admin Password<\/strong> configuration, hit <strong>4<\/strong>. You will be prompted to set the password for admin. Type any password (with a minimum of 6 characters).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1535\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-312.png\" alt=\"Install Zimbra on Ubuntu\" width=\"905\" height=\"611\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-312.png 905w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-312-300x203.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-312-768x519.png 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/p>\n<p>Now hit <strong>a<\/strong> to apply the configurations and hit <strong>y<\/strong> again to save the configurations. When you are notified that the system will be modified, hit <strong>y<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"561\" class=\"wp-image-1536\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-313.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-313.png 627w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-313-300x268.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/p>\n<p>Now you will see the following screen with the configuration completed message, hit <strong>Enter<\/strong> to exit.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"437\" class=\"wp-image-1537\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-314.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-314.png 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-314-300x181.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>Now the installation of Zimbra mail server has been completed.<\/p>\n<h3>Step 5: Access Zimbra administration page<\/h3>\n<p>Now you can access the Zimbra administration page. Open any web browser and type:<\/p>\n<p><a href=\"https:\/\/ip_adddress:7071\">https:\/\/ip_adddress:7071<\/a><\/p>\n<p>or<\/p>\n<p><a href=\"https:\/\/FQDN:7071\">https:\/\/FQDN:7071<\/a><\/p>\n<p>You will see the following default Zimbra login page. Enter <strong>admin<\/strong> as username and type password you have set earlier (as described in the previous section).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1538\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-315.png\" alt=\"Install Zimbra on Ubuntu\" width=\"1078\" height=\"652\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-315.png 1078w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-315-300x181.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-315-1024x619.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-315-768x465.png 768w\" sizes=\"auto, (max-width: 1078px) 100vw, 1078px\" \/><\/p>\n<p>Once you are logged in, you will see the following view showing the summary and other statistics.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1539\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-316.png\" alt=\"Install Zimbra on Ubuntu\" width=\"1074\" height=\"649\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-316.png 1074w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-316-300x181.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-316-1024x619.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-316-768x464.png 768w\" sizes=\"auto, (max-width: 1074px) 100vw, 1074px\" \/><\/p>\n<p>Zimbra is an open-source mail server that offers several features but on the other hand, it consumes a lot of resources. Therefore, it is recommended to install it in a machine that has enough memory, processor, and disk space available. Now, you have learned how to install Zimbra in Ubuntu. In some other posts, we will follow up with the configuration of Zimbra.<\/p>","protected":false},"excerpt":{"rendered":"<p>Zimbra Collaboration Server is open-source collaborative software that comprises a mail server and a web client. It allows for email, calendaring, creating users and distribution lists, file sharing,&hellip;<\/p>","protected":false},"author":4,"featured_media":1576,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[74],"class_list":["post-1525","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-zimbra"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=1525"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/1525\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/1576"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=1525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=1525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=1525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}