Technology Insights

How to Recompile Your Ubuntu 10.10 Kernel for Patching or to add Support for a Specific Device

I decided to make a post on recompiling your Ubuntu kernel after after taking a look at the instructions on the Ubuntu wiki. Although the instructions were correct it was a big jumbled mess and almost impossible to figure out what was what from the instructions. This post will cover recompiling the kernel that comes with Ubuntu. The reasons for doing this are to keep the current Ubuntu patches and configs and simply add some stuff of your own. This would be useful for adding a patch of some sort or adding support in the kernel .config for a piece of hardware or software which may not be enabled by default.

Technology Insights

Configure LiteSpeed Web Server Logging Options

Most of the logging options for LiteSpeed web server are very basic and general however I wanted to detail them to help others make educated decisions when it comes to the logging configuration. There is one option I use outside of the normal log configurations which is configured in a tab other than the log tab under server configuration. Below I will explain all of the configuration options and provide examples of what I recommend for LiteSpeed.

The very first thing I do when configuring a new server is to modify the “Disable Initial Log Rotation” option from “Not Set” to Yes. The purpose of this option is to make the lsws log file directory a bit more manageable. The Disable Initial Log Rotation option will stop the error.log file from being rotated every time the server is restarted. If you are on a development server this might happen numerous times a day thus creating a mess in your log directory. Instead I only rotate the error.log file based on size as described in detail below.

Technology Insights

Outlook IMAP Accounts: Download Headers Only or Download Complete Items Including Attachments

When settings up an IMAP account in Microsoft Outlook you will download only the headers by default. Personally I like to have all of my emails easily accessible online and offline even with IMAP accounts so below I describe how to setup your IMAP accounts to download the entire email message including any attachments.

Follow the below steps to setup a custom Outlook send and receive group. In this group you can pick and choose which accounts to includes and which IMAP folders to download. For each IMAP account you can specify numerous different options including if you want to sync a specific folder, if you want to download only the headers, or if you want to download the entire message including any attachments.

  1. Open Define Send/Receive Groups: First you need to open the “Define Send/Receive Groups” within Outlook. Click on Tools in the top navigation menu, then select “Send/Receive” from the drop down, followed by “Send/Receive Settings” from the pop out menu, and from the second pop out menu select “Define Send/Receive Groups”. The menus are shown below in the image.