How To: Network Trash on Ubuntu File Server (NAS) with SFTP (SSH + Fuse) and AFP (netatalk)

Purpose: create a Network Trash functionality for a Ubuntu Linux file server (NAS). Reason being: by default, files deleted from the command line on file server go away permanently. If I am connected to my file server from my Mac via AFP (through netatalk) or SSH (SFTP through Fuse) and delete a file, that file is gone forever! This is a problem, because often I find I want them back. Enter: libtrash!

Read the rest of this entry »

How to: Install Netatalk (AFP) on Ubuntu with Encrypted Authentication

Purpose: Install Netatalk (AFP) on Ubuntu with encrypted authentication (using OpenSSL), which is not enabled by default with the Ubuntu netatalk package. By default, the package installed from the Ubuntu universal repositories will transmit your password via clear text (you’ll know this because Mac OS X Tiger will throw a warning and Leopard won’t do anything useful at all).

Read the rest of this entry »

How to: Mount a SFTP Folder (SSH + FTP) on Ubuntu Linux using SSHFS & Fuse

Purpose: to mount a remote directory on my local Ubuntu Linux Desktop system using SFTP (which is SSH in an FTP-like fashion). The goal is to easily gain access to a remote system’s files through another folder on my desktop. Debina/Ubuntu allows you to easily mount SSH folders via the GUI, however, these mounts won’t show up in the terminal (and in some programs). I used sshfs to accomplish this.

Read the rest of this entry »

How to: Redirect Apache’s Default www or public_html Folder to a Directory in Your Home Folder

Purpose: The default installation of Apache (from a Ubuntu-Server installation) sets the base directory for the web documents as /var/www (on Ubuntu’s installation — this may be different if you are running Apache on another machine); this may not be where you want it, in the end, and certainly isn’t as easily accessible from a remote machine. One option is to change where it is Apache searches for its web documents folder in Apache’s configuration file; another way, which I chose, is to create a symbolic link in the default location’s place and have it point to a directory in my user’s home folder.

Read the rest of this entry »

Welcome to the blog

Hello and welcome to the blog at damontimm.com.

If you have been paying close attention, you will surely have noticed that this is my second blog (in celebration of my two readers). Though much has changed in the year since I first stepped off the boat with damonjustisntfunny.com, one matter has not: I still fear for my first post — such that it is — and what it all will represent many years from now and how it will, certainly, be a poor attempt at anything.

What to say? How to say it? How to explain in so few words what fewer people will ever read?

This blog serves a distinct purpose (unlike the witticisms and clever prose from my first one): a place for me to document all the little things I learn in front of the computer and then immediately forget and have to re-learn again. Posting my wanderings here, I hope, will shorten the re-learning process.

Enjoy.