Linode server cost-effective, minimum package 2G memory, enjoy the monthly 2TB traffic, room 40Gb bandwidth, the monthly supply and demand of $10 (linode discount link). Linode users create VPS servers, you can customize the Linux system version in the background, including common Ubuntu and CentOS, the default kernel profile is the latest version, optimized by the Linode modification.
For example: 4.0.2-x86_64-linode56, the kernel version number that is typically provided by Linode.
In most cases, the default configuration will meet the user's needs. Some Chinese users need to enable a specific kernel kernel version feature, if you can not find the version number in the background is very troublesome, you need to re-modify the VPS configuration. So, how do I change the Ubuntu default kernel provided by Linode?
The following tutorials are tested in these versions by:
Fedora 22\centos 7\ubuntu\debian\arch
First, update the current VPS system with the latest version.
CentOS using Yum Update
Ubuntu uses Apt-get update and Apt-get upgrade
The command uname-a checks the current kernel version.
Examples of results:
Linux localhost 4.0.4-x86_64-linode57 #1 SMP Thu 11:01:47 EDT x86_64 x86_64 x86_64 gnu/linux
The next step is to install the GRUB2 component:
Centos:
Yum Install kernel GRUB2
Ubuntu:
Apt-get Install linux-image-virtual GRUB2
Debian:
Apt-get Install LINUX-IMAGE-AMD64 GRUB2
Fedora 22:
DNF Install Kernel-core GRUB2
Arch Linux:
Pacman-s Linux Grub
Attention! The remote window will display the Grub installation screen, which requires you to choose the Grub installation location and you can choose not to install it directly.
To view the default system kernel version:
# ls/boot/vmlinuz*
Next we configure the Grub boot parameters:
Vi/etc/default/grub
Modify the Grub configuration file to the following parameters:
grub_timeout=10
grub_cmdline_linux= "Console=ttys0,19200n8″
Grub_disable_linux_uuid=true
Grub_serial_command= "Serial–speed=19200–unit=0–word=8–parity=no–stop=1″
Grub_terminal=serial
Update bootloader:
Arch Linux:
Grub-mkconfig-o/boot/grub/grub.cfg
Debian 8 & Ubuntu 15.04:
Update-grub
CentOS 7:
Mkdir/boot/grub
Grub2-mkconfig-o/boot/grub/grub.cfg
Fedora 22:
Dracut/boot/initrd-4.0.5-300.fc22.x86_64.img 4.0.5-300.fc22.x86_64
Mkdir/boot/grub
Grub2-mkconfig-o/boot/grub/grub.cfg
Click the Linode Background panel dashboard, click the Edit button:
In the Kernel drop-down menu, select Grub 2 Startup:
After restarting the VPS, enter uname-a again to display the kernel version number.
Example: Linux li63-119.members.linode.com 3.10.0-229.4.2.el7.x86_64
At this point, you are free from the Linode official default kernel, you can install any version number of kernel, and then modify the Grub menu to specify the startup options.
Linode official website www.linode.com
If you are using Linode competitor products, both vultr and Digitalocean can easily replace the kernel, more convenient than Linode, and the default direct support Hybla blocking algorithm, has good acceleration effect.
This article tags: arch, CentOS, Debian, fedora, kernel, Linode, Linux, Ubuntu, kernel, sharp speed
© statement:Unless noted, all articles on this site are original, reproduced please indicate the address of this article in the form of a link.
© Reprint Please indicate source:Http://since1989.org/linode/centos-ubuntu-kernel-linux-grub2.html
Linode replacing the Linux kernel tutorial (exclusive)