Virtual FTP Users + SSL

General Information

Running a FTP server is quite popular for sharing files over the Internet. But, the FTP protocol is not as secure as some may think. By default, each FTP user has a system shell account and when connecting to the FTP server, all usernames and passwords are transmitted in plaintext. That means anybody sniffing your packets can gain access to your FTP accounts. This guide is intended to provide a solution to both problems. Pure-ftpd with puredb allows you to have throttled FTP-only accounts and the ability to use SSL.

[Read more...]

Apache+SSL, PHP, and MySQL

General Information

I’m sure many of you have been wondering how people host secure sites using Secure Sockets Layer (SSL). This guide will show you how to set up a web server with SSL, PHP, and MySQL support.

[Read more...]

FreeBSD Basic Installation

General Information

FreeBSD doesn’t have a very graphical installer like various Linux distributions. This makes installing FreeBSD a bit trickier for beginners. With this guide, you will learn how to get FreeBSD installed with a vanilla install with the mini-ISO.

[Read more...]

SSHd with FreeBSD 5.3

General Information

I ran FreeBSD 5.2 for a long time with the default SSHd and then decided to upgrade to 5.3-STABLE. I normally use SecureCRT as my SSH client and I like password authentication. After I upgraded to 5.3, I could no longer logon using password authentication and I had to switch to keyboard interactive. This disallowed me from logging in with sftp from remote locations which really bummed me out. Here is the fix I found.

[Read more...]

Job Control

General Information

Sometimes processes can take time to complete, thus tying up your console session. What if you want to run multiple processes in the background on the same shell session? With the built-in job control, you can. There are three main conditions a job can be in: Running, Stopped/Suspended, or Terminated. To control them, we’ll use the fg and bg commands.

[Read more...]

Downgrading Ports

General Information

Using the ports tree to install applications is one of the most common ways to install softare. However, what if you updated a port to the latest version and it turns out to break things? How do you downgrade to a previous version if your ports tree is up-to-date? This is where the portdowngrade utility comes in handy.

[Read more...]

Tab Through All Options

keyboard_preference_pane

General Information

By default in Mac OS X, you can only tab through the text fields of any window. Have you ever wanted to use your tab button to cycle through the dialog box options or tab through the check box options on a website? Now you can with this hidden gem.

[Read more...]

Setting Up phpMyAdmin

General Information

If you are a point-and-click kind of person and have to manage one or more MySQL servers, you may find this web-based utility to be a goldmine.

[Read more...]

Managing the Ports Tree with Portsnap

General Information

The FreeBSD ports tree is the most common method of installing software. With the latest 6.x releases of FreeBSD, the old method of keeping your ports tree updated is now considered obsolete. This guide will teach you how to install and maintain your ports tree using the built-in portsnap utility.

[Read more...]

Apache, PHP, and MySQL

General Information

This guide will teach you how to set up a basic web server with Apache, PHP support, and MySQL for the database.

[Read more...]