work instructions
installation
Setup and installation of various server/services, done rarely (install klopt server) or very rarely (install repo server) So a lot of these have already been done.
repo server
install gpg key repo server
Create the gpg key :
| changetitle |
|---|
| ssh repo@klopt.org # do NOT use sudo, password entry will fail
gpg --gen-key
gpg --list-keys # to see the key, you will need it in reprepro
|
Export key.
| changetitle |
|---|
| gpg --armor --output klopt.gpg.key --export 32564CB50E212968B032D287020C911DBAE44495
mv klopt.gpg.key /var/www/repo/apt/debian/conf
|
maintenance
Done regularly.
new klopt.deb version
| changetitle |
|---|
| cd projects/klopt/backend
make package
scp -P 333 tmp/klopt.deb repo@klopt.org:
ssh -p 333 repo@klopt.org
unattended-upgrade -d # or check manually
cd /var/www/repos/apt/debian
reprepro includedeb buster ~/klopt.deb
|
client
To install klopt on the client side, you need to import the gpg key and install the repository list file :
| changetitle |
|---|
| wget https://debian.klopt.org/debian/klopt.gpg.pub
sudo apt-key add klopt.gpg.pub
|
Then add a new list file with the following content:
| changetitle |
|---|
| #/etc/apt/sources.list.d/klopt.list
deb [arch=amd64] http://debian.klopt.org/debian buster main
|
The arch line is needed because we don't bother making a 32 bits version simply because all servers are 64 bits.