zimbra 8.7.1 更新安装
1、系统环境:
cat /etc/system-release
CentOS Linux release 7.3.1611 (Core) uname -a
Linux mail.abc.com 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux zmcontrol -v
Release 8.6.0_GA_1153.RHEL7_64
2、下载zimbra 8.7.1_GA安装包解压后运行install.sh进行升级
[root@mail zcs-8.7.1_GA_1670.RHEL7_64.20161025045328]# ./install.sh Operations logged to /tmp/install.log.O3wRPSxA Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-8.6.0_GA_1153 zimbra-logger...FOUND zimbra-logger-8.6.0_GA_1153 zimbra-mta...FOUND zimbra-mta-8.6.0_GA_1153 zimbra-dnscache...NOT FOUND
zimbra-snmp...FOUND zimbra-snmp-8.6.0_GA_1153 zimbra-store...FOUND zimbra-store-8.6.0_GA_1153 zimbra-apache...FOUND zimbra-apache-8.6.0_GA_1153 zimbra-spell...FOUND zimbra-spell-8.6.0_GA_1153 zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-8.6.0_GA_1153 zimbra-proxy...FOUND zimbra-proxy-8.6.0_GA_1153 zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.6.0_GA_1153 ZCS upgrade from 8.6.0 to 8.7.1 will be performed. Checking for existing proxy service in your environment Error: proxy not enabled
Error: No proxy detected in your environment. Proxy is required for ZCS 8.7+.
See https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy for details on installing proxy.
Checking for existing memcached service in your environment Proxy and Memcached services must exist. Exiting...
显示以下错误:
Error: proxy not enabled
Error: No proxy detected in your environment. Proxy is required for ZCS 8.7+.
运行zmprov ms 启用proxy功能,mail.abc.com为示例主机名,根据自己的实际主机名进行修改。
[root@mail zcs-8.7.1_GA_1670.RHEL7_64.20161025045328]# zmprov ms mail.abc.com +zimbraServiceEnabled proxy
另如果是以下报错
Error: One or more proxies do not have zimbraReverseProxyMailEnabled and zimbraReverseProxyHttpEnabled set to TRUE.
It is required to have at least one proxy with zimbraReverseProxyMailEnabled and at least one proxy with zimbraReverseProxyHttpEnabled for ZCS 8.7+
则执行以下命令:
zmprov ms mail.abc.com zimbraReverseProxyMailEnabled TRUE zmprov ms mail.abc.com zimbraReverseProxyHttpEnabled TRUE
查询proxy相关状态可以用命令:zmprov gcf zimbraReverseProxyHttp zimbraReverseProxyMail
3、执行完zmprov ms mail.abc.com +zimbraServroxy后继续运行install.sh
[root@mail zcs-8.7.1_GA_1670.RHEL7_64.20161025045328]# zmprov ms mail.abc.com +zimbraServroxy
[root@mail zcs-8.7.1_GA_1670.RHEL7_64.20161025045328]# ./install.sh
以下为安装过程显示,显示内容比较长,浏览一下即可
Operations logged to /tmp/install.log.zWezd512 Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-8.6.0_GA_1153 zimbra-logger...FOUND zimbra-logger-8.6.0_GA_1153 zimbra-mta...FOUND zimbra-mta-8.6.0_GA_1153 zimbra-dnscache...NOT FOUND
zimbra-snmp...FOUND zimbra-snmp-8.6.0_GA_1153 zimbra-store...FOUND zimbra-store-8.6.0_GA_1153 zimbra-apache...FOUND zimbra-apache-8.6.0_GA_1153 zimbra-spell...FOUND zimbra-spell-8.6.0_GA_1153 zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-8.6.0_GA_1153 zimbra-proxy...FOUND zimbra-proxy-8.6.0_GA_1153 zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.6.0_GA_1153 ZCS upgrade from 8.6.0 to 8.7.1 will be performed.
Checking for existing proxy service in your environment
Checking for existing memcached service in your environment Validating ldap configuration
LDAP validation succeeded. Continuing.
Do you agree with the terms of the software license agreement? [N] y
Checking current number of databases...
Do you want to verify message store database integrity? [Y] y
Verifying integrity of message store databases. This may take a while. mysqld is alive No errors found
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] n
The Zimbra Collaboration Server appears to already be installed. It can be upgraded with no effect on existing accounts, or the current installation can be completely removed prior to installation for a clean install.
Do you wish to upgrade? [Y] y
Scanning for any new or additional packages available for installation Existing packages will be upgraded Upgrading zimbra-core Upgrading zimbra-ldap Upgrading zimbra-logger Upgrading zimbra-mta