Archive

Archive for the ‘Linux’ Category

Cool things to do with Linux Servers

May 10th, 2011 1 comment

I work with Linux most days, and run it on pretty much all my desktops. So the a few days back I was feeling a bit jaded about doing the same old stuff and started Googling for some interesting things to do. I saw lots of posts about desktop related stuff, but not so much server side things. The goal is fun a play here… with a bit more effort I came up with the following ideas Read more…

Categories: Linux, My brain hurts Tags: , , ,

Confluence and Jira install scripts

May 10th, 2011 Comments off

Some of you may know where I work, which explains some of the more technical of my posts here. I recently completed a couple of cool scripts to set up these two web applications. Head on over to the RimuHosting blog and check the scripts out!

Disclaimer/shameless plug: I work there, the server plans are great :) .

Debian squeeze with xen (link-dump)

March 31st, 2011 Comments off

Getting started with Xen http://wiki.debian.org/Xen

Xen and qcow on lvm is a pain, use kpartx to present file-systems and test boot of those before migrating to raw lvm images

Fix for annoying messages about network bridge still present in stableĀ http://xenbits.xensource.com/xen-unstable.hg/rev/b0fe8260cefa7

 

Categories: Am a Geek, Linux Tags: , , , , ,

Working with raw and sparse filesystem images

February 24th, 2011 Comments off

A while back I started using KVM on my home pc to make it easier to build and tear down sandboxes.

More recently I’ve been playing with file-systems and sparse images, and looking for ways make a quick deployment possible rather than going through an entire distro install each time. I got to wanting a small image that I could boot from quickly to help get a deployment started. This is how I went about making a ‘golden-image’ for just that purpose.

Sparse files are interesting because they help reduce the storage space needed for data sets that may be mostly full of zeros, but for various reasons you don’t want to compress. Used properly they can significantly reduce data-transfer usage during large scale deployments.
Read more…

Enabling the CVS Id Tag for SVN

November 18th, 2010 Comments off

From: Yeah, right. Okay. Whatever!: Enabling the CVS Id Tag for SVN. Thanks for the tips dude.

The CVS Id tag which adds file information on the file itself upon commit is enabled by default on CVS but not on SVN. To have it enabled you need to add/modify the following on your local SVN configuration file (on UN*X: <HOME>/.subversion/config):

[...]
enable-auto-props = yes

[...]
[auto-props]
[...]
*.java = svn:keywords=Author Date Id Revision;svn:eol-style=native

Complete list of keywords: Author, Date, Header, Id, Log, Locker, Name, RCSFile, Revision, Source, State.

Of course, you need to add a line for every file type you want to configure for a fine grained control over that. Otherwise use *.

This works for all files committed from now on. If you already have files in the repository, you need to tell SVN to add them too:

# Make sure that everything is up to date
> svn up
# Add keywords and commit
> svn propset svn:keywords "Author Date Id Rev" file_name
> svn commit -m "Adding Id and Rev property to all files"
Categories: Am a Geek, Linux Tags: , , ,