frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

kernel upgrade centos7 VPS - M

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

  • GiedriusGiedrius Administrator
    Hello kazu777,

    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/

Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch