{"id":3277,"date":"2021-01-08T11:13:27","date_gmt":"2021-01-08T11:13:27","guid":{"rendered":"https:\/\/linuxways.net\/?p=3277"},"modified":"2021-01-08T11:16:42","modified_gmt":"2021-01-08T11:16:42","slug":"install-zimbra-collaboration-suite-zcs-on-centos-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/install-zimbra-collaboration-suite-zcs-on-centos-8\/","title":{"rendered":"Install Zimbra Collaboration Suite (ZCS) on CentOS 8"},"content":{"rendered":"<p>Zimbra Collaboration Suite is open-source software that includes the Zimbra LDAP server, MTA (Mail Transfer Agent), and Zimbra mailbox server. It also provides you with a web-based administration panel that can be used to manage the domain and accounts. Zimbra collaboration software can run on various OS platforms including Red Hat, Ubuntu, CentOS, etc. In an earlier post, we have explained the installation of Zimbra Collaboration in <a href=\"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-zimbra-on-ubuntu-18-04-lts\/\">Ubuntu<\/a>. In today\u2019s post, we will be going to explain how to install Zimbra Collaboration Suite on CentOS 8 system.<\/p>\n<h2><strong>Prerequisites<\/strong><\/h2>\n<p>For installing and running the Zimbra Collaboration server, you should have:<\/p>\n<ul>\n<li>CentOS 8 system<\/li>\n<li>Root privileges<\/li>\n<li>A &amp; MX record for your Server<\/li>\n<li>Disk space 30 GB (at least)<\/li>\n<li>RAM 8 GB (at least)<\/li>\n<li>CPU\/Processor 2.0 GHz (at least)<\/li>\n<\/ul>\n<p>We have setup the CentOS 8 system with following specifications:<\/p>\n<ul>\n<li>Zimbra Collaboration Suite: 8.8.15 GA Release<\/li>\n<li>Domain: test.org<\/li>\n<li>Server Hostname: mail<strong>.<\/strong>test.org<\/li>\n<li><a href=\"https:\/\/linuxways.net\/de\/centos\/6-ways-to-find-your-private-ip-address-in-centos-8\/\">IP<\/a>: 192.168.72.130<\/li>\n<\/ul>\n<h2>Steps to Install Zimbra Collaboration Suite on CentOS<\/h2>\n<h3>Step 1: Install Dependencies<\/h3>\n<p>First, you will have to install some dependencies in your CentOS system. To do so, open the Terminal and execute the following command :<\/p>\n<pre>$ sudo yum install -y libidn gmp nptl nmap sysstat libaio libstdc++<\/pre>\n<h3>Step 2: Disable Unwanted Services<\/h3>\n<p>You will need to disable unwanted services so that they do not conflict with the installation of the Zimbra collaboration suite. Here, we are going to disable SELinux, firewall, and postfix.<\/p>\n<p>In order to <strong>disable SELinux<\/strong>, first execute the following command in Terminal to check if it is in \u201cEnforcing\u201d mode.<\/p>\n<pre>$ getenforce<\/pre>\n<p>If the output shows \u201cEnforcing\u201d, then change the SELinux mode to \u201cPermissive\u201d. Execute the following command to do so:<\/p>\n<pre>$ sudo setenforce 0<\/pre>\n<p>Now again run the following command to verify if the mode has been changed to \u201cPermissive\u201d:<\/p>\n<pre>$ getenforce<\/pre>\n<p>In order to <strong>disable the firewall<\/strong>, execute the following commands:<\/p>\n<pre>$ sudo systemctl stop firewalld<br \/><br \/>$ sudo systemctl disable firewalld<\/pre>\n<p>To <strong>disable Postfix,<\/strong> run the following commands:<\/p>\n<pre>$ sudo systemctl stop postfix<br \/><br \/>$ sudo systemctl disable postfix<\/pre>\n<h3>Step 3: Configure hostname and hosts file<\/h3>\n<p>Open the<strong> \/etc\/hostname<\/strong> file using the following command:<\/p>\n<pre>$ sudo nano \/etc\/hostname<\/pre>\n<p>Then in the file, add the FQDN as follows:<\/p>\n<pre>mail.test.org<\/pre>\n<p>Make sure to replace the <strong>mail.test.org<\/strong> with your FQDN. Now save and close \/<strong>etc\/hostname <\/strong>file.<\/p>\n<p>Now open the <strong>\/etc\/hosts<\/strong> file as follows:<\/p>\n<pre>$ sudo nano \/etc\/hosts<\/pre>\n<p>Add the below entry in the file:<\/p>\n<pre>192.168.72.130 mail.test.org mail<\/pre>\n<p>Now save and close \/<strong>etc\/hosts <\/strong>file.<\/p>\n<h3>Step 4: Verify A and MX Records<\/h3>\n<p>Now verify the DNS configurations for your mail server. You can do this by using the below command in Terminal:<\/p>\n<pre>$ dig -t MX test.org<\/pre>\n<p>We can see from the output below that the MX and A records for our mail server have been configured properly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"438\" class=\"wp-image-3278\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-77.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-77.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-77-300x180.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-77-501x300.png 501w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<h3>Step 5: Install Zimbra Collaboration Suite<\/h3>\n<p>Now in this step, we will download and install the Zimbra collaboration suite.<\/p>\n<p>1. To download the Zimbra collaboration suite, execute the following command in Terminal:<\/p>\n<pre>$ wget https:\/\/files.zimbra.com\/downloads\/8.8.15_GA\/zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz<\/pre>\n<p>2. The downloaded Zimbra file will be in the <strong>.tgz<\/strong> archive format. To extract the archive file, use the following command:<\/p>\n<pre>$ tar -zxvf zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz<\/pre>\n<p>3. One the file is extracted; navigate to the extracted directory using the following command:<\/p>\n<pre>$ cd zcs-8.8.15_GA_3953.RHEL8_64.20200629025823\/<\/pre>\n<p>4. In the extracted directory, you will see an installer file. To start the installation of Zimbra CS, run the installer as follows:<\/p>\n<pre>$ sudo .\/install.sh<\/pre>\n<p>After executing the above command, the installation of Zimbra will be started.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"888\" height=\"572\" class=\"wp-image-3279\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/install-zimbra-collaboration.png\" alt=\"Install zimbra collaboration\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/install-zimbra-collaboration.png 888w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/install-zimbra-collaboration-300x193.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/install-zimbra-collaboration-768x495.png 768w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/p>\n<p>5. After performing a few checks, the installer will ask you to accept the conditions of the software License Agreement. Press &#8220;y&#8221; to accept the agreement.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"350\" class=\"wp-image-3280\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-78.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-78.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-78-300x143.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>6. Now, press \u201cy\u201d when asked to use Zimbra\u2019s package repository.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"555\" class=\"wp-image-3281\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-79.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-79.png 412w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-79-223x300.png 223w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/p>\n<p>7. Now, select the packages you want to install by pressing <strong>y<\/strong>. Press <strong>y <\/strong>for all the packages with the exception of the <strong>zimbra-imapd<\/strong> which is only available in the beta edition. After selecting the packages, the system will check the required space for installation. If it verifies the required space, it starts installing the selected packages; otherwise, it stops the installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"592\" height=\"703\" class=\"wp-image-3282\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-80.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-80.png 592w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-80-253x300.png 253w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/p>\n<p>8. When the following prompt appears, press <strong>y<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"442\" class=\"wp-image-3284\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-81.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-81.png 472w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-81-300x281.png 300w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/p>\n<p>Now it will start installing the selected packages.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"702\" class=\"wp-image-3285\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-82.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-82.png 841w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-82-300x250.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-82-768x641.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/p>\n<p>9. After the installation of packages is completed, the installer will check to see if the MX record is configured in DNS. At this stage, if an error appears as you can see in the following screenshot, then you will be asked to re-enter the domain name. First, type <strong>yes<\/strong> and press <strong>Enter<\/strong> and then type your <strong>domain name<\/strong> and again press <strong>Enter<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"817\" height=\"254\" class=\"wp-image-3286\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-83.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-83.png 817w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-83-300x93.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-83-768x239.png 768w\" sizes=\"auto, (max-width: 817px) 100vw, 817px\" \/><\/p>\n<p>10. Now, the following view will appear showing you the default configurations. Here, you will also see some unconfigured option which is <strong>Admin Password<\/strong> marked with asterisks (******) to its left. To configure the <strong>Admin Password<\/strong>, press <strong>7<\/strong> from the <strong>Main menu<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1018\" height=\"961\" class=\"wp-image-3287\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-84.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-84.png 1018w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-84-300x283.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-84-768x725.png 768w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/p>\n<p>11. Then from the <strong>Store configuration<\/strong> submenu, press <strong>4<\/strong> and then press <strong>Enter<\/strong>. Then type a <strong>password<\/strong> for the admin user (should at least contain 6 characters) and press <strong>Enter<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1097\" height=\"716\" class=\"wp-image-3288\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-85.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-85.png 1097w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-85-300x196.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-85-1024x668.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-85-768x501.png 768w\" sizes=\"auto, (max-width: 1097px) 100vw, 1097px\" \/><\/p>\n<p>12. Now press &#8220;r&#8221; to return to the <strong>Main menu<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"711\" class=\"wp-image-3289\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-86.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-86.png 1015w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-86-300x210.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-86-768x538.png 768w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/p>\n<p>13. Now to apply the changes you have made, press <strong>a<\/strong> and then press <strong>Enter<\/strong>.<\/p>\n<p>14. When asked to save the configurations to a file, type <strong>yes<\/strong> to save it and then press <strong>Enter<\/strong>.<\/p>\n<p>15. After that, it will ask where you want to save the configurations. To save the configurations to the default (\/opt\/zimbra\/config.75773]) location, just press <strong>Enter<\/strong>. If you want to save it on some other location, type the <strong>directory path<\/strong> and press <strong>Enter<\/strong>.<\/p>\n<p>16. Then it will notify you that the system will be modified. Type <strong>yes<\/strong> and press <strong>Enter<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"841\" class=\"wp-image-3290\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-87.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-87.png 927w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-87-300x272.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-87-768x697.png 768w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/p>\n<p>17. When the <strong>Configuration complete <\/strong>message appears, press <strong>Enter<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"582\" class=\"wp-image-3291\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-88.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-88.png 826w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-88-300x211.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-88-768x541.png 768w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/p>\n<p>Now the installation of the Zimbra collaboration suite has been completed.<\/p>\n<h3>Step 6: Access Zimbra Administration Panel<\/h3>\n<p>Now access the Zimbra Administration panel using any web browser and typing the following URL:<\/p>\n<pre><a href=\"https:\/\/mail.test.org:70701\">https:\/\/mail.test.org:70701<\/a><\/pre>\n<p>When you open the above URL for the first time in your web browser, you will see a warning message that the connection is untrusted. You can simply ignore this message and continue. After that, a page will appear for you to type the username and password. Enter <strong>admin<\/strong> as a username and password that you have configured earlier during the installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"540\" class=\"wp-image-3292\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-89.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-89.png 966w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-89-300x168.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-89-768x429.png 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/p>\n<p>Once you are logged in, you will see the following similar dashboard where you can view the summary.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1298\" height=\"606\" class=\"wp-image-3293\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-90.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-90.png 1298w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-90-300x140.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-90-1024x478.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-90-768x359.png 768w\" sizes=\"auto, (max-width: 1298px) 100vw, 1298px\" \/><\/p>\n<h2>Uninstall Zimbra Collaboration Suite<\/h2>\n<p>In case, you no longer need Zimbra on your system, you can easily uninstall it. Open the Terminal and go to the directory which contains the Zimbra installation files.<\/p>\n<pre>$ cd zcs-8.8.15_GA_3953.RHEL8_64.20200629025823\/<\/pre>\n<p>Then execute the installer file with the -u option as follows to uninstall Zimbra from your system.<\/p>\n<pre>$ .\/install.sh -u<\/pre>\n<p>Hit <strong>y<\/strong>, when it asks if you want to completely remove the existing installation. After which it, will completely uninstall Zimbra from your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"215\" class=\"wp-image-3294\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-91.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-91.png 524w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/01\/word-image-91-300x123.png 300w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/p>\n<p>Now, use the <strong>cd<\/strong> command to go back to the main directory which contains both the Zimbra collaboration archive and extracted directory:<\/p>\n<pre>$ cd<\/pre>\n<p>Then execute the following commands to remove both the archive and extracted directory:<\/p>\n<pre>$ sudo rm zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz<\/pre>\n<pre>$ sudo rm \u2013rf zcs-8.8.15_GA_3953.RHEL8_64.20200629025823<\/pre>\n<p>By following the above step by step procedure, you can easily install the Zimbra collaboration server on the CentOS system. We have also shown you how to uninstall Zimbra, in case you no longer want it in your system.<\/p>\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Zimbra Collaboration Suite is open-source software that includes the Zimbra LDAP server, MTA (Mail Transfer Agent), and Zimbra mailbox server. It also provides you with a web-based administration&hellip;<\/p>","protected":false},"author":4,"featured_media":3283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[38,74],"class_list":["post-3277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos","tag-zimbra"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/3277","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=3277"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/3277\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/3283"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=3277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=3277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=3277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}