It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In RegisterIt looks like you're new here. If you want to get involved, click one of these buttons!
uname -srThe outcome should be simple and specific:
Build for amd64 succeeded (see BUILD.LOG.amd64):
linux-headers-4.13.0-041300_4.13.0-041300.201709031731_all.deb
linux-headers-4.13.0-041300-generic_4.13.0-041300.201709031731_amd64.deb
linux-headers-4.13.0-041300-lowlatency_4.13.0-041300.201709031731_amd64.deb
linux-image-4.13.0-041300-generic_4.13.0-041300.201709031731_amd64.deb
linux-image-4.13.0-041300-lowlatency_4.13.0-041300.201709031731_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.debOnce the download is complete you need to install it with the following command:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb
dpkg -i *.debIt may take up to few minutes, but once it is done you have to reboot the system for changes to become active:
rebootAfter reboot you may check and make sure the kernel version is upgraded:
uname -srThat is it. Your Kernel version is upgraded for your Ubuntu system.
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpmOnce you install the repositories, you will need to list the available packages:
yum --disablerepo="*" --enablerepo="elrepo-kernel" list availableYou will be presented will all the available packages, like this:
yum --enablerepo=elrepo-kernel install kernel-mlAfter the upgrade reboot the server:
rebootCheck the kernel version again:
uname -srKernel version may not be changed instantly, so you will have to do the last changes and set default Kernel version in GRUB. Open a GRUB configuration:
nano /etc/default/grubYou will have to change one line as in the example below and save it:
GRUB_DEFAULT=0The following command will recreate the Kernel configuration within GRUB:
grub2-mkconfig -o /boot/grub2/grub.cfgOne final reboot is need after this, and your Kernel version will be changed.
Comments
or something similar?
It is more safe, isn't it?
in general your suggested option upgrades the kernel version to the newest version. While our suggested option lets you to download files for specific kernel version if needed.
Also, here is more information about apt-dist update, which actually not only upgrade kernel version but does more, which is some cases is not needed:
http://manpages.ubuntu.com/manpages/zesty/en/man8/apt-get.8.html
We believe our option is safer because it is only upgrading kernel and not other packages as well.
Also then tried to do what fedotovs suggested, kernel is still in 2.6.
After that tried to install kernel manually, there was no errors, but after reboot kernel version is still 2.6.
here is the errors that I was getting when have followed this guide just after reinstalling OS.
Not being able to run new Kernel, prevents me from being able to use Docker for my containers.
Why not just allow to choose kernel as you allow to choose OS to install on control panel?
it seems you have a standard VPS, which runs on OpenVZ virtualization. It uses the latest stable kernel for this virtualization - 2.6.32 and it can't be upgraded. Therefore, Docker is not supported in our Standard VPS.
I would suggest you look into our KVM VPS, which allows kernel upgrade and supports Docker:
https://www.time4vps.com/linux-vps/
Thanks, will try KVM.
Giedrius said: