Linux Kernel 2.6.33 installation guide for Ubuntu Linux

Aside

This short walkthrough describes how to get the latest linux kernel working under Ubuntu Linux without having to compile it yourself.

This tutorial should work with the latest version of Ubuntu Linux (9.10) and all distributions based on Ubuntu Linux like Mint.

The included kernel files have been compiled using the generic ubuntu configuration.
Note: nVIDIA ForceWare drivers are automatically installed using DKMS (which is included in Ubuntu 8.10 and higher including 9.04 and 9.10)

And in case you don`t want to reboot you should try out Ksplice.

Installation Guide

  1. Download linux-headers-2.6.33-020633_2.6.33-020633_all.deb
  2. Download your kernel headers package;
    I386:  linux-headers-2.6.33-020633-generic_2.6.33-020633_i386.deb
    AMD64: linux-headers-2.6.33-020633-generic_2.6.33-020633_amd64.deb
  3. Download your kernel compile;
    I386:  linux-image-2.6.33-020633-generic_2.6.33-020633_i386.deb
    AMD64: linux-image-2.6.33-020633-generic_2.6.33-020633_amd64.deb
  4. Install the files in the same (else it won`t work!)
  5. In the terminal run:
    sudo update-grub
  6. Reboot and select the kernel from the bootloader menu

For those who want to do their “own” compiles, the source is available here.

WordPress 2.8 Themes Cookbook

Aside

Somewhere in april Packt Publishing will release the WordPress 2.8 Themes Cookbook.
I will be reviewing this book on my website.

The book is writing for WordPress developers and webmasters who want to learn how to create custom themes for their site/blog. It`s recommended to have experience with WordPress and HTML/CSS before you start with the book.

What you will learn from this book

  • Enhance your page templates, optimize the use of images, and add effects to them
  • List your pages, categories, and tags on a blog and create navigation
  • Stylize your posts to make them look interesting
  • Display, format, and tweak the comment system to attract the visitors
  • Add sophistication to your dynamic web site using popular JavaScript libraries
  • Package and distribute your theme using the WordPress.org theme repository
  • Display auxiliary information about the post being displayed using dynamic sidebars
  • Empower your end users to change the contents displayed in the theme’s sidebar without involving a programmer
  • Change the style of your theme depending upon image content and time

Minor

Last monday I started to begin with my minor.

My main question is:
How is it possible to analyse Benzene and MTBE in gasoline using a GC-MS and SPME?

I will split this question up into two seperate parts:

  • Analysing the chemicals (benzene and MTBE) in gasoline by using GC-MS
  • Analysing the chemicals in water and maybe oil with SPME

I will be blogging bits and pieces of results in the next couple of 15 weeks.

CodeIgniter 1.7 by Packt Publishing review

Pack Publishing asked me to do a review of their “CodeIgniter 1.7” book.
Since I’m familiar with Packt Publishing and books (not with reviewing) I said I’ll give it a go.

This book is for PHP programmers who are familiar or unfamiliar with model-view-controller framework CodeIgniter. After reading this book you should be able to use most of CodeIgniter`s features and make your own scripts which run on CodeIgniter.

CodeIgniter (CI for short) is an Open-Source PHP Model-View-Controller (MVC) framework. Multiple studies concluded that CodeIgniter is faster and lighter than other PHP frameworks like CakePHP and Zend Framework.  This book is targeted at PHP programmers who want to save time, effort and cost by switching to the CodeIgniter framework.

There are several benefits of CodeIgniter:

  • It runs on PHP 4 and
  • It generates clean urls (using mod_rewrite)
  • It’s extensible
  • It doesn’t require a template engine
  • It’s well documentated (especially when reading this book!)
  • It`s free!
  • It’s safer
  • It saves you loads of time

For a full list of features I recommend you read this link.

Before reading this book I had no experience with MVC. I do have some experience with PHP/SQL and much experience with HTML/XHTML.
The books requirements are basic knowledge of HTML and PHP. Basic knowledge of (My)SQL is also recommended.

The book covers the following topics:

  • Installing CodeIgniter
  • Creating a basic CodeIgniter page
  • Use CodeIgniter to connect to a database and execute read queries
  • Creating HTML pages and forms
  • Using sessions and implement security systems like a login system
  • Object-oriented programming in CodeIgniter
  • Create your own CodeIgniter plugins
  • Communicate using FTP and XML-RPC
  • Using CodeIgniter to provide dynamic information (for the constructions of calendars and translations)
  • Handle files (up and downloading) and images
  • Putting your site online, useful tips and trick to avoid errors
  • Advice about upgrading CodeIgniter
  • Create, Read, Update, Delete; create your first fully database powered script
  • In general, how codeigniter works and what the benefits are
  • Writers recommendation plugins
  • Additional resources (browser plugins, webserver software, literature)
  • Appendix: using codeigniter`s cart function to create a shopping cart

After reading the book I’m able to create and enhance websites with features found in the book. I can now tell my customers I make some “advanced” script myself.

The book still leaves me with few questions about advanced topics like database query caching. The book points to the CodeIgniter user guide (online), which fed my information hunger.

The book fulfilled my expectations.

I’ve placed the book in reach of my desktop. Programming can be overwhelming although CodeIgniter makes life easier. I’m happy to have this book in my bookcase! I’m very sure I’m going to use it on my next big PHP project.

I recommend this book to all PHP programmers who are looking for a framework to lower the workload. After reading this book you’re ready to replace most PHP scripts by your own custom made scripts based on CodeIgniter.

A sample chapter can be found here. It’s chapter 3: “Navigating your site”.

If you’re interested and read more, or buy the book you should check out this link.