Опишу процесс обновления версии Zimbra.
1. Скачиваем файл для установки cs-8.7.11_GA_1854.RHEL7_64.20170531151956.tgz. Ссылки можно взять здесь.
[root@mail ~]# wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.RHEL7_64.20170531151956.tgz
2. Распаковываем архив
[root@mail ~]# tar -xvf zcs-8.7.11_GA_1854.RHEL7_64.20170531151956.tgz
3. Переходим в каталог и запускаем скрипт
Так же на данном этапе у вас может появится ошибка:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:
<ip> <FQHN> <HN>
Where <IP> is the ip address of the host,
<FQHN> is the FULLY QUALIFIED host name, and
<HN> is the (optional) hostname-only portion
5. Далее приведу весь процесс в моем случае с начала запуска скрипта
[root@mail zcs-8.7.11_GA_1854.RHEL7_64.20170531151956]# ./install.sh
Operations logged to /tmp/install.log.QOBTfOzZ
Checking for existing installation...
zimbra-chat...NOT FOUND
zimbra-drive...NOT FOUND
zimbra-suiteplus...NOT FOUND
zimbra-ldap...FOUND zimbra-ldap-8.7.2_GA_1736
zimbra-logger...FOUND zimbra-logger-8.7.2_GA_1736
zimbra-mta...FOUND zimbra-mta-8.7.2_GA_1736
zimbra-dnscache...FOUND zimbra-dnscache-8.7.2_GA_1736
zimbra-snmp...FOUND zimbra-snmp-8.7.2_GA_1736
zimbra-store...FOUND zimbra-store-8.7.2_GA_1736
zimbra-apache...FOUND zimbra-apache-8.7.2_GA_1736
zimbra-spell...FOUND zimbra-spell-8.7.2_GA_1736
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-1.4.25-1zimbra8.7b1
zimbra-proxy...FOUND zimbra-proxy-8.7.2_GA_1736
zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.7.2_GA_1736
ZCS upgrade from 8.7.2 to 8.7.11 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-chat (repo)
Found zimbra-drive (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-chat [N] n # если вам нужен chat или он у вас уже есть, то указываем "y"
Install zimbra-drive [N] n #если вам нужен drive или он у вас уже есть, то указываем "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
Beginning Installation - see /tmp/install.log.QOBTfOzZ for details...
zimbra-core will be installed.
zimbra-core-components will be downloaded and installed.
zimbra-ldap will be installed.
zimbra-ldap-components will be downloaded and installed.
zimbra-logger will be installed.
zimbra-mta will be installed.
zimbra-mta-components will be downloaded and installed.
zimbra-dnscache will be installed.
zimbra-dnscache-components will be downloaded and installed.
zimbra-snmp will be installed.
zimbra-snmp-components will be downloaded and installed.
zimbra-store will be installed.
zimbra-store-components will be downloaded and installed.
zimbra-apache will be installed.
zimbra-apache-components will be downloaded and installed.
zimbra-spell will be installed.
zimbra-spell-components will be downloaded and installed.
zimbra-memcached will be downloaded and installed.
zimbra-proxy will be installed.
zimbra-proxy-components will be downloaded and installed.
Downloading packages (10):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-dnscache-components
zimbra-snmp-components
zimbra-store-components
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 (10):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-dnscache-components
zimbra-snmp-components
zimbra-store-components
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
zimbra-proxy-components
...done
Installing local packages (10):
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-dnscache
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-proxy
...done
Running Post Installation Configuration:
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=mail.server.com
LDAPHOST=mail.server.com
LDAPPORT=389
SNMPTRAPHOST=mail.server.com
SMTPSOURCE=admin@mail.server.com
SMTPDEST=admin@mail.server.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.20171124-224019.log
Adding /opt/zimbra/conf/ca/ca.pem to cacerts
Upgrading from 8.7.2_GA_1736 to 8.7.11_GA_1854
Stopping zimbra services...done.
This appears to be 8.7.2_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Checking ldap status...already running.
Schema upgrade required from version 107 to 108.
Running /opt/zimbra/libexec/scripts/migrate20170301-ZimbraChat.pl
Fri Nov 24 22:40:58 2017: Verified schema version 107.
Fri Nov 24 22:41:00 2017: Verified schema version 107.
Fri Nov 24 22:41:00 2017: Updating DB schema version from 107 to 108.
Stopping mysql...done.
Applying updates for 8.7.2_GA
Updating global config and COS's with attributes introduced after 8.7.2_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.56848...done.
Operations logged to /tmp/zmsetup.20171124-224019.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail.server.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.server.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.server.com...done.
Adding mail.server.com to zimbraMailHostPool in default COS...done.
Creating user spam.ran5yl_jx@server.com...already exists.
Creating user ham.xtfrhqnd@server.com...already exists.
Creating user virus-quarantine.sw5xq7tr@server.com...already exists.
Setting spam training and Anti-virus quarantine accounts...done.
Configuring SNMP...done.
Setting up syslog.conf...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_adminversioncheck...done.
com_zimbra_attachcontacts...done.
com_zimbra_attachmail...done.
com_zimbra_bulkprovision...done.
com_zimbra_cert_manager...done.
com_zimbra_clientuploader...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.
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.7.11_GA_1854_RHEL7_64)
The ADMIN EMAIL ADDRESS created (admin@mail.server.com)
Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20171124-224019.log to /opt/zimbra/log
Configuration complete - press return to exit
PS
https://pnyet.web.id/how-upgrade-zimbra-8-7-9
https://github.com/jorgedlcruz/zimbra_bits
http://www.itzgeek.com/how-tos/linux/centos-how-tos/change-hostname-in-centos-7-rhel-7.html
1. Скачиваем файл для установки cs-8.7.11_GA_1854.RHEL7_64.20170531151956.tgz. Ссылки можно взять здесь.
[root@mail ~]# wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.RHEL7_64.20170531151956.tgz
2. Распаковываем архив
[root@mail ~]# tar -xvf zcs-8.7.11_GA_1854.RHEL7_64.20170531151956.tgz
3. Переходим в каталог и запускаем скрипт
[root@mail ~]# cd zcs-8.7.11_GA_1854.RHEL7_64.20170531151956/
[root@mail zcs-8.7.11_GA_1854.RHEL7_64.20170531151956]# ./install.sh
4. Далее идет запрос на соглашение с лицензией и пишем Y
Do you agree with the terms of the software license agreement? [N] yТак же на данном этапе у вас может появится ошибка:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:
<ip> <FQHN> <HN>
Where <IP> is the ip address of the host,
<FQHN> is the FULLY QUALIFIED host name, and
<HN> is the (optional) hostname-only portion
Для ее решения нужно проверить, что верное имя сервера в файле /etc/hosts и так же оно совпадает с выводом команды hostname -f
5. Далее приведу весь процесс в моем случае с начала запуска скрипта
[root@mail zcs-8.7.11_GA_1854.RHEL7_64.20170531151956]# ./install.sh
Operations logged to /tmp/install.log.QOBTfOzZ
Checking for existing installation...
zimbra-chat...NOT FOUND
zimbra-drive...NOT FOUND
zimbra-suiteplus...NOT FOUND
zimbra-ldap...FOUND zimbra-ldap-8.7.2_GA_1736
zimbra-logger...FOUND zimbra-logger-8.7.2_GA_1736
zimbra-mta...FOUND zimbra-mta-8.7.2_GA_1736
zimbra-dnscache...FOUND zimbra-dnscache-8.7.2_GA_1736
zimbra-snmp...FOUND zimbra-snmp-8.7.2_GA_1736
zimbra-store...FOUND zimbra-store-8.7.2_GA_1736
zimbra-apache...FOUND zimbra-apache-8.7.2_GA_1736
zimbra-spell...FOUND zimbra-spell-8.7.2_GA_1736
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-1.4.25-1zimbra8.7b1
zimbra-proxy...FOUND zimbra-proxy-8.7.2_GA_1736
zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.7.2_GA_1736
ZCS upgrade from 8.7.2 to 8.7.11 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-chat (repo)
Found zimbra-drive (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-chat [N] n # если вам нужен chat или он у вас уже есть, то указываем "y"
Install zimbra-drive [N] n #если вам нужен drive или он у вас уже есть, то указываем "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
Beginning Installation - see /tmp/install.log.QOBTfOzZ for details...
zimbra-core will be installed.
zimbra-core-components will be downloaded and installed.
zimbra-ldap will be installed.
zimbra-ldap-components will be downloaded and installed.
zimbra-logger will be installed.
zimbra-mta will be installed.
zimbra-mta-components will be downloaded and installed.
zimbra-dnscache will be installed.
zimbra-dnscache-components will be downloaded and installed.
zimbra-snmp will be installed.
zimbra-snmp-components will be downloaded and installed.
zimbra-store will be installed.
zimbra-store-components will be downloaded and installed.
zimbra-apache will be installed.
zimbra-apache-components will be downloaded and installed.
zimbra-spell will be installed.
zimbra-spell-components will be downloaded and installed.
zimbra-memcached will be downloaded and installed.
zimbra-proxy will be installed.
zimbra-proxy-components will be downloaded and installed.
Downloading packages (10):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-dnscache-components
zimbra-snmp-components
zimbra-store-components
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 (10):
zimbra-core-components
zimbra-ldap-components
zimbra-mta-components
zimbra-dnscache-components
zimbra-snmp-components
zimbra-store-components
zimbra-apache-components
zimbra-spell-components
zimbra-memcached
zimbra-proxy-components
...done
Installing local packages (10):
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-dnscache
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-proxy
...done
Running Post Installation Configuration:
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=mail.server.com
LDAPHOST=mail.server.com
LDAPPORT=389
SNMPTRAPHOST=mail.server.com
SMTPSOURCE=admin@mail.server.com
SMTPDEST=admin@mail.server.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.20171124-224019.log
Adding /opt/zimbra/conf/ca/ca.pem to cacerts
Upgrading from 8.7.2_GA_1736 to 8.7.11_GA_1854
Stopping zimbra services...done.
This appears to be 8.7.2_GA
Starting mysql...done.
Checking ldap status...not running.
Checking ldap status...not running.
Starting ldap...done.
Checking ldap status...already running.
Schema upgrade required from version 107 to 108.
Running /opt/zimbra/libexec/scripts/migrate20170301-ZimbraChat.pl
Fri Nov 24 22:40:58 2017: Verified schema version 107.
Fri Nov 24 22:41:00 2017: Verified schema version 107.
Fri Nov 24 22:41:00 2017: Updating DB schema version from 107 to 108.
Stopping mysql...done.
Applying updates for 8.7.2_GA
Updating global config and COS's with attributes introduced after 8.7.2_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.56848...done.
Operations logged to /tmp/zmsetup.20171124-224019.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail.server.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.server.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.server.com...done.
Adding mail.server.com to zimbraMailHostPool in default COS...done.
Creating user spam.ran5yl_jx@server.com...already exists.
Creating user ham.xtfrhqnd@server.com...already exists.
Creating user virus-quarantine.sw5xq7tr@server.com...already exists.
Setting spam training and Anti-virus quarantine accounts...done.
Configuring SNMP...done.
Setting up syslog.conf...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_adminversioncheck...done.
com_zimbra_attachcontacts...done.
com_zimbra_attachmail...done.
com_zimbra_bulkprovision...done.
com_zimbra_cert_manager...done.
com_zimbra_clientuploader...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.
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.7.11_GA_1854_RHEL7_64)
The ADMIN EMAIL ADDRESS created (admin@mail.server.com)
Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20171124-224019.log to /opt/zimbra/log
Configuration complete - press return to exit
PS
https://pnyet.web.id/how-upgrade-zimbra-8-7-9
https://github.com/jorgedlcruz/zimbra_bits
http://www.itzgeek.com/how-tos/linux/centos-how-tos/change-hostname-in-centos-7-rhel-7.html
No comments:
Post a Comment