Archive for 'Administration' Category

Setting up a VOIP Asterisk server, part 2 (IP Phones)

By jbayer - Last updated: Tuesday, March 15, 2011

IP phones are plentiful, but we wanted reliable phones which the phone system could use to the fullest.  I’ve used several, including Aastra and Grandstream.  The best supported IP phones for Asterisk are made by Aastra. Their line includes: 6730i Series 6750i Series 9000i Series Any one of these phones are a great choice.  We’ve […]


Setting up a VOIP Asterisk server, part 1

By jbayer - Last updated: Tuesday, March 15, 2011

The saga of replacing a legacy phone system with a complete VOIP solution The lease was coming to an end on our legacy phone system, and we started looking for an alternative.  We considered the following choices: Extend the lease for another 3 years, at which time we would own the system Replace the phone […]


Set up a mail server for multiple domains using Postfix, Dovecot & PostfixAdmin

By jbayer - Last updated: Wednesday, March 9, 2011

A common task is to set up a mail server.  A less common task is to be able to support multiple domains on the same mail server, with the possibility of the same address on different domains. An easy way to do this is to use Postfix and Dovecot, using MySql as a backend to […]


Installing SugarCE on CentOS (and Fedora)

By jbayer - Last updated: Monday, March 7, 2011

SugarCE is an open-source version of the SugarCRM, (CRM meaning Customer Relationship Manager).  I needed to install it on a CentOS system, so made the attached script.  The script assumes that you are starting with a minimal CentOS 5.5 install, Fedora will most likely work as well. The SugarCRM site is located: and here […]


Zoneminder and IE 8

By jbayer - Last updated: Wednesday, March 2, 2011

Zoneminder hasn’t been updated in over a year, and in that time new browsers have been released.  One of them, IE 8, has depreciated the use of the <applet> tag, which Zoneminder uses to load Cambozola (a java-based viewer) The following is a replacement for the applet code.  Simple replace the applet code in the […]


Software Distribution & Syncronization

By jbayer - Last updated: Monday, February 28, 2011

I recently had to update about 30 different servers with the identical software.  This is an all-too-common occurance for an administrator, and there are many different systems available to do this.  However, most of them do too much and are generally non-trivial to set up and manage.  I wanted a system which would be easy […]


Updated lftp for CentOS 5.5

By jbayer - Last updated: Thursday, February 10, 2011

(Following taken from: Every sysadmin should have a decent command line client for transferring files (beyond scp of course). The lftp program written by Alexander Lukyanov can handle seven file access methods: FTP, FTPS, HTTP, HTTPS, HFTP, FISH, and SFTP. The openssl library is required during compile-time in order for FTPS and HTTPS to […]


Delay a script by variable time

By jbayer - Last updated: Monday, January 31, 2011

When managing many systems in a server farm or a virtual environment, quite often the same script needs to be run on all the systems.  However, if the script happens to put a severe load on a common resource such as a storage device, the possibility exists that the storage device can be overwhelmed and […]


Linux-based Security Camera Solution

By jbayer - Last updated: Monday, January 31, 2011

With the explosion of inexpensive video cameras for computer use, (both USB and IP cameras), it has become fairly easy to set up a comprehensive video surveillance system.  You can go out and buy complete kits, which include a set of cameras and a central control station.  Or, you could roll your own, giving you […]


Start, stop, and restart Virtual Machine from the command line

By jbayer - Last updated: Monday, January 31, 2011

These days virtual machines are all the rage.  They make sense in a lot of areas, and can reduce both the floorspace, power requirements, costs, testing, stability, etc.  This article is not about the reasons to have a virtual machine, but rather, how to control them from a command line. Most Linux distributions use libvirt […]