Ewige前夕
CentOS更换内核支持OpenVZ

更换内核

wget http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab112.15/vzkernel-2.6.32-042stab112.15.x86_64.rpm
wget http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab112.15/vzkernel-firmware-2.6.32-042stab112.15.noarch.rpm
rpm -ivh vzkernel-firmware-2.6.32-042stab112.15.noarch.rpm
rpm -ivh vzkernel-2.6.32-042stab112.15.x86_64.rpm --force

如遇到报错内核版本/依赖冲突,更新当前内核再次尝试安装

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel -y install kernel-ml

 

发表评论

textsms
account_circle
email

Ewige前夕

CentOS更换内核支持OpenVZ
更换内核 wget http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab112.15/vzkernel-2.6.32-042stab112.15.x86_64.rpm wget http://download.openvz.org/kernel/branches…
扫描二维码继续阅读
2019-04-21