Setting up a self signed SSL certificate with Apache

I’m assuming you have Apache installed. Enable the SSL mod for apache: sudo a2enmod ssl Create a directory for the certificates: sudo mkdir /etc/apache2/ssl Generate the certificate: sudo openssl req -x509 -nodes -days 365000 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt Openssl will ask for some information, make sure you set the FQDN properly, the rest… Continue reading Setting up a self signed SSL certificate with Apache

Spotify in Ubuntu 12.10

Spotify is a cool streaming music service – $12 a month for high quality music streams on mobile and desktop. They have a decent Linux client too: sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 4E9CFF4E sudo sh -c ‘echo “deb http://repository.spotify.com stable non-free” >> /etc/apt/sources.list’ sudo apt-get update && sudo apt-get install spotify-client-qt Sounds like Spotify… Continue reading Spotify in Ubuntu 12.10

Mucking About with Voxel.js

Installing Voxel.js I just discovered voxel.js, which is a web-based voxel engine that can be used to build block-based games like Minecraft. It’s written in node.js, so lets get that set up. Voxel.js requires node.js 0.8.0 or better, and Ubuntu’s repositories supply 0.6.19, so we need to set up a PPA to get the latest version. sudo… Continue reading Mucking About with Voxel.js

BumbleBee drivers on Ubuntu 12.10

My ASUS laptop has 2 graphics cards, one Nvidia and the other Intel. Ubuntu uses the Intel one by default, but that leads to poor performance for gaming. So I need to install the Bumblebee drivers. sudo add-apt-repository ppa:bumblebee/stable sudo add-apt-repository ppa:ubuntu-x-swat/x-updates sudo apt-get update sudo apt-get install linux-headers-generic sudo apt-get install bumblebee bumblebee-nvidia bbswitch-dkms Reboot or re-login Swat PPA has the latest Nvidia drivers. Except… Continue reading BumbleBee drivers on Ubuntu 12.10