Converting Port Management from Ports to Pkg

Convert Ports Management from Ports to Packages on FreeBSD

The FreeBSD Ports system is very effective but costly in time to upgrade applications especially if managing a large number of servers.  With the advent of FreeBSD’s new package system – pkg and Poudriere, package management can be customized similarly to ports with the ease of upgrading via pkg.  This post demonstrates the steps require to convert a machine from utilizing ports to pkg.  If Poudriere is not desired, this guide is still applicable minus the Poudriere setups.

Continue reading “Converting Port Management from Ports to Pkg”

Rsync from a FreeBSD Server to a FreeBSD Shell Account

Foreword:

Recently, a need to utilize rsync to synchronize  various FreeBSD configuration files to a FreeBSD shell account at our BSD-based hosting services company necessitated this post to document the basic setup and configuration. Continue reading “Rsync from a FreeBSD Server to a FreeBSD Shell Account”

Drush: Command Line Utility for Drupal on FreeBSD

About Drush:

Drush is a command line shell and Unix scripting interface for Drupal installations.  It can update Drupal’s core files, update modules and execute sql queries just to name a few.  It is a must have utility to manage one or many Drupal installations.  This guide will only touch on a few of the many commands.
Continue reading “Drush: Command Line Utility for Drupal on FreeBSD”

Heimdal Kerberos, SASL, and OpenLDAP Integration on FreeBSD – Part III

Part III – SASL Integraton with OpenLDAP

In Part III, OpenLDAP pass thru authentication with a Kerberos Backend using SASL will be demonstrated. Continue reading “Heimdal Kerberos, SASL, and OpenLDAP Integration on FreeBSD – Part III”

Heimdal Kerberos, SASL, and OpenLDAP Integration on FreeBSD – Part II

Part II – Configuring a Master/Slave Kerberos Servers

In Part II, a Master/Slave Kerberos implemenation will be configured together with the necessary tools to replicate/propagate the Heimdal Database from Master to Slave Kerberos Servers. Continue reading “Heimdal Kerberos, SASL, and OpenLDAP Integration on FreeBSD – Part II”

Heimdal Kerberos, SASL, and OpenLDAP Integration on FreeBSD – Part I

Part I – Configuring Kerberos Server and Client

In Part I, configuring a Heimdal Kerberos Server and Client is demonstrated.  Additionally, SSH will be configured to allow single sign on using Kerberos. Continue reading “Heimdal Kerberos, SASL, and OpenLDAP Integration on FreeBSD – Part I”

Password Protecting Apache2.4 Directories with .htaccess

Introduction:

Apache allows directories to be restricted by requiring a user name and password.  In this article, configuring the httpd.conf, creating a .htaccess file, and generating the necessary password file is demonstrated. Continue reading “Password Protecting Apache2.4 Directories with .htaccess”

Postgresql 9.x Streaming Repilication on FreeBSD – Part II SSL

Configuring SSL for Postgresql:

Setting up SSL on Postgresql is quite simple.  Our requirements are to enforce SSL Encryption on all Postgresql database connections.  To that end, the creation of self-signed certificates will not be explored in this post. Continue reading “Postgresql 9.x Streaming Repilication on FreeBSD – Part II SSL”