Monthly Archives: November 2010

SugarCRM Soap v2 Modules and Link Fields lister

Here at ANAT we use SugarCRM. A reasonably good, open source and free Customer Relations Management System which is used to keep the membership database information, send out monthly digest emails to subscribers, do document control, and much more. Unfortunately … Continue reading

Posted in Code | 3 Comments

Fun with sudoer

As part of our ongoing push to make our servers more secure the tech department decided to lock down the sudo command on our servers by restricting which users could use it and enabling e-mail alerts for unauthorised access. For … Continue reading

Posted in Code, Gripes, OMFG, WTF | Leave a comment

When Sysadmins Ruled the Earth

If your a fellow geek who wants an engaging story then you’ll probably enjoy this as much as we did. http://baens-universe.com/articles/when_sysadmins_ruled_the_earth

Posted in OMFG | Leave a comment

Empty directory cleanup

This script will remove all empty subdirectories within the directory supplied as a command line parameter. i.e. ./CleanupDirs.sh /docs/stuff will remove any empty subdirectories of /docs/stuff. #!/bin/bash   # This script was created by Dale Caon # On the 15th … Continue reading

Posted in Code | Leave a comment

MySQL Backup and Rsync Script

As part of running a Web server, in this case a LAMP (Linux Apache, MySQL, PHP) server, you need to ensure you have a good backup system. As per the Tao of backup, you need something that allows you to … Continue reading

Posted in Code | 1 Comment

Usefull Aliases

Here is a list of useful aliases used by the ANAT Tech department. Please feel free to use these as appropriate : alias aRestart=’sudo apache2ctl -k restart’ alias acs=’apt-cache search’ alias agg=’sudo apt-get upgrade’ alias agi=’sudo apt-get install’ alias agr=’sudo … Continue reading

Posted in Code | 2 Comments