Cluon Package Setup Howto
This procedure is designed to bring up the baseline packages
that virtually all of my Perl-based web-app servers use. It
should take about 10 minutes to complete on an unloaded server.
At the end of the procedure, all of the libraries required to run
one my application servers.
- These instructions assume you are able to connect as root to a freshly installed Ubuntu 18.04 host. These instructions have been tested with the VPS offered by Gandi.net with their Ubuntu 18.04 64-bit image installed. Any other Debian based server could easily take its place, with only minor cosmetic differences.
- To prevent apt from throwing a million pointless 'missing locale' messages, you will need to set up a default locale. I recommend en_US-UTF-8.
dpkg-reconfigure locales
.
- Get a fresh copy of the package index
apt-get update
- You will need to install the 'ca-certificates' and HTTPS transport for apt.
apt-get install -y ca-certificates apt-transport-https
- The packages are signed using gnupg, which is not installed by default on the image from Gandi.
apt-get install -y gnupg
- Add the public-key from our signed packages to your apt universe.
wget -O - https://repo.cluon.com/pubkey.gpg | apt-key add -
- Verify that public-key with Lawrence — it is of tremendous importance for integrtiy.
apt-key finger lawrence@perl.mx
- Through some secure channel coordinate with Lawrence to verify that the key you have matches the key he has.
- Add our repository to your package manager
cd /etc/apt/sources.list.d/ ; wget https://repo.cluon.com/cluon.com.list
- Tell APT to update its indices (this time to pick up the database of Cluon packages).
apt-get update
- Now install the cluon-foundation package:
apt install -y cluon-foundation
. This will take several minutes to gather all of the underlying packages.
From here you may want to go to how to configure autopush
Lawrence Statton