Creating local repository

Ask questions about your setup or get help installing ZCS server (ZD section below).
bhwong
Advanced member
Advanced member
Posts: 149
Joined: Thu Feb 27, 2014 8:40 pm

Creating local repository

Postby bhwong » Mon Mar 13, 2017 6:37 am

Hi Jorge, I notice that you are the editor for https://wiki.zimbra.com/wiki/Zimbra_Col ... repository

This particular statement seem to be incorrect:

You must add your local repository to your Ubuntu Configuration, please note you must change trusty (Ubuntu 14.04) to precise if you are running Ubuntu 12.04


Shouldn't it be:

You must add your local repository to your Ubuntu Configuration, please note you must change (kernel of) precise to trusty (Ubuntu 14.04) if you are running Ubuntu 12.04:


btw, is there a better way to work around this without having to create a local repository? A full download will be helpful because I notice that the time to wait for the download during the installation is taking too long. We hope to minimise the period of downtime during Zimbra upgrade.


User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2769
Joined: Thu May 22, 2014 4:47 pm

Re: Creating local repository

Postby jorgedlcruz » Mon Mar 13, 2017 11:01 am

Hi,
I've changed already the Wiki, thank you. Have an offline .tar.gz sounds about right to me, however if the third party packages are updated in a much frequent way, it will be really difficult to keep an updated .tar.gz, for this reason use the repositories are made for.

If you require a really low downtime while upgrading, I recommend you to use a local VM for the Zimbra repository, so you will minimize the downtime using local LAN bandwidth.

Best regards
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
bhwong
Advanced member
Advanced member
Posts: 149
Joined: Thu Feb 27, 2014 8:40 pm

Re: Creating local repository

Postby bhwong » Mon Mar 13, 2017 2:28 pm

I do understand the repository usefulness in updating. But for upgrading, we do not need the latest patch but a full download to reduce the long downtime, especially when the time taken by Zimbra to download during the installation is often over an hour in my trial test, compare with just a short while for Ubuntu upgrade.
bhwong
Advanced member
Advanced member
Posts: 149
Joined: Thu Feb 27, 2014 8:40 pm

Re: Creating local repository

Postby bhwong » Tue Mar 14, 2017 2:56 am

Also, must I have to waste so much resources to create another server just for holding a local repository? Can I do this on the same server as Zimbra instead? This will make it even faster without having to go thru the LAN transfer right?

btw, where or how do we get the certificates for zimbra-wilcard.crt and zimbra-wilcard.key? And is the Nginx required if I just want to have a local repository to speed up the upgrade process? All we want is just to be able to download the full installation file to reduce downtime, especially when the remote repository is super slow.

And after configure the sources list and perform a apt-get update, I'm getting an error message that Ubuntu failed to fetch files from https://repo.domain.tld/apt/87/dists/tr ... ce/Sources and https://repo.domain.tld/apt/87/dists/tr ... 4/Packages as it couldn't resolve host 'repo.domain.tld.

And when I install by selecting not to use Zimbra's package repository, I got two errors:

    MISSING libreoffice
    Unable to download packages from repository

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests