Zimbra Collaboration repository: Difference between revisions
(First raw console output) |
No edit summary |
||
Line 145: | Line 145: | ||
* Restarting nginx nginx | * Restarting nginx nginx | ||
...done. | ...done. | ||
root@zimbra86:~/# vi /etc/apt/sources.list.d/zimbra-mirror.list | |||
deb [arch=amd64] https://repo.zimbra.io/87 precise zimbra | |||
deb-src [arch=amd64] https://repo.zimbra.io/87 precise zimbra | |||
==Known issues== | |||
W: Failed to fetch https://repo.zimbra.io/87/dists/precise/zimbra/source/Sources server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none |
Revision as of 15:27, 4 April 2016
apt-get update
apt-get install python-pip
The following extra packages will be installed:
binutils build-essential dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libgomp1 libitm1 libquadmath0 libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev python-chardet-whl python-colorama python-colorama-whl python-distlib python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl python-requests-whl python-setuptools python-setuptools-whl python-six-whl python-urllib3-whl python-wheel python3-pkg-resources
Suggested packages:
binutils-doc debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib gcc-4.8-locales libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python-genshi python-lxml python3-setuptools
Recommended packages:
python-dev-all
The following NEW packages will be installed:
binutils build-essential dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libgomp1 libitm1 libquadmath0 libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev python-chardet-whl python-colorama python-colorama-whl python-distlib python-distlib-whl python-html5lib python-html5lib-whl python-pip python-pip-whl python-requests-whl python-setuptools python-setuptools-whl python-six-whl python-urllib3-whl python-wheel python3-pkg-resources
0 upgraded, 43 newly installed, 0 to remove and 34 not upgraded. Need to get 776 kB/35.8 MB of archives. After this operation, 102 MB of additional disk space will be used. Do you want to continue? [Y/n] y
pip install awscli
mkdir /var/repositories
cd /var/repositories
Downloading/unpacking awscli
Downloading awscli-1.10.17-py2.py3-none-any.whl (919kB): Downloading awscli-1.10.17-py2.py3-none-any.whl (919kB): 0% 4.1kB Downloading awscli-1.10.17-py2.py3-none-any.whl (919kB): 0% 8.2kB Downloading awscli-1.10.17-py2.py3-none-any.whl (919kB): 1% 12kB Downloading awscli-1.10.17-py2.py3-none-any.whl (919kB): 1% 16kB
[...]
changing mode of /usr/local/bin/rst2man.py to 755 changing mode of /usr/local/bin/rst2s5.py to 755 changing mode of /usr/local/bin/rstpep2html.py to 755 changing mode of /usr/local/bin/rst2odt.py to 755 changing mode of /usr/local/bin/rst2xetex.py to 755 changing mode of /usr/local/bin/rst2latex.py to 755 changing mode of /usr/local/bin/rst2pseudoxml.py to 755 changing mode of /usr/local/bin/rst2xml.py to 755 changing mode of /usr/local/bin/rst2html.py to 755
Successfully installed awscli docutils botocore rsa s3transfer jmespath python-dateutil pyasn1 futures Cleaning up...
root@repo:~# /usr/local/bin/aws s3 sync s3://repo.zimbra.com/apt/87 ./87 --no-sign-request --delete download: s3://repo.zimbra.com/apt/87/db/version to 87/db/version Completed 1 part(s) with ... file(s) remaining download: s3://repo.zimbra.com/apt/87/dists/precise/Release.gpg to 87/dists/precise/Release.gpg Completed 2 part(s) with ... file(s) remaining download: s3://repo.zimbra.com/apt/87/dists/precise/InRelease to 87/dists/precise/InRelease Completed 3 part(s) with ... file(s) remaining download: s3://repo.zimbra.com/apt/87/dists/precise/Release to 87/dists/precise/Release Completed 4 part(s) with ... file(s) remaining download: s3://repo.zimbra.com/apt/87/db/contents.cache.db to 87/db/contents.cache.db Completed 5 part(s) with ... file(s) remaining download: s3://repo.zimbra.com/apt/87/dists/precise/zimbra/source/Release to 87/dists/precise/zimbra/source/Release Completed 6 part(s) with ... file(s) remaining [...] Completed 1551 of 1553 part(s) with 2 file(s) remaining download: s3://repo.zimbra.com/apt/87/pool/zimbra/z/zimbra-tcmalloc/zimbra-tcmalloc_2.4.orig.tar.gz to 87/pool/zimbra/z/zimbra-tcmalloc/zimbra-tcmalloc_2.4.orig.tar.gz Completed 1552 of 1553 part(s) with 1 file(s) remaining download: s3://repo.zimbra.com/apt/87/pool/zimbra/z/zimbra-zeromq/zimbra-zeromq_4.1.3-1zimbra8.7b1.14.04_amd64.deb to 87/pool/zimbra/z/zimbra-zeromq/zimbra-zeromq_4.1.3-1zimbra8.7b1.14.04_amd64.deb
mkdir /etc/nginx/certs
root@repo:~# apt-get install nginx Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed:
fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5 libvpx1 libxpm4 libxslt1.1 nginx-common nginx-core
Suggested packages:
libgd-tools fcgiwrap nginx-doc
The following NEW packages will be installed:
fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libtiff5 libvpx1 libxpm4 libxslt1.1 nginx nginx-common nginx-core
0 upgraded, 14 newly installed, 0 to remove and 34 not upgraded. Need to get 2,705 kB of archives. After this operation, 9,057 kB of additional disk space will be used. Do you want to continue? [Y/n] [...] Setting up libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ... Setting up libjpeg8:amd64 (8c-2ubuntu8) ... Setting up libjbig0:amd64 (2.0-2ubuntu4.1) ... Setting up libtiff5:amd64 (4.0.3-7ubuntu0.4) ... Setting up libvpx1:amd64 (1.3.0-2) ... Setting up libxpm4:amd64 (1:3.5.10-1) ... Setting up libgd3:amd64 (2.1.0-3) ... Setting up libxslt1.1:amd64 (1.1.28-2build1) ... Setting up nginx-common (1.4.6-1ubuntu3.4) ... Processing triggers for ureadahead (0.100.0-16) ... Processing triggers for ufw (0.34~rc-0ubuntu2) ... Setting up nginx-core (1.4.6-1ubuntu3.4) ... Setting up nginx (1.4.6-1ubuntu3.4) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
mv /etc/nginx/sites-available/default /etc/nginx/sites-available/default.bak touch /etc/nginx/sites-available/default vi /etc/nginx/sites-available/default
server {
listen 443 ssl; ssl_certificate /etc/nginx/certs/zimbra-wilcard.crt; ssl_certificate_key /etc/nginx/certs/zimbra-wilcard.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; ## Let your repository be the root directory root /var/repositories;
## Always good to log access_log /var/log/nginx/repo.access.log; error_log /var/log/nginx/repo.error.log;
## Prevent access to Reprepro's files location ~ /(db|conf) { deny all; return 404; }
}
root@repo:~# service nginx restart
* Restarting nginx nginx ...done.
root@zimbra86:~/# vi /etc/apt/sources.list.d/zimbra-mirror.list
deb [arch=amd64] https://repo.zimbra.io/87 precise zimbra
deb-src [arch=amd64] https://repo.zimbra.io/87 precise zimbra
Known issues
W: Failed to fetch https://repo.zimbra.io/87/dists/precise/zimbra/source/Sources server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none