Category: Linux

  • 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…

  • 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…

  • 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…

  • Installera Oracle Java 7 i Ubuntu

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

  • Linuxdistribution för äldre?

    Som en del i projektet att fÃ¥ mina farföräldrar att använda en dator och (helst) Internet försöker jag hitta en linuxdistribution som är enkel att lära sig använda*. Alternativen jag tittar pÃ¥ just nu är EasyPeasy, som är en Ubuntuklon med ett GUI anspassat för netbooks, Linux Mint, även det en Ubuntuklon och här med…

  • Dennis Ritchie, tack för allt!

    Den 12:e oktober gick Dennis Ritchie bort efter en längre tids sjukdom. Han lever dock vidare genom C och UNIX på samma sätt som han gjort dom senaste 40 åren. Tack för allt! Se även mitt inlägg på .SE-bloggen

  • 6 Ways To Kill Your Servers – Learning How To Scale The Hard Way

    Good article over at HighScalability.com about what happens when a coder, even an experienced one, has to scale out a web site under time pressure. The most important lessons in my opinion are caching, tweaking configuration and stress testing.

  • daemontools and ucspi-tcp on Hardy Heron

    by

    in

    I was about to install daemontools and ucspi-tcp on Hardy Heron (Ubuntu 8.04) when I found that the packages build-daemontools et al was not in the archive anymore! Instead of digging about what happened I found out that Intrepid Ibex[1] has some packages. So what I did was download the packages daemontools, daemontools-run and ucspi-tcp,…

  • xen 3.02 on Debian Etch / AMD64

    A quick walk-through of installation of Xen 3.02 on Debian Etch (AMD64): KERNELS=”linux-2.6-xen0 linux-2.6-xenU” make -j7 world make install make linux-2.6-xen0-config CONFIGMODE=menuconfig make -j7 linux-2.6-xen0-build make linux-2.6-xen0-install make linux-2.6-xenU-config CONFIGMODE=menuconfig make -j7 linux-2.6-xenU-build make linux-2.6-xenU-install vim /boot/grub/menu.lst title Xen 3.0.2 / Debian GNU/Linux, kernel 2.6.16 root (hd0,0) kernel /xen.gz dom0_mem=131072 module /vmlinuz-2.6-xen0 root=/dev/sda2 ro console=tty0…