How to Install Zimbra 10 Open Source Edition on Rocky Linux 8 / 9

No official release of Zimbra v10 FOSS
Zimbra is a postal system that is basically known as an open source project from the very beginning. How was its code open?
For Zimbra 8.8.15 inclusive, the manufacturer offers a free edition of the system OSE and the commercial version of Network Edition. In the two latest versions of Zimbra 9 and 10 – the manufacturer offers access to the software only under the Network Edition commercial license. However, this does not mean that the openness of the software has been completely abandoned because the manufacturer provides the source code of the software without paying components in the NE edition.
System information
IP Address : 192.168.10.20
Domain : yourdomain.com
Hostname : mail
Configure hosts and hostname
vi /etc/hosts
Fill in the /etc/hosts file as follows
127.0.0.1 localhost
192.168.10.20 mail.yourdomain.com mail
Run the following command to setup hostname
hostnamectl set-hostname mail.yourdomain.com
Disable Selinux & Firewall
sed -i s/’SELINUX=’/’#SELINUX=’/g /etc/selinux/config
echo ‘SELINUX=disabled’ >> /etc/selinux/config
setenforce 0
service firewalld stop
service iptables stop
service ip6tables stop
systemctl disable firewalld
systemctl disable iptables
systemctl disable ip6tables
Disable service sendmail or postfix (if any)
systemctl disable –now sendmail
systemctl disable –now postfix
Update yum repository and install dependencies
Install EPEL Repo
yum update
yum install epel-release
Install dependencies
yum update -y
yum upgrade -y
yum -y install perl perl-core wget screen tar openssh-clients openssh-server dnsmasq bind-utils unzip nmap sed nc sysstat libaio rsync telnet aspell net-tools rsyslog libreoffice libreoffice-core
/etc/resolv.conf Configuration
Adjust /etc/resolv.conf as follow
nameserver 8.8.8.8
nameserver 1.1.1.1
search yourdomain.com
Test DNS using host command
host -t MX yourdomain.com
host -t A mail.yourdomain.com
The result will look like below
root@mail:~# host -t MX yourdomain.com
yourdomain.com mail is handled by 10 mail.yourdomain.com.
root@mail:~# host -t A mail.yourdomain.com
mail.yourdomain.com has address 192.168.10.20
Download Zimbra v10 OSE
Download Zimbra v10 OSE for Rocky Linux from this link: https://techfiles.online/zimbra/. Then save it to the /usr/local/src/ folder
Extract and install Zimbra 10 OSE
Run the screen command first before installing Zimbra. I always use “screen” for prevention If installing using remote installation such as SSH to the server.
Extract and Install Zimbra
cd /usr/local/src
tar -xvf zcs-10.0.0_GA_0001.RHEL8_64.20230824154520.tgz
cd zcs-10.0.0_GA_0001.RHEL8_64.20230824154520
./install.sh
Installation Process
Do you agree with the terms of the software license agreement? [N] y
Use Zimbra’s package repository [Y]
Select the packages to install
Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-dnscache [Y] N
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Install zimbra-memcached [Y] Y
Install zimbra-proxy [Y] Y
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy
The system will be modified. Continue? [N] Y
Type Yes and input domain.
DNS ERROR resolving MX for mail.yourdomain.com # if you getting MX Error then you can create private DNS first.
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Yes
Create domain: [mail.yourdomain.com] yourdomain.com
Type 6 then type 4 to provide a password for admin. Use strong password for admin. Type r to go to the previous menu. Type a and yes to process the installation
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@yourdomain.com
* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.mrkd6tqvg@yourdomain.com
Address unconfigured (**) items (? – help) 6
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@yourdomain.com
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.mrkd6tqvg@yourdomain.com
Select, or ‘r’ for previous menu [r] 4
Password for admin@yourdomain.com (min 6 characters): [TYu1iM1mJ] AdminPassword
Select, or ‘r’ for previous menu [r] r
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
— skip —
*** CONFIGURATION COMPLETE – press ‘a’ to apply
Select from menu, or press ‘a’ to apply config (? – help) a
Save configuration data to a file? [Yes] Yes
Save config in file: [/opt/zimbra/config.19711]
Saving config in /opt/zimbra/config.19711…done.
The system will be modified – continue? [No] Yes
Operations logged to /tmp/zmsetup.20231005-215512.log
You can Type Yes or No to Notify Zimbra of your installation
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (10.0.0_GA_0001_RHEL8_64)
The ADMIN EMAIL ADDRESS created (admin@yourdomain.com)
Notify Zimbra of your installation? [Yes] No
Notification skipped
Setting up zimbra crontab…done.
Moving /tmp/zmsetup.20231005-215512.log to /opt/zimbra/log
Configuration complete – press return to exit
After the installation is complete, make sure the Zimbra service is running
su – zimbra
zmcontrol status
Disable Modern UI
Since Modern UI is not available for Zimbra OSE, please disable it.
zmprov mcf zimbraModernWebClientDisabled TRUE
zmprov mc default zimbraPrefClientType advanced
Open file /opt/zimbra/jetty/webapps/zimbra/public/login.jsp
vi /opt/zimbra/jetty/webapps/zimbra/public/login.jsp
Find clientModern (line 730) and give comment (<%– and –%>) for that line
<%-- <option value="modern" <c:if test="${client eq 'modern'}">selected</c:if>> <fmt:message key="clientModern"/></option> --%>
Please test the access to webmail

Thank you
If you need information regarding Zimbra Solutions (Installation and Implementation), you can contact the Excellent Team via email to sales@serversolutionbd.com
Article help link https://imanudin.net/2023/10/06/how-to-install-zimbra-10-open-source-edition-on-rocky-linux/