zimbra8.7升级到zimbra8.8.12

升级zimbra从8.7到8.8,总体来说很简单,下载最新的zimbra8.8,解压执行 ./install.sh,按照提示操作即可。

升级过程如下:

[root@mail.example.com conf]# cd /opt/software/
[root@mail.example.com software]# wget https://files.zimbra.com/downloads/8.8.12_GA/zcs-8.8.12_GA_3794.RHEL6_64.20190329045002.tgz
[root@mail.example.com software]# tar -zxvf zcs-8.8.12_GA_3794.RHEL6_64.20190329045002.tgz 
[root@mail.example.com software]# cd zcs-8.8.12_GA_3794.RHEL6_64.20190329045002
[root@mail.example.com zcs-8.8.12_GA_3794.RHEL6_64.20190329045002]# ll
total 44
drwxrwxr-x 2 503 503 4096 Mar 29 17:54 bin
drwxrwxr-x 2 503 503 4096 Mar 29 17:54 data
drwxrwxr-x 3 503 503 4096 Mar 29 17:54 docs
-rwxr-xr-x 1 503 503 8873 Mar 29 17:54 install.sh
drwxrwxr-x 3 503 503 4096 Mar 29 17:54 lib
drwxrwxr-x 2 503 503 4096 Mar 29 17:54 packages
-rw-rw-r-- 1 503 503  369 Mar 29 17:54 readme_binary_en_US.txt
-rw-rw-r-- 1 503 503  428 Mar 29 17:54 README.txt
drwxrwxr-x 3 503 503 4096 Mar 29 17:54 util
[root@mail.example.com zcs-8.8.12_GA_3794.RHEL6_64.20190329045002]# ./install.sh 

Operations logged to /tmp/install.log.lKt4sK6a
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...FOUND zimbra-ldap-8.7.1_GA_1670
    zimbra-logger...FOUND zimbra-logger-8.7.1_GA_1670
    zimbra-mta...FOUND zimbra-mta-8.7.1_GA_1670
    zimbra-dnscache...FOUND zimbra-dnscache-8.7.1_GA_1670
    zimbra-snmp...FOUND zimbra-snmp-8.7.1_GA_1670
    zimbra-store...FOUND zimbra-store-8.7.1_GA_1670
    zimbra-apache...FOUND zimbra-apache-8.7.1_GA_1670
    zimbra-spell...FOUND zimbra-spell-8.7.1_GA_1670
    zimbra-convertd...NOT FOUND
    zimbra-memcached...FOUND zimbra-memcached-1.4.25-1zimbra8.7b1
    zimbra-proxy...FOUND zimbra-proxy-8.7.1_GA_1670
    zimbra-archiving...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.7.1_GA_1670
ZCS upgrade from 8.7.1 to 8.8.12 will be performed.
Validating ldap configuration
LDAP validation succeeded.  Continuing.


----------------------------------------------------------------------
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



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


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)


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
    Upgrading zimbra-dnscache
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
    Upgrading zimbra-memcached
    Upgrading zimbra-proxy

Install zimbra-drive [N] y

Install zimbra-imapd (BETA - for evaluation only) [N] y

Install zimbra-chat [N] 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
    zimbra-drive
    zimbra-imapd
    zimbra-patch
    zimbra-mta-patch
    zimbra-proxy-patch
    zimbra-chat

The system will be modified.  Continue? [N] y

Beginning Installation - see /tmp/install.log.lKt4sK6a for details...

                          zimbra-core-components will be downloaded and installed.
                            zimbra-timezone-data will be installed.
                         zimbra-common-mbox-conf will be installed.
                           zimbra-common-mbox-db will be installed.
                    zimbra-common-mbox-conf-msgs will be installed.
                  zimbra-common-mbox-conf-rights will be installed.
                         zimbra-common-mbox-docs will be installed.
                          zimbra-common-core-jar will be installed.
                   zimbra-common-mbox-native-lib will be installed.
                   zimbra-common-mbox-conf-attrs will be installed.
                         zimbra-common-core-libs 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-dnscache-components will be downloaded and installed.
                                 zimbra-dnscache will be installed.
                          zimbra-snmp-components will be downloaded and installed.
                                     zimbra-snmp will be installed.
                         zimbra-store-components will be downloaded and installed.
                       zimbra-jetty-distribution will be downloaded and installed.
                                 zimbra-mbox-war will be installed.
                                zimbra-mbox-conf will be installed.
                             zimbra-mbox-service will be installed.
                          zimbra-mbox-store-libs will be installed.
                   zimbra-mbox-admin-console-war 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.
                                zimbra-memcached will be downloaded and installed.
                         zimbra-proxy-components will be downloaded and installed.
                                    zimbra-proxy will be installed.
                                    zimbra-drive will be downloaded and installed (later).
                                    zimbra-imapd will be installed.
                                    zimbra-patch will be downloaded and installed (later).
                                zimbra-mta-patch will be downloaded and installed (later).
                              zimbra-proxy-patch will be downloaded and installed (later).
                                     zimbra-chat will be downloaded and installed (later).

Downloading packages (11):
   zimbra-core-components
   zimbra-ldap-components
   zimbra-mta-components
   zimbra-dnscache-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
   zimbra-memcached
   zimbra-proxy-components
      ...done

Saving existing configuration file to /opt/zimbra/.saveconfig

Shutting down zimbra mail

Backing up the ldap database...done.
Upgrading the remote packages

Removing deployed webapp directories

Installing repo packages (11):
   zimbra-core-components
   zimbra-ldap-components
   zimbra-mta-components
   zimbra-dnscache-components
   zimbra-snmp-components
   zimbra-store-components
   zimbra-jetty-distribution
   zimbra-apache-components
   zimbra-spell-components
   zimbra-memcached
   zimbra-proxy-components
      ...done

Installing local packages (27):
   zimbra-timezone-data
   zimbra-common-mbox-conf
   zimbra-common-mbox-db
   zimbra-common-mbox-conf-msgs
   zimbra-common-mbox-conf-rights
   zimbra-common-mbox-docs
   zimbra-common-core-jar
   zimbra-common-mbox-native-lib
   zimbra-common-mbox-conf-attrs
   zimbra-common-core-libs
   zimbra-core
   zimbra-ldap
   zimbra-logger
   zimbra-mta
   zimbra-dnscache
   zimbra-snmp
   zimbra-mbox-war
   zimbra-mbox-conf
   zimbra-mbox-service
   zimbra-mbox-store-libs
   zimbra-mbox-admin-console-war
   zimbra-mbox-webclient-war
   zimbra-store
   zimbra-apache
   zimbra-spell
   zimbra-proxy
   zimbra-imapd
      ...done

Installing extra packages (5):
   zimbra-drive
   zimbra-patch
   zimbra-mta-patch
   zimbra-proxy-patch
   zimbra-chat
      ...done

Running Post Installation Configuration:

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
   HOSTNAME=mail.example.com
   LDAPHOST=mail.example.com
   LDAPPORT=389
   SNMPTRAPHOST=mail.example.com
   SMTPSOURCE=admin@example.com
   SMTPDEST=admin@example.com
   SNMPNOTIFY=yes
   SMTPNOTIFY=yes
   LDAPROOTPW=*
   LDAPZIMBRAPW=*
   LDAPPOSTPW=*
   LDAPREPPW=*
   LDAPAMAVISPW=*
   LDAPNGINXPW=*
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup.20190501-012445.log
Adding /opt/zimbra/conf/ca/ca.pem to cacerts
Upgrading from 8.7.1_GA_1670 to 8.8.12_GA_3794
Stopping zimbra services...done.
This appears to be 8.7.1_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Checking ldap status...already running.
Running mysql_upgrade...done.
Schema upgrade required from version 107 to 109.
Running /opt/zimbra/libexec/scripts/migrate20170301-ZimbraChat.pl
Wed May  1 01:25:33 2019: Verified schema version 107.
Wed May  1 01:25:35 2019: Verified schema version 107.
Wed May  1 01:25:35 2019: Updating DB schema version from 107 to 108.
Running /opt/zimbra/libexec/scripts/migrate20180301-ZimbraChat.pl
Wed May  1 01:25:39 2019: Verified schema version 108.
Wed May  1 01:25:41 2019: Verified schema version 108.
Wed May  1 01:25:41 2019: Updating DB schema version from 108 to 109.
Stopping mysql...done.
Updating zimbraLDAPSchemaVersion to version '1537783098'
Applying updates for 8.7.2_GA 
Applying updates for 8.8.6_GA 
Applying updates for 8.8.11_GA 
applying 8811GA upgrade changesStopping ldap...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Applying updates for 8.8.12_GA 
applying 8812GA upgrade changes
Updating to CA certs path
Updating global config and COS's with attributes introduced after 8.7.1_GA...done.
Stopping ldap...done.
Upgrade complete.

Checking ldap status....not running.
Starting ldap...done.
Setting defaults...done.
Setting defaults from existing config...done.
Checking for port conflicts
Setting defaults from ldap...done.
Saving config in /opt/zimbra/config.25957...done.
Operations logged to /tmp/zmsetup.20190501-012445.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.
Installing imapd SSL certificates...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail.example.com...already exists.
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 mail.example.com...done.
Setting Keyboard Shortcut Preferences...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting Master DNS IP address(es)...done.
Setting DNS cache tcp lookup preference...done.
Setting DNS cache udp lookup preference...done.
Setting DNS tcp upstream preference...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.example.com...done.
Adding mail.example.com to zimbraMailHostPool in default COS...done.
Creating user spam.p0tsdfur@example.com...already exists.
Creating user ham.jmgtgwbjh@example.com...already exists.
Creating user virus-quarantine.m58yuisviv@example.com...already exists.
Setting spam training and Anti-virus quarantine accounts...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.
Starting servers...done.
Checking for deprecated zimlets...done.
Checking for network zimlets in LDAP...done.
Removing network zimlets...
Finished removing network zimlets.
Installing common zimlets...
        com_zimbra_cert_manager...done.
        com_zimbra_phone...done.
        com_zimbra_mailarchive...done.
        com_zimbra_attachcontacts...done.
        com_zimbra_proxy_config...done.
        com_zimbra_bulkprovision...done.
        com_zextras_chat_open...done.
        com_zimbra_srchhighlighter...done.
        com_zimbra_date...done.
        com_zimbra_clientuploader...done.
        com_zimbra_attachmail...done.
        com_zextras_drive_open...done.
        com_zimbra_adminversioncheck...done.
        com_zimbra_viewmail...done.
        com_zimbra_email...done.
        com_zimbra_tooltip...done.
        com_zimbra_webex...done.
        com_zimbra_url...done.
        com_zimbra_ymemoticons...done.
Finished installing common zimlets.
Getting list of all zimlets...done.
Updating non-standard zimlets...
Finished updating non-standard zimlets.
Restarting mailboxd...done.
Skipping creation of default domain GAL sync account - existing install detected.

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.12_GA_3794_RHEL6_64)
        The ADMIN EMAIL ADDRESS created (admin@example.com)

Notify Zimbra of your installation? [Yes] no
Notification skipped
Checking if the NG started running...done. 
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.20190501-012445.log to /opt/zimbra/log


Configuration complete - press return to exit 


[root@mail.example.com zcs-8.8.12_GA_3794.RHEL6_64.20190329045002]#

 

 

版权声明:
作者:admin
链接:https://www.chenxie.net/archives/2082.html
来源:蜀小陈
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>