Het opwaarderen van Zimbra en Ubuntu
Upgrade zimbra 8.8.10 op ubuntu 16.04 naar zimbra 8.8.15 op ubuntu 18.04 LTS
Methode
Als eerste gaan we op de bestaande mailserver Zimbra opwaarderen. Daarna gan we het OS van de server opwaarderen en tegelijkertijd de versie van zimbra voor dat OS aanbrengen.
Voorbereiding
Download de zimbra upgrade bestanden voor de oude versie van ubuntu.
zcs-8.8.15_GA_3869.UBUNTU16_64.20190918004220.tgz
Zimbra upgrade
Kloon de virtuele mailserver met behulp van de Virtuele machine Beheerder.
Kopieer zcs-8.8.15_GA_3869.UBUNTU16_64.20190918004220.tgz naar de mailserver.
Maak verbinding met de mailserver via ssh.
Wordt superuser, sudo su –
Zimbra recommends that an install or upgrade session be run with a UNIX command such as screen to help prevent an install or upgrade session from terminating before it is completed. This is important when the upgrade includes restoring a configuration that has a large number of accounts.
Example command usage:
screen ./install.sh
cd /opt
Unpack the file: tar xzvf zcs-8.8.15_GA_3869.UBUNTU16_64.20190918004220.tgz
Change to the correct directory.
cd <expanded-directory>
Begin the upgrade installation.
./install.sh
The Zimbra software agreement is displayed. Read this software license agreement and type Y.
When Use Zimbra’s packaging server [Y] is displayed, press enter to continue. Your system will be configured to add the Zimbra packaging repository for 'yum' or apt-get so it can install the Zimbra third party packages.
When Do you wish to upgrade? [Y] is displayed, press enter to continue. The upgrade packages are unpacked.
The packages are listed. The installer also lists packages that are not installed. If you want to install the packages at this time, type Y; otherwise press enter. The upgrade checks that there is enough space to perform the upgrade. If there is not enough space, the upgrade stops.
When The system will be modified. Continue? [N] is displayed, type Y and press enter. The Zimbra server is stopped, and the older packages are removed. The upgrade process verifies which version of ZCS is being run and proceeds to upgrade the services, restores the existing configuration files, and restarts the server. If you have a configuration with a large number of accounts created, this can take a while.
If you have not set the time zone, you will be asked to set it. This sets the time zone in the default COS. The time zone that should be entered is the time zone that the majority of users in the COS will be located in.
When Configuration complete, press enter.
Check mail, agenda en admin-console op goede werking.
Ubuntu upgrade
Kloon mailserver
Kloon de virtuele mailserver met behulp van de Virtuele machine Beheerder.
Maak verbinding met de mailserver via ssh.
Laatste patches toevoegen
Wordt superuser, sudo su –
Update all the packages and dependencies before do a upgrade with the next command
apt-get update && apt-get upgrade && apt-get autoremove
of
aptitude full-upgrade
Start upgrade process
do-release-upgrade
When prompted by ‘do-release-upgrade’ that the third party sources have been disabled, re-enable those third party sources. To do this, open ‘/etc/apt/sources.list.d/zimbra.list’ with an editor and remove “#” at the beginning of each line.
Ga door bij elke vraag en kies voor behoud van config bestanden.
Verwijder oude pakketten als de vraag gesteld wordt.
Doe een herstart als daarom gevraagd wordt.
Finish
De server draait nu Ubuntu 18.04 met Zimbra 8.8.15 voor ubuntu bionic.