CentOS upgrade to latest stable kernel

Reading time ~1 minute

Upgrade

$ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
$ rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
$ yum install yum-plugin-fastestmirror
$ yum --enablerepo=elrepo-kernel install kernel-ml

Configure the default startup version of kernel

$ cat /boot/grub2/grub.cfg | grep menuentry  // look over the list of kernel
$ grub2-set-default 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)'  // set the default startup kernel
$ grub2-editenv list // check result
$ grub2-mkconfig -o /boot/grub2/grub.cfg // enable grub.cfg

Other

Take a look the kernels had been installed

$ rpm -qa | grep kernel

Clean the useless kernel in the system

$ yum remove kernel-3.10.0-327.el7.x86_64

Ubuntu install shadowsocks and switchyOmega

## 1. Install shadowsocks-qt5 GUI ```bash$ sudo add-apt-repository ppa:hzwhuang/ss-qt5$ sudo apt-get update$ sudo apt-get install shad...… Continue reading

pip设置国内镜像

Published on January 10, 2018

Windows 10 Error 0xc000007b Fix

Published on December 31, 2017