Posts tagged "Selfhosting"

4 posts with this tag

Upgrading Netbox

On local system

  • git pull upstream <tag> --rebase
  • git rebase
  • git commit -a -m 'upgrade to <tag>'

On server

  • su -s /bin/ksh -l _netbox
  • doas rcctl stop netbox_rq
  • doas rcctl stop netbox
  • git pull
  • bash upgrade.sh
  • doas rcctl start netbox
  • doas rcctl start netbox_rq
Read more →

Running Unifi Network Controller 8.1.113 on Openbsd 7.5

So I decided to give the unifi controller a shot on running on OpenBSD and most importantly the plan was to run it alongside all the other daemons on the system, so I don’t need to have a seperate VM / machine running just for the unifi controller. Spoiler: while I was able to get the unifi …

Read more →

Keycloak Upgrade 22.0.5 -> 24.0.3

After running into more or less the same problem every damn keycloak upgrade it’s time to put some notes into place so I won’t struggle in the future anymore. At least not with the same problem.

  • Change into the root directory for keycloak

    cd /var/www
    
  • Download the latest release …

Read more →

Cfssl Cheatsheat

Generate new Server Certificates

  • Generate CSR, certificate and private key for fqdn:

    fqdn=host.domain.tld
    cfssl gencert -ca intermediate/intermediate_ca.pem \
      -ca-key intermediate/intermediate_ca-key.pem \
      -config config.json \
      -profile server certificates/${fqdn}.json | cfssljson -bare …
Read more →