HowTo: Quick Subversion Server Setup on Linux

This article is heavily based on Setup a Subversion Server in 4 Minutes by Tony Spencer.

To setup subversion (svn) server, all you need is the subversion package installed; on most systems, this already includes all the necessities – the client (svn), the repository tools (svnadmin), and the server (svnserve).

Continue reading

Creating a Virtual Network with VirtualBox

VirtualBox sure is a great virtualization tool; not yet at the level of VMWare, but it’s getting very close, and esp. for basic day-to-day programming, when all you need is an “alien” test/development system, it’s a very adequate tool to use, and rivals VMWare’s performance quite nicely, and it’s free as in beer.

Continue reading

HowTo: ssh access using public key(s)

ssh is an extremely useful tool to work remotely and securely on *nix systems.
But the usual password protected access strategy is not the safest way to go; anyone can try to guess your password, use a keylogger attack, etc.

One (big) safety step above is the pubkey (identity) authentication. This uses a pair key-passphrase for remote access.

You can make your system way safer with just 3 simple steps.

Continue reading

Tiny GNU screen reference

Mainly for my reference, here’s a small list of most useful key short-cuts for the GNU screenGNU version of BSD’s tmux terminal multiplexer.

The main purpose of GNU screen is to allow you to run several terminals “in one”, without the need to log into remote (or local, if needed) system.
This is done by spawning virtual terminals (screens or windows) inside the terminal.
Another, maybe even more useful feature of screen is, that it is persistent. You can easily detach from the session, and log out of the remote server, while any programs you left running in the screen session will stay alive, in a similar way they would with nohup, while having the interactiveness of terminal still available. Afterwards, you can resume previous session once you log back in.
Continue reading

Using smartmontools – smartd and conky (with cron) to monitor HDD health

conky is one hack of a great monitoring tools, but it misses the use of S.M.A.R.T. technology (as far as I know) to monitor hard-disk health, specifically use of smartmontools.

I present here quite dirty, but simple and easily extensible, way to include information from smartctl in conky output.

Continue reading

Practical Introduction to BASH

BASH, aka Bourne Again SHell, is probably the most wide-spread shell for *nix like systems (no discussions about this, please; if you prefer some other, just enjoy, I’m not making anyone use bash).

There are many intros out there, but most of them are more about syntax etc., with just a little practical use.
I wrote quite a few bash scripts, but it’s not my primary “language” of choice; so I often need a fast reminder, rather than textbook. That’s why I compiled this simple “list” or “intro” to use as a reference. Maybe someone else will find this useful also.

Continue reading