Dokku commands: Heroku like deployment with support for docker

Initial setup Use digital ocean image with Dokku pre-installed, set up ssh key through web. apt update && apt full-upgrade to update packages. dokku apps:create myapp.somedomain.com and add git remote add dokku dokku@DOKKU_HOSTNAME:myapp.somedomain.com I used /etc/hosts to access the image from a hostname instead of IP. More detailed setup in the various deploy with dokkuContinue reading “Dokku commands: Heroku like deployment with support for docker”

Ubuntu apt update vs upgrade vs dist-upgrade vs do-release-upgrade

apt update – gets an up to date list of packages that can be installed or updated apt upgrade – updates packages it can, but never removes packages apt full-upgrade – updates packages more aggressively, removing packages that block other updates apt-get dist-upgrade an old name for full-upgrade do-release-upgrade upgrades to the latest operating systemContinue reading “Ubuntu apt update vs upgrade vs dist-upgrade vs do-release-upgrade”

How to set Systemd DNS servers for Ubuntu

With many linux systems moving from /etc/resolv.conf to systemd I was unsure how to set my DNS servers. Summary Add the following to /etc/systemd/resolved.conf: DNS=1.1.1.1FallbackDNS=8.8.8.8 Then restart with: Check status You can use systemd-resolve –status or sudo resolvectl status to see the current status and should see “DNS Servers” listed. Using systemd-resolve –status | grepContinue reading “How to set Systemd DNS servers for Ubuntu”