Author: mld

  • Let’s Encrypt, Ubuntu, Certbot and the Unifi Controller

    For the sake of this post, let’s assume you’re running a quite minimal install of Ubuntu 18.05 Bionic Beaver and have installed your Unifi Controller with the script from Glenn Rietveld. Install certbot Follow the official instructions. They’re good. In short, it’s just the following steps: Create renew-hook for the Unifi Controller Create the script…

  • amavisd-new on Ubuntu 14.04 (trusty)

    If you get anything like this in your syslog: Dec 27 20:35:36 web2 amavis[4216]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run ‘sa-update’? Dec 27 20:35:36 web2 amavis[4216]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run ‘sa-update’? Then add amavis to the…

  • Civilization IV: Colonization vs Mac OS X Yosemite

    In short, Colonizations has dependencies on Python 2.3 (or maybe 2.5, or both, nobody seems quite sure at the moment and both seems to be needed for all Civ IV games/mods to play nicely). Yosemite doesn’t ship that old software anymore. This fix uses third-party Python frameworks/libraries/etc – use at you own risk! http://pcgamingwiki.com/wiki/Civilization_IV#Failed_Initializing_Python

  • Lubuntu 14.04 and nice to haves

    by

    in

    While installing Lubuntu 14.04 on my laptop I found out the hard way of a bug in the installer regarding encrypted hard drive. To get around it you need to boot from the CD/USB and choose to try Lubuntu, open a terminal and run # sudo swapoff -a and then start the install. You need to…

  • More on Unifi and their AP:s

    A follow up on my last post about my Unifi setup. I bought a new home server recently and wanted to move the controller. I took the quickest route and backed up my settings on the old controller, installed the new one, imported the settings in the new one, migrated the AP:s to the new…

  • UniFi AP Pro and controller

    I recently got myself two UniFi AP Pro‘s. While getting them installed, which requires a Java based controller software installed on a computer, I found a couple of problems. The foremost was that the controller didn’t start. After having a look at the unifi logs (/var/log/unifi/server.log on Ubuntu 12.04) I found out that it tried…

  • Unbound i Halon Security Router

    Eftersom jag är som jag är sÃ¥ ville jag köra Unbound pÃ¥ min installation av Halon Security Router. Det visade sig lite smÃ¥meckigt eftersom systemet startas upp rent frÃ¥n alla tidigare förändringar (gillar säkerheten), men det finns stöd för att fÃ¥ in vissa typer av förändringar ändÃ¥. Det har jag självklart exploitat för att fÃ¥…

  • Installera Oracle Java 7 i Ubuntu

    http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html

  • Flushing DNS Cache on Mac OS X Lion

    $ sudo killall -HUP mDNSResponder

  • Mac OS X Lion SSD tweaks

    A couple of tweaks for the Mac OS X Lion users out there. Since Apple doesn’t support TRIM other than on their own drives (cheap b…) and a couple of settings that make more sense when running a hdd with spinning discs, here’s the tips I followed: http://blog.alutam.com/2012/04/01/optimizing-macos-x-lion-for-ssd/ http://www.dashvue.com/2011/12/optimizing-mac-os-x-for-ssd/