i'm using centos7 on VPS - M
uname -r
2.6.32-042stab125.3
i want to use docker
so i wont to kernel upgrade
vi /etc/yum.repos.d/elrepo.repo
[elrepo-kernel]
name=ELRepo.org Community Enterprise Linux KÂernel Repository - el7
yum install kernel-lt-doc.noarch kernel-lt-devel.x86_64 kernel-lt-headers.x86_64 kernel-lt-tools.x86_64 kernel-lt-tools.x86_64 kernel-lt-tools-libs.x86_64 kernel-lt-tools-libs-devel.x86_64
awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg
grub2-set-default 0
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
kernel-lt.x86_64 4.4.102-1.el7.elrepo elrepo-kernel
kernel-lt-devel.x86_64 4.4.102-1.el7.elrepo elrepo-kernel
kernel-lt-doc.noarch 4.4.102-1.el7.elrepo elrepo-kernel
kernel-lt-headers.x86_64 4.4.102-1.el7.elrepo elrepo-kernel
kernel-lt-tools.x86_64 4.4.102-1.el7.elrepo elrepo-kernel
kernel-lt-tools-libs.x86_64 4.4.102-1.el7.elrepo elrepo-kernel
kernel-lt-tools-libs-devel.x86_64 4.4.102-1.el7.elrepo elrepo-kernel
kernel-ml-doc.noarch 4.14.2-1.el7.elrepo elrepo-kernel
kernel-ml-tools-libs-devel.x86_64 4.14.2-1.el7.elrepo elrepo-kernel
perf.x86_64 4.14.2-1.el7.elrepo elrepo-kernel
python-perf.x86_64 4.14.2-1.el7.elrepo elrepo-kernel
enabled=1 ← 0から1に変更
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
protect=0
yum install kernel-ml kernel-ml-headers kernel-ml-tools kernel-ml-tools-libs kernel-ml-tools-libs-devel
grub2-set-default 0
grub2-mkconfig -o /boot/grub2/grub.cfg
uname -r
But kernel is 2.6.32-042stab125.3
Why ?
iwant to kernel 3.1 uper
Comments
Our Standard VPS and Storage servers are using OpenVZ virtualization, and it uses the latest stable kernel version for the virtualization which is 2.6.32. Unfortunately, that can not be changed.
However, we offer KVM VPS, which allows changes at kernel:
https://www.time4vps.com/linux-vps/