Dedicated Server
Linux Kernel 3.6 Stable has been released.
The improvements include better hardware support, security bug fixes, and better memory optimizations.
Caution
VPS Servers are a toss up.
Some you can update the kernel and some you can not, because they're plugged into a "master shell" which connects them all for easier super administrator managements ... ie... Your host, who in the end is basically "
GOD" over the server.
This varies though so some VPS servers can update the kernel and some can not. I'd suggest you contact your host about this first.
For the rest of you who have true dedicated servers. A kernel upgrade can be very useful.
BACK UP EVERY-THING
Place this script in your
/tmp folder
PHP:
chmod +x linux-kernel-3.6
This will install Linux Kernel 3.6 for you.
IMPORTANT = Once completed (successful install) you
MUST reboot. If you can not reboot for whatever reason... Do not proceed with trying to install this.
Remember it could take a few minutes before you are back online. Do not panic if things do not boot up right away.
Thanks and credit to Ubuntu who actually host generic vanilla kernels and thus make this possible for anyone using Debian, Ubuntu, or even Linux Mint
Tested on Debian 6, 7, Ubuntu 12.04, 12.10, and Mint (current).
The full script code is thus:
PHP:
#!/bin/bash
#### Script Created By SociallyUncensored.eu ####
#i386 links
link1="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600_3.6.0-030600.201209302035_all.deb"
link2="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"
link3="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"
link4="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"
#amd64 links
url1="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"
url2="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"
url3="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"
#System architecture
arch=`uname -m`
if [ $arch = i686 ] || [ $arch = i386 ]; then
mkdir $HOME/kernel3.6-i386
sudo rm -rf $HOME/kernel3.6-i386/*
cd $HOME/kernel3.6-i386
wget $link1
wget $link2
wget $link3
wget $link4
sudo dpkg -i *.deb
sudo rm -rf $HOME/kernel3.6-i386
elif [ $arch = "x86_64" ]; then
mkdir $HOME/kernel3.6-amd64
sudo rm -rf $HOME/kernel3.6-amd64/*
cd $HOME/kernel3.6-amd64
wget $link1
wget $url1
wget $url2
wget $url3
sudo dpkg -i *.deb
sudo rm -rf $HOME/kernel3.6-amd64
else
echo "Unsupported Architecture"
fi