Compiling Kernel

Go to https://www.kernel.org and select a kernel to download, e.g.:

wget -c https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.11.4.tar.xz

cp linux-3.11.4.tar.xz /usr/src

cd /usr/src

tar xfv linux-3.11.4.tar.xz

rm -f linux

ln -fnsv linux-3.11.4 linux

cd /usr/src/linux

make menuconfig

time make -j N
where N is the number of C.P.U. cores

make modules_install

make install

reboot


你可能感兴趣的:(number,download)