Je viens de réussir ./install.sh sur une Debian12 : Bientôt le tuto
Création d’une VM CentOS
Depuis : Linux CentOS 8 (RHEL)
Sur KVM VMware : root / ********
Dans /etc/ssh/sshd_config
PermitRootLogin yes
Recharger le service SSH
service sshd restart
Connecter carte LABO et TEST
dhclient ens192
yum update
CentOS-8 - AppStream 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'AppStream':
gnagna gnagna
sed -i 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/CentOS-*.repo
sed -i 's/^#.*baseurl=http/baseurl=http/g' /etc/yum.repos.d/CentOS-*.repo
sed -i 's/^mirrorlist=http/#mirrorlist=http/g' /etc/yum.repos.d/CentOS-*.repo
On upgrade les paquets
yum update -y
re gnagna
sed -i 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/CentOS-*.repo
sed -i 's/^#.*baseurl=http/baseurl=http/g' /etc/yum.repos.d/CentOS-*.repo
sed -i 's/^mirrorlist=http/#mirrorlist=http/g' /etc/yum.repos.d/CentOS-*.repo
yum update
CentOS Linux 8 - AppStream 26 MB/s | 8.4 MB 00:00
CentOS Linux 8 - BaseOS 16 MB/s | 4.6 MB 00:00
CentOS Linux 8 - Extras 12 kB/s | 1.5 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
installer : dnsmasq pour que localhost fasse DNS en modifiant ensuite resolv.conf
yum install dnsmasq -y
systemctl enable dnsmasq.service
systemctl restart dnsmasq.service
netstat -ltn
OK port 53 sur 127.0.0.1
cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1 <==
nameserver 8.8.8.8
ameserver 8.8.4.4
nameserver 9.9.9.9
search local.domain <==
cat /etc/hostname
lenomdhotesimple #SLAOLZIMBRATESTlolo
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
100.124.64.57 zimbra.local.domain SLAOLZIMBRATESTlolo <==
Installer WGET
yum install wget -y
Récupérer ZIMBRA
wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz
tar xvf zcs-8.8.15_GA_3953.RHEL8_64.20200629025823.tgz
cd zcs-8.8.15_GA_3953.RHEL8_64.20200629025823
Lancer l’installeur
[0] root@SLAOLZIMBRATESTlolo zcs-8.8.15_GA_3953.RHEL8_64.20200629025823 # ./install.sh
Operations logged to /tmp/install.log.RQvC4qgQ
Checking for existing installation…
zimbra-drive…NOT FOUND
zimbra-imapd…NOT FOUND
zimbra-patch…NOT FOUND
zimbra-mta-patch…NOT FOUND
zimbra-proxy-patch…NOT FOUND
zimbra-license-tools…NOT FOUND
zimbra-license-extension…NOT FOUND
zimbra-network-store…NOT FOUND
zimbra-network-modules-ng…NOT FOUND
zimbra-chat…NOT FOUND
zimbra-talk…NOT FOUND
zimbra-ldap…NOT FOUND
zimbra-logger…NOT FOUND
zimbra-mta…NOT FOUND
zimbra-dnscache…NOT FOUND
zimbra-snmp…NOT FOUND
zimbra-store…NOT FOUND
zimbra-apache…NOT FOUND
zimbra-spell…NOT FOUND
zimbra-convertd…NOT FOUND
zimbra-memcached…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-core…NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
Do you agree with the terms of the software license agreement? [N] y
Use Zimbra's package repository [Y] y
Configuring package repository
Checking for installable packages
Found zimbra-core (local)
Found zimbra-ldap (local)
Found zimbra-logger (local)
Found zimbra-mta (local)
Found zimbra-dnscache (local)
Found zimbra-snmp (local)
Found zimbra-store (local)
Found zimbra-apache (local)
Found zimbra-spell (local)
Found zimbra-memcached (repo)
Found zimbra-proxy (local)
Found zimbra-drive (repo)
Found zimbra-imapd (local)
Found zimbra-patch (repo)
Found zimbra-mta-patch (repo)
Found zimbra-proxy-patch (repo)
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] n
Install zimbra-drive [Y] y
Install zimbra-imapd (BETA - for evaluation only) [N] y
Install zimbra-chat [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-drive
zimbra-imapd
zimbra-patch
zimbra-mta-patch
zimbra-chat
The system will be modified. Continue? [N] y
Beginning Installation - see /tmp/install.log.RQvC4qgQ for details…
zimbra-core-components will be downloaded and installed.
zimbra-common-core-jar will be installed.
zimbra-common-core-libs will be installed.
zimbra-common-mbox-conf will be installed.
zimbra-common-mbox-conf-attrs will be installed.
zimbra-common-mbox-conf-msgs will be installed.
zimbra-common-mbox-conf-rights will be installed.
zimbra-common-mbox-db will be installed.
zimbra-common-mbox-docs will be installed.
zimbra-common-mbox-native-lib will be installed.
zimbra-timezone-data will be installed.
zimbra-core will be installed.
zimbra-ldap-components will be downloaded and installed.
zimbra-ldap will be installed.
zimbra-logger will be installed.
zimbra-mta-components will be downloaded and installed.
zimbra-mta will be installed.
zimbra-snmp-components will be downloaded and installed.
zimbra-snmp will be installed.
Last metadata expiration check: 0:01:37 ago on Thu 24 Jul 2025 10:02:19 AM CEST.
zimbra-jetty-distribution will be downloaded and installed.
zimbra-store-components will be downloaded and installed.
zimbra-mbox-admin-console-war will be installed.
zimbra-mbox-conf will be installed.
zimbra-mbox-war will be installed.
zimbra-mbox-service will be installed.
zimbra-mbox-store-libs will be installed.
zimbra-mbox-webclient-war will be installed.
zimbra-store will be installed.
zimbra-apache-components will be downloaded and installed.
zimbra-apache will be installed.
zimbra-spell-components will be downloaded and installed.
zimbra-spell will be installed.
Last metadata expiration check: 0:01:41 ago on Thu 24 Jul 2025 10:02:19 AM CEST.
zimbra-memcached will be downloaded and installed.
Last metadata expiration check: 0:01:44 ago on Thu 24 Jul 2025 10:02:19 AM CEST.
zimbra-drive will be downloaded and installed (later).
zimbra-imapd will be installed.
Last metadata expiration check: 0:01:44 ago on Thu 24 Jul 2025 10:02:19 AM CEST.
zimbra-patch will be downloaded and installed (later).
Last metadata expiration check: 0:01:45 ago on Thu 24 Jul 2025 10:02:19 AM CEST.
zimbra-mta-patch will be downloaded and installed (later).
Last metadata expiration check: 0:01:47 ago on Thu 24 Jul 2025 10:02:19 AM CEST.
zimbra-chat will be downloaded and installed (later).
Downloading packages (9):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-snmp-components
zimbra-jetty-distribution
zimbra-store-components
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
…done
Removing /opt/zimbra
Removing zimbra crontab entry…done.
Cleaning up zimbra init scripts…done.
Cleaning up /etc/security/limits.conf…done.
Finished removing Zimbra Collaboration Server.
Installing repo packages (9):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-snmp-components
zimbra-jetty-distribution
zimbra-store-components
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
…done
Installing local packages (25):
zimbra-common-core-jar
zimbra-common-core-libs
zimbra-common-mbox-conf
zimbra-common-mbox-conf-attrs
zimbra-common-mbox-conf-msgs
zimbra-common-mbox-conf-rights
zimbra-common-mbox-db
zimbra-common-mbox-docs
zimbra-common-mbox-native-lib
zimbra-timezone-data
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-mbox-admin-console-war
zimbra-mbox-conf
zimbra-mbox-war
zimbra-mbox-service
zimbra-mbox-store-libs
zimbra-mbox-webclient-war
zimbra-store
zimbra-apache
zimbra-spell
zimbra-imapd
…done
Installing extra packages (4):
zimbra-drive
zimbra-patch
zimbra-mta-patch
zimbra-chat
…done
Running Post Installation Configuration:
Installing zimbra-ldap-patch
Operations logged to /tmp/zmsetup.20250724-100636.log
Installing LDAP configuration database…done.
Setting defaults…
DNS ERROR resolving MX for zimbra.local.domain
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] n
done.
Checking for port conflicts
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@zimbra.local.domain
* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.kx0uhosk7@zimbra.local.domain
+Enable automated spam training: yes
+Spam training user: spam.oe5ygao7n@zimbra.local.domain
+Non-spam(Ham) training user: ham.sjnslzad@zimbra.local.domain
+SMTP host: zimbra.local.domain
+Web server HTTP port: 8080
+Web server HTTPS port: 8443
+HTTP proxy port: 80
+HTTPS proxy port: 443
+Web server mode: https
+IMAP server port: 7143
+IMAP server SSL port: 7993
+IMAP proxy port: 143
+IMAP SSL proxy port: 993
+POP server port: 7110
+POP server SSL port: 7995
+POP proxy port: 110
+POP SSL proxy port: 995
+Use spell check server: yes
+Spell server URL: http://zimbra.local.domain:7780/aspell.php
+Configure for use with mail proxy: TRUE
+Configure for use with web proxy: TRUE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@zimbra.local.domain
+Version update source email: admin@zimbra.local.domain
+Install mailstore (service webapp): yes
+Install UI (zimbra,zimbraAdmin webapps): yes
7) zimbra-spell: Enabled
8) zimbra-imapd: Enabled
9) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 6
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@zimbra.local.domain
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.kx0uhosk7@zimbra.local.domain
6) Enable automated spam training: yes
7) Spam training user: spam.oe5ygao7n@zimbra.local.domain
8) Non-spam(Ham) training user: ham.sjnslzad@zimbra.local.domain
9) SMTP host: zimbra.local.domain
10) Web server HTTP port: 8080
11) Web server HTTPS port: 8443
12) HTTP proxy port: 80
13) HTTPS proxy port: 443
14) Web server mode: https
15) IMAP server port: 7143
16) IMAP server SSL port: 7993
17) IMAP proxy port: 143
18) IMAP SSL proxy port: 993
19) POP server port: 7110
20) POP server SSL port: 7995
21) POP proxy port: 110
22) POP SSL proxy port: 995
23) Use spell check server: yes
24) Spell server URL: http://zimbra.local.domain:7780/aspell.php
25) Configure for use with mail proxy: TRUE
26) Configure for use with web proxy: TRUE
27) Enable version update checks: TRUE
28) Enable version update notifications: TRUE
29) Version update notification email: admin@zimbra.local.domain
30) Version update source email: admin@zimbra.local.domain
31) Install mailstore (service webapp): yes
32) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4
Password for admin@zimbra.local.domain (min 6 characters): [IcvkbMz9] <=====
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@zimbra.local.domain
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.kx0uhosk7@zimbra.local.domain
6) Enable automated spam training: yes
7) Spam training user: spam.oe5ygao7n@zimbra.local.domain
8) Non-spam(Ham) training user: ham.sjnslzad@zimbra.local.domain
9) SMTP host: zimbra.local.domain
10) Web server HTTP port: 8080
11) Web server HTTPS port: 8443
12) HTTP proxy port: 80
13) HTTPS proxy port: 443
14) Web server mode: https
15) IMAP server port: 7143
16) IMAP server SSL port: 7993
17) IMAP proxy port: 143
18) IMAP SSL proxy port: 993
19) POP server port: 7110
20) POP server SSL port: 7995
21) POP proxy port: 110
22) POP SSL proxy port: 995
23) Use spell check server: yes
24) Spell server URL: http://zimbra.local.domain:7780/aspell.php
25) Configure for use with mail proxy: TRUE
26) Configure for use with web proxy: TRUE
27) Enable version update checks: TRUE
28) Enable version update notifications: TRUE
29) Version update notification email: admin@zimbra.local.domain
30) Version update source email: admin@zimbra.local.domain
31) Install mailstore (service webapp): yes
32) Install UI (zimbra,zimbraAdmin webapps): yes
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
5) zimbra-snmp: Enabled
6) zimbra-store: Enabled
7) zimbra-spell: Enabled
8) zimbra-imapd: Enabled
9) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) s
Save config in file: [/opt/zimbra/config.165246]
Saving config in /opt/zimbra/config.165246…done.
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
7) zimbra-spell: Enabled
8) zimbra-imapd: Enabled
9) Default Class of Service Configuration:
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.165246]
Saving config in /opt/zimbra/config.165246…done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.20250724-100636.log
Setting local config values…done.
Initializing core config…Setting up CA…done.
Deploying CA to /opt/zimbra/conf/ca …done.
Creating SSL zimbra-imapd certificate…done.
Creating new zimbra-store SSL certificate…done.
Creating new zimbra-ldap SSL certificate…done.
Creating new zimbra-mta SSL certificate…done.
Installing mailboxd SSL certificates…done.
Installing imapd SSL certificates…done.
Installing MTA SSL certificates…done.
Installing LDAP SSL certificate…done.
Initializing ldap…done.
Setting replication password…done.
Setting Postfix password…done.
Setting amavis password…done.
Setting nginx password…done.
Setting BES searcher password…done.
Creating server entry for zimbra.local.domain…done.
Setting Zimbra IP Mode…done.
Saving CA in ldap…done.
Saving SSL Certificate in ldap…done.
Setting spell check URL…done.
Setting service ports on zimbra.local.domain…done.
Setting zimbraFeatureTasksEnabled=TRUE…done.
Setting zimbraFeatureBriefcasesEnabled=TRUE…done.
Checking current setting of zimbraReverseProxyAvailableLookupTargets
Querying LDAP for other mailstores
Searching LDAP for reverseProxyLookupTargets…done.
Adding zimbra.local.domain to zimbraReverseProxyAvailableLookupTargets
Updating zimbraLDAPSchemaVersion to version '1649766200'
Setting TimeZone Preference…done.
Initializing mta config…done.
Setting services on zimbra.local.domain…done.
Adding zimbra.local.domain to zimbraMailHostPool in default COS…done.
Creating domain zimbra.local.domain…done.
Setting default domain name…done.
Creating domain zimbra.local.domain…already exists.
Creating admin account admin@zimbra.local.domain…done.
Creating root alias…done.
Creating postmaster alias…done.
Creating user spam.oe5ygao7n@zimbra.local.domain…done.
Creating user ham.sjnslzad@zimbra.local.domain…done.
Creating user virus-quarantine.kx0uhosk7@zimbra.local.domain…done.
Setting spam training and Anti-virus quarantine accounts…done.
Initializing store sql database…done.
Setting zimbraSmtpHostname for zimbra.local.domain…done.
Configuring SNMP…done.
Setting up syslog.conf…done.
Enabling IMAP protocol for zimbra-imapd service…done.
Enabling IMAPS protocol for zimbra-imapd service…done.
Setting java options…done.
Starting servers…done.
Enabling jetty logging…done.
Installing common zimlets…
com_zimbra_adminversioncheck…done.
com_zimbra_attachcontacts…done.
com_zimbra_attachmail…done.
com_zimbra_bulkprovision…done.
com_zimbra_cert_manager…done.
com_zimbra_date…done.
com_zimbra_email…done.
com_zimbra_mailarchive…done.
com_zimbra_phone…done.
com_zimbra_proxy_config…done.
com_zimbra_srchhighlighter…done.
com_zimbra_tooltip…done.
com_zimbra_url…done.
com_zimbra_viewmail…done.
com_zimbra_webex…done.
com_zimbra_ymemoticons…done.
com_zextras_drive_open…done.
com_zextras_chat_open…done.
Finished installing common zimlets.
Restarting mailboxd…done.
Creating galsync account for default domain…done.
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 (8.8.15_GA_3953_RHEL8_64)
The ADMIN EMAIL ADDRESS created (admin@zimbra.local.domain)
Notify Zimbra of your installation? [Yes] no
Notification skipped
Checking if the NG started running…done.
Setting up zimbra crontab…done.
Moving /tmp/zmsetup.20250724-100636.log to /opt/zimbra/log
Configuration complete - press return to exit
[0] root@SLAOLZIMBRATESTlolo zcs-8.8.15_GA_3953.RHEL8_64.20200629025823 # service --status-all
Host zimbra.local.domain
amavis Running
antispam Running
antivirus Running
imapd Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
service webapp Running
snmp Running
spell Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running