Category Archives: Knowledge Base

Various How-to articles and tutorials for administrators, coders, and everyday users.

Setting Up the Eclipse IDE With PHP

For Php developers, there are two options for setting up the Eclipse IDE. You can install the Php only version which is made specifically for those who use Php and only Php, or you can install the classic version and add Php into it. Systems Admins will want to install the classic version and add Php to it because of other tools that may be Read More →

Make Google Drive Work for You!

After you get Google Drive set up, wouldn’t it be nice if you could automatically select which folders you would like to have sync’d – outside of the Google Drive folder? Well, with a simple tweak, you can make this happen. It’s not as seemless as SugarSync, but it works. To make this happen, you cannot be scared of the command line – however, eventually Read More →

Size of Directories

Get the real file or directory size in unix or linux

All BASH users (Linux, Unix, OSX, etc) use the ls command, but when we want to know how much disk space has been used, the ls command just doesn’t cut it sometimes. While it is a useful command for listing information about files in a directory, or the directory structure, it doesn’t give you the overall space that a directory uses – including the files Read More →

Remove DOS EOL ^M Character from File

If you have the ^M character in your file, it is a Dos/Windows end of line character that is tough to get rid of. You could always ignore it, but the possibility of it corrupting a file is very high. Some editors such as Nano don’t even seem to show this character by default – maybe Nano strips it out – I’m not sure at Read More →

rsync over SSH

Many of us use SSH multiple times on a daily basis times to do simple, complicated, and often redundant tasks. Often times the tasks are those which could be scripted and automated. For instance, if you have to synchronize files with a server often throughout the day, a cron job would be the ideal way because then it will be done automatically and you don’t Read More →

AWS Logo

Backing up a server to S3

If you run a server of any kind then you should know how important it is to regularly backup the server. Now even though backing up the server is a great thing to do, it doesn’t do any good if the backup is in the same location as the server itself; if the building burns down, everything is gone. It is best to have an Read More →

Ubuntu Logo

Making mod_rewrite on Ubuntu Server actually work

Throughout the updating to, there were a lot of new things to learn; I switched from CentOS to Ubuntu Server, my own hardware to Amazon’s EC2 service, and I moved the website to a much more sophisticated web platform. One of the coolest features about the presentation of the site was the ability to use mod_rewrite to change the URL. The use of mod_rewrite Read More →

How to encrypt a file in Linux

If you have sensitive information that needs to be sent or kept private, encrypt it! GPG is a *nix program used for encrypting and decrypting files. This tutorial shows GPG in the most basic form – step by step. Follow these steps in command line to encrypt and decrypt files: Create a file touch gpg_test echo "The quick brown fox jumped over the lazy dog" Read More →

SSH Tunnel

Automatically starting an encrypted tunnel

This shows you how to make a tunnel start automatically… This article assumes that you have accomplished the steps at and it for those using a Linux client (it can probably be done on Windows too with Putty, but this article doesn’t show you how to do that). This is a very easy article, so I’m just going to give you the steps:   cd ~ Read More →

Encrypted Surfing

SSH Tunneling; encrypted surfing with Virtual Hosts

Whether you’re the Secretary of Defense, or just an average Joe trying to survive with some peace of mind and security, encryption is a good thing. Have many virtual hosts on your unencrypted Apache server, but want encryption for whichever virtual host you specify? Here is the solution! Note, this is written for Linux clients – not Windows. You can tweak the instructions to work Read More →