WordPress on Nginx

Running WordPress on server with Nginx is not a problem. However getting “pretty” permalinks can be a challenge. What you need to do, is to add an extra directive to your vhost setting for the domain you host your blog on. Depending on how you’ve set up your blog the way varies. If you’ve done it the hard core way in terminal using wget, tar and vi – you probably already know what to do… If you are using software like ISPConfig, you need to edit the nginx Directives…

Keep reading

Changes

After moving all my sites from Linode over to DigitalOcean, I’ve also moved from the Ghost platform back to WordPress(.org). I’ve also gone from Apache to Nginx because I just wanted to try something new. My Gitlab instance (found at https://gitlab.no) has been changed from Gitlab(!) to Gogs. Both because I wanted something new to play with, but also because Gitlab is a resource “eater”. Gogs is a lightweight system written in GO and despite having some quirks (can’t force HTTPS) it suits my…

Keep reading

Moving VPS

So this is just a small post to celebrate the move from one VPS to another And a post to see that all DNS stuff is working!…

Keep reading

NMEA GLL to decimal degrees

This is filed under “things you don’t find on stack overflow”. Working with the sensors on the ships I found that my calculations I did to get the GPS location displayed in degrees, minutes and seconds was a bit off. When the ship appears to be in the middel of Sweden, something is definitely wrong… From the GPS I get coordinates like 6751.3425 N,01315.8982 E – that seems to be normal decimal degrees. Which is not true. When dealing with NMEA GLL messages you have to do…

Keep reading

Rockin' Ubuntu GNOME on MackBook Pro

It almost never fails. Every time a new version of Ubuntu comes around, I’ll have to try it out. This time it was the second beta of Ubuntu GNOME 16.04 that had to be tried out. Unfortunately the live version would not install, but there is a way around that. Just had to install 15.10 and dist-upgrade from there. It works like a charm. Even the annoying red light from the optical audio plug is gone! My problem started when I could not resist to try to…

Keep reading