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...]

Build a Samba PDC with LDAP backend

General Information

Build a Samba PDC on FreeBSD with a ldap backend. This will not let you authenticate ssh users just a plain samba server for your windows clients.

[Read more...]

Installing Jakarta – Tomcat

General Information

A straight forward manner to install the basic Jakarta – Tomcat server.

[Read more...]

Qmail (with SSL), Courier IMAP, vpopmail, SA, and ClamAV

0

General Information

This guide is designed to help you install FreeBSD and setup qmail with mail filtering abilities. I designed my own qmail guide for a few reasons. First, there really isn’t much out there when you look for this type of install from the ports system. Second, I have a vpopmail patch that allows creation of Custom Maildirs. I have been using a custom Maildir structure for about a year and a half now with no issues. The vpopmail skel patch allows you to patch vpopmail so you can make your own custom directories. If you create a user with just the normal vpopmail install, you get a default Maildir with new, tmp and cur in it which really doesn’t allow you to do too much with filtering and the like. If you create a new user and vpopmail has been patched with the skel patch, the user’s maildir is copied from the ~vpopmail/skel dir. If you really think about it, you can pretty much add your own maildrop recipe into the skel dir along with the .qmail file. If you add the qmailadmin into the mix, you or your users can turn on or off the spam filtering at leisure. If you really know what you’re doing, this can open up a whole new world with vpopmail.

[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...]

Build a Dynamic Web and Email Serving Platform

General Information

Using FreeBSD, Apache-modSSL, MySQL, PHP, Sendmail and CuCiPop, you can setup an open source solution that will have you serving dynamic web pages and email quickly, reliably, securely, and efficiently without any out-of-pocket expense.

[Read more...]

Secure Installation of Postgresql

General Information

This guide will help you set up, and start running PostgreSQL using the ports tree. For information of how to use PostgreSQL, try google. This guide will not help you with PostgreSQL past installing it.

[Read more...]

Installing and Securing MySQL

General Information

MySQL is one of the most popular databases on the Internet. Besides its undoubted advantages, such as easy of use and relatively high performance, MySQL offers simple, but very effective security mechanisms. Unfortunately, the default installation of MySQL, and in particular the empty root password and the potential vulnerability to buffer overflow attacks, makes the database an easy target for attacks.

[Read more...]

Chrooting Apache and PHP

General Information

Chrooting has been around for a long time now. Chrooting makes a program believe that the root of the file system is higher up in the hierarchy. For example, if I wanted to create a chroot in /chroot/httpd, a program executed from within the chroot would believe that “/chroot/httpd” was actually “/”. There in lies the beauty as the program can’t reach any files outside “/chroot/httpd”. Security of the server as a whole is increased due to the fact that the system binaries are off limits. In addition, chroots usually only have the bare minimum files inside, so exploits have a harder time breaking in.

[Read more...]

Installing and Configuring Postfix

General Information

Postfix is an attempt to provide an alternative to the widely-used Sendmail program. Postfix attempts to be fast, easy to administer, and (hopefully) secure, while at the same time being sendmail-compatible enough to not upset your users.

[Read more...]