Posts tagged with “linux”

December 07

Simple MongoDB backup script

Here's a simple MongoDB backup script which you can run on a daily basis to create an automatic dump of MongoDB and keep a certain number of days of backup stored.

Read More »
11:25 AM | 1 Comment | Tags: , ,
October 21

Chef bash completion script

I've written a short Chef bash completion script to aid me in learning knife commands. Here it is.

Read More »
02:11 PM | 0 Comments | Tags: , ,
October 01

Creating a user and group in OpenLDAP directory

When setting up an OpenLDAP server for a friend, I've come across the difficulty of automating user account creation. The problem was that the person (or program) creating the accounts would have to know quite a lot about the structure of LDAP directory, correct usage of ldap commands, as well as error handling and logging. I wanted to free the program from having to do any of this; instead, it could make a simple call to a Bash script and let it handle the details.

Read More »
10:36 PM | 0 Comments | Tags: ,

Nginx rewrite rules for Chyrp blog

When setting up my Chyrp blog instance, I had to figure out how to enable URL rewriting since I'm using nginx web server rather than more-common Apache httpd.

Read More »
07:58 PM | 1 Comment | Tags: , , ,
September 30

Setting up an OpenArena server on Ubuntu Linux

In this article, I'll walk you through setting up a full-blown OpenArena server on Ubuntu Linux. By the end of you reading this, you'll have all the information you need to get a server up and running. As of this writing, the latest release of OpenArena is 0.8.5.

Read More »
05:25 PM | 0 Comments | Tags: , ,