centos7 下安装zimbra all in one系统
Posted Jack Wu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7 下安装zimbra all in one系统相关的知识,希望对你有一定的参考价值。
Install Zimbra 8.7 on CentOS7 all in one server
We will look into installing Zimbra 8.7 on a single server. All components like Zimbra LDAP, MTA , mailbox server will be installed on single instance of CentOS 7
Preparation:
Installed CentOS 7 minimal
Set selinux to permissive
#vi /etc/selinux/config SELINUX=permissive
Disable Firewall for now.
#systemctl disable firewalld
Patch the system with latest updates
#yum update -y
Set the hostname
systemctl set-hostname zimbra.local vi /etc/hosts x.x.x.x zimbra.local
Disable postfix
#systemctl disable postfix
Reboot the system
Dependencies:
#yum install perl perl-core ntpl nmap sudo libidn gmp libaio libstdc++ unzip sysstat sqlite -y
Installation:
Download Zimbra from https://www.zimbra.com/downloads/zimbra-collaboration-open-source/
1. Unpack the file
tar xzvf zcs-8.7.0_GA_1659.RHEL7_64.20160628202714.tgz
2. cd into zcs.. directory
cd zcs-8.7.0_GA_1659.RHEL7_64.20160628202714
3. Run installation script
./install
Make correct selections on the menu
Do you agree with the terms of the software license agreement? [N] Y Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-dnscache Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-memcached Found zimbra-proxy Use Zimbra‘s package repository [Y] Y Importing Zimbra GPG key Configuring package repository Select the packages to install Install zimbra-ldap [Y] Y Install zimbra-logger [Y] Y Install zimbra-mta [Y] Y Install zimbra-dnscache [Y] Y 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-dnscache zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy The system will be modified. Continue? [N] Y
At the end you will get menu with configuration. Make sure you change all required password and take a node of all configuration settings.
Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: [email protected] 4) Admin Password set 5) Anti-virus quarantine user: [email protected] 6) Enable automated spam training: yes 7) Spam training user: [email protected] 8) Non-spam(Ham) training user: [email protected] 9) SMTP host: zimbra.yourdomain.com 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://zimbra.yourdomain.com:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: [email protected] 22) Version update source email: [email protected] 23) Install mailstore (service webapp): yes 24) 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-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) 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)
Press a to apply the changes.
Migrating mailboxes to your new server
If you need to migrate mailboxes from your old mail server you will need to first install tool called imapsync
On a CentOS 7
以上是关于centos7 下安装zimbra all in one系统的主要内容,如果未能解决你的问题,请参考以下文章
Centos7系统安装软件提示“git is not in the sudoers file. This incident will be reported“