Ubuntu Linux Kernel 3.11 installation guide

This short walkthrough describes how to install the linux kernel version 3.11  on Ubuntu Linux without having to compile it yourself.

This guide should work with the latest version of Ubuntu Linux and most Ubuntu-based distributions including Mint. The included kernel files have been compiled using the generic Ubuntu configuration.

The source can be found on www.kernel.org

I will post the latest version of the 3.11 branch in comments below.

Installation Guide (GUI)

  1. Download the kernel headers package: linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb
  2. And the appropriate package for your system
  3. And the accompanying compiled kernel image
  4. Install the files in the same order as downloaded above. (Linux-headers-*all.deb, Linux-headers-*platform*.deb, Linux-image-*platform*.deb)
  5. In the terminal run:

    sudo update-grub
  6. Reboot and select the kernel from the bootloader menu

Installation Guide (terminal) for 32 bits

mkdir tmp
cd tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_i386.deb
sudo dpkg -i *.deb
sudo update-grub

Installation Guide (terminal) for 64 bits

mkdir tmp
cd tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb
sudo dpkg -i *.deb
sudo update-grub

How-To Update WP-CLI

It`s very easy to update the WP-CLI tools, but its difficult to find how.

Enter the following lines in the terminal to update WP-CLI:

cd ~/.wp-cli
php composer.phar self-update
php composer.phar require 'wp-cli/wp-cli=@stable'

How-To Install Twenty Fourteen (trunk) for WordPress

This mini guide describes how to install the WordPress Twenty Fourteen theme from the Subversion repository within the shell.

Inside the terminal screen, go to your WordPress installation directory and run the following commands:

cd wp-content/themes/
svn co http://core.svn.wordpress.org/trunk/wp-content/themes/twentyfourteen/

How-To Raspberry Pi print server (with AirPrint)

This guide demonstrates how to turn your Raspberry Pi into a print server, with AirPrint support

First step is to install CUPS and related plugins

sudo apt-get install cups cups-pdf gutenprint pycups avahi python2 python-cups
sudo usermod -aG lpadmin pi
sudo /etc/init.d/cups start

Second step is to fully integrate AirPrint

sudo apt-get install avahi-daemon avahi-discover libnss-mdns
sudo mkdir /opt/airprint
cd /opt/airprint
sudo wget -O airprint-generate.py --no-check-certificate https://raw.github.com/tjfontaine/airprint-generate/master/airprint-generate.py
sudo chmod 755 airprint-generate.py.
sudo ./airprint-generate.py -d /etc/avahi/services
sudo /etc/init.d/avahi-daemon start
echo “image/urf urf (0,UNIRAST)” > /usr/share/cups/mime/apple.types
echo “image/urf application/vnd.cups-postscript 66 pdftops” > /usr/share/cups/mime/local.convs

Step is is to install  Samba (for compatibility with Windows PCs)

sudo apt-get install samba
sudo /etc/init.d/samba start

If you have a special printer, like I do you might want to install the following extras:

sudo apt-get install foo2hp
sudo apt-get install HPLIP