Month: June 2011
-
Turning off Syntax Highlighting in vim
Today my screen is a bit dark – or rather, the office is bright, what with all the sun outside. This makes some of the colors of vim’s syntax highlighting hard to read. How do you turn this on or off? After you open a file, and press ESC. With: :syntax off you can turn […]
-
Enabling SSL in Apache2 on Ubuntu
I’m using my server for various admin interfaces and so want to SSL encrypt all traffic to the web server. This is easy enough to add to the default vhosts. First, we need an SSL certificate. Create it by running: openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/apacheserver.pem -keyout /etc/ssl/private/apacheserver.pem This generates a self-signed […]
-
Moving eJabberd
If you need to migrate ejabberd, you need to be aware that -at least on Debian/Ubuntu- it uses your machine name as the default nodename, or to be more precise, ejabberd@hostname. This can be controlled in /etc/default/ejabberd but unless you already knew about it, it’s a done deal already. So, my naive approach of just […]
-
SVN Stalling
I had this weird problem where my svn would upload a few MB and then stall and timeout. At first I of course suspected a problem with either svn on the server, the apache, or tortoisesvn. I tried CPU affinity settings, Apache settings – nothing I did helped, including updating to latest patchlevel etc. After […]