I followed this article to upgrade the kernel of one of our Linux server runs CentOS8.
According to that article, upgrade the kernel of a CentOS system is rather simple, you just need to run the following command as root:
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
dnf -y install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm
dnf -y --enablerepo=elrepo-kernel install kernel-ml
Everything goes fine before I try to boot up one of the VM in Virtualbox 6.
Boot failure, "The system is currently not set up to build kernel modules, please install the Linux kernel header files matching the current kernel.", it says.
Obviously, we need the correct header file, after digging a while on Google, I didn't get an answer. Then I review the steps I have done to upgrade the kernel. Oh, I got the solution below:
dnf -y --enablerepo=elrepo-kernel install kernel-ml-devel
/sbin/rcvboxdrv setup
Problem resolved.
You are already using Linux, so you have dd already, you don't need any other tools to make a bootable USB disk!
sudo dd bs=1M if=galliumos-3.1-baytrail.iso of=/dev/sda ; sync
Notice:
You should use your iso file name and replace /dev/sda
to your own USB disk device.
Reference
try to download something but axel said "SSL error: (null)", so
axel https://github.com/axel-download-accelerator/axel/releases/download/v2.17.9/axel-2.17.9.tar.gz
tar xvfz axel-2.17.9.tar.gz
cd axel-2.17.9
sudo apt install pkg-config -y
./configure && make && sudo make install
sudo apt remove axel
cd ..
rm -rf axel-2.17.9
我们都知道从当前行往下删除 n 行很容易, ndd
就好了。但往上删除呢? 我以前是不知道的,最近搜索了一下,找到了答案,而且额外学到了其他的技巧,你想听吗(不想听我也会写,哈哈
8dd其实是dd重复8次,容易记忆,但效率很低。正确的姿势是 7dj
或者 d7j
。我想你看到这里已经猜到应该怎么向上删除了。如果打算从当前行往上删除n行,你需要 {n-1}dk
或者 d{n-1}k
故事到这里应该结束了,然而.... 试试 V3kd
, V4jd
,注意是大写的V。你会对vim的强大有更多的理解。
By the way, 如果你要从当前行删除到你知道行号的某一行,举例来说,你要从当前行一直删到第434行,无所谓是向上删还是向下删,用 d434G
就可以了。
今天周末,电影时间,儿子推荐了这部电影。名字这么俗气。喜剧片嘛,叽叽喳喳嘻嘻哈哈,大概如此吧。不会多好看,这是我开看之前的想法。然而......大出我的意外!全程看完没有走神。可能我内心就是一个认真的人吧(你们尽管笑
在今天这个浮躁的社会里,像严谨那样活着,挺好。我给这个电影打9分,豆瓣只给了 6.7分,管它呢。自己觉得好才是真的好。
感谢儿子的推荐。
BTW:这电影是在看TV网站上看的,接到家里的49寸大电视(确实是我家买过的最大的电视)上,效果非常棒。以前一直觉得KTV做得不怎么样,今天看它体验还是蛮好的。只有开场一个几十秒的大广告,后面全程无广告。好评!