Skip to content

Tag: Ubuntu

Installing Linux Mint/Ubuntu desktop edition with full-disk encryption and LVM

(This guide applies to any Debian/Ubuntu based distribution)

For some reason (complexity perhaps) it is not possible to configure full-disk encryption and LVM from the graphical installer in the desktop edition. It is possible to select full-disk encryption but this only creates one filesystem (root).

I want to use LVM to allow me to have more than one filesystem without having to enter more than one password during boot-up. It is not impossible to install Ubuntu desktop (or Linux Mint as in this guide) with encryption and LVM but it does require a little more work.

Installing and running Copy.com agent on a headless (Ubuntu/Debian) Linux

I’ve started to use copy.com instead of services like Dropbox, SpiderOak and similar.

Why? Because it’s fast (unlike Dropbox), it’s simple (unlike SpiderOak) and it’s able to run on all major platforms (Windows, OSX, Android, iOS and Linux, both graphical and console. Both are native Linux application).

This article explains how to install the agent on Linux – more specifically how to run the console agent on a Ubuntu-derived distribution.

IPv6 with tunnelbroker.net, ChicagoVPS and Ubuntu

I have recently moved my hosting to a couple of VPSes at ChicagoVPS and wanted to use IPv6 (via tunnelbroker.net) ChicagoVPS uses OpenVZ which presents a couple of problems $ ifconfig sit0 sit0: error fetching interface information: Device not found $ sudo modprobe ipv6 FATAL: Module ipv6 not found. It turns out, this is a fairly common problem though OpenVZ is supposed to support IPv6. Luckily, someone made a small userland program (tb-tun, which “tunnels”…

iptables on a ChicagoVPS (OpenVZ) VPS

iptables is not always easy to deal with so I prefer to use Uncomplicated firewall (ufw) in Ubuntu, because it simplifies configuring and maintaining my firewall rules. Unfortunately, ufw does not play nice with OpenVZ containers so I decided to find something else. In the end (after testing various things) I decided to install the package iptables-persistent which is not as sexy as ufw but gets the job done. iptables-persistent uses two configuration files /etc/iptables-persistent/rules.v4…

Installing Cisco VPN Client on Ubuntu 11.10 (Oneiric Ocelot)

As always with a new Ubuntu release comes the problem of getting Cisco’s VPN client to install (and no, using vpnc instead is not really an option since the VPN concentrator doesn’t play nice and drops the connection from time to time) The problem this time is the kernel version of Ubuntu 11.10 – The new 3.0 series kernel. I’ve made a patch which will make the kernel module compile and install on the 3.0…

Running Symantec Veritas Cluster Manager on Ubuntu

At some point Veritas has release the Cluster Manager (Java Console) for Linux. Of course, Linux means Red Hat (and other RPM based flavours). Luckily it isn’t too hard making it work on Ubuntu (and friends). First, get the software – This requires a SymAccount. And no, I will not send you the software Now, prepare your Ubuntu box $ sudo apt-get install alien fakeroot And finally convert and install the package $ fakeroot alien…

Ubuntu Natty: Fixing ‘unknown locale’ in Python

The fix itself is the same as for Python 2.5 – only the line numbers have changed. Open the file /usr/lib/python2.7/locale.py and find the line containing en_gb (line 921) and add these lines (this works for Danish locales):     ‘en_dk’:                                ‘en_DK.ISO8859-1’,     ‘en_dk.iso88591’:                       ‘en_DK.ISO8859-1’,     ‘[email protected]’:…

Ubuntu: Installing and running a Lodge-it pastebin

When I switched from Apache2 to nginx, the software used to run my pastebin needed to be changed (I used Perl NoPaste, which is CGI based and I didn’t feel like messing with FastCGI wrappers). Instead I chose LodgeIt. LodgeIt is not just another pastebin, it features a clean user interface, different color schemes for sourcecode, reply to pastes, support for all languages Pygments supports, and XMLRPC support LodgeIt spawns it’s own webserver, which I…

Natty Narwhal: Problems connecting to servers behind (Cisco) firewalls using ssh

After upgrading to Natty Narwhal I couldn’t connect to my Linux based jump host (connected via VPN): OpenSSH_5.8p1 Debian-1ubuntu2, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /home/alj/.ssh/config debug1: Applying options for * debug1: Applying options for smallpox.xxx.dk debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to smallpox.xxx.dk [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /home/alj/.ssh/id_rsa type -1 debug1: identity file /home/alj/.ssh/id_rsa-cert type -1 debug1: identity file /home/alj/.ssh/id_dsa…

Ubuntu Natty: Making a Gobi 2000 wireless modem work

In the pre-10.04 days it was possible to make a Gobi 200(0) modem work by installing gobi_loader and using it to load the firmware for the modem. However, with the release of Ubuntu 10.04 (which sports a shiny 2.6.35 kernel) gobi_loader stopped working. Because gobi_loader (according to the homepage) does not support 2.6.32+ I stopped caring and used my Huwai stick instead. Recently one my colleagues noted that after upgrading to 10.10 the wireless broadband…

Page optimized by WP Minify WordPress Plugin