一个伪linux粉丝的blog

  1. 首页
  2. unix/linux
  3. 正文

oracle-linux-kernel

14 5 月, 2024 662点热度 0人点赞 0条评论

前言

话说作为甲骨文vps 的免费用户,没想到有一天会下载它 oracle-linux 的 iso镜像,基于它部署k8s集群。起因大概是centos7.9 将于 今年6月停更,不少用户已经提前切换系统了。
其实写这篇主要原因是安装系统的过程中发现它默认自带1高1低 2个内核, 以前oracle linux 7.9 也有,没太留意,这次自己安装,看到启动项目了,才留意这个现象。

几个信息

 

1 ,下载链接

1
https://yum.oracle.com/oracle-linux-downloads.html

2, 多内核的玩法早就有了

  • el8_9、el9_4 这种结尾的是redhat 相同兼容内核
  • el8uek、el9uek 是它加固过的内核
以 Oracle Linux 8.9 为例,它有两个内置内核:
Unbreakable Enterprise Kernel (UEK) 5.15.0-200.131:这是Oracle自己的内核版本,包含了针对 OLTP、InfiniBand 和 SSD 硬盘访问等方面的增强功能。
Red Hat Compatible Kernel (RHCK) 4.18.0-298.el8.x86_64:这个内核与 Red Hat Enterprise Linux (RHEL) 8 的内核兼容。
默认情况下,Oracle Linux 8.9会引导到最新的内核版本,也就是 UEK 5.15。但是,您可以选择引导到 RHCK 4.18。
  • 有两个内核的原因如下:
提供选择性: 某些用户可能更喜欢使用 RHEL 兼容内核,因为它与其他 RHEL 系统兼容。
提高稳定性: 拥有两个内核可以提高系统的稳定性。如果一个内核出现问题,您可以引导到另一个内核。

uek内核介绍

https://docs.oracle.com/en/operating-systems/uek/
Unbreakable Enterprise Kernel
The Unbreakable Enterprise Kernel (UEK) is a Linux kernel built by Oracle and supported through Oracle Linux support. Its focus is performance, stability, and minimal backports by tracking the mainline source code as closely as is practical. UEK is well-tested and used to run Oracle's Engineered Systems, Oracle Cloud Infrastructure, and large enterprise deployments for Oracle customers.

 

上一张自己的vps 上的oracle linux 7.9下的多内核截图

对比部分
这次安装的8.9和9.4 多内核截图

 

查看当前内核命令

关于内核查看和切换
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
查看默认内核
grubby --default-kernel
 
修改默认内核为 rhel 相同的
grubby --set-default /boot/vmlinuz-4.18.0-513.24.1.el8_9.x86_64
 
写入生效
grub2-mkconfig -o /boot/grub2/grub.cfg
 
重启
reboot
 
检查
uname -msr
Linux 4.18.0-513.24.1.el8_9.x86_64 x86_64
 
改回5系内核
改回5
grubby --set-default /boot/vmlinuz-5.15.0-205.149.5.1.el8uek.x86_64
其他同上。。。

 

3,oracle-linux 9.1 是过渡版本

快照过渡版本建议早点升级换掉官网已经没有直接展示9.1 的下载链接了
https://docs.oracle.com/en/operating-systems/oracle-linux/9/index.html

Important: Update releases such as Oracle Linux 9.1 or Oracle Linux 9 Update 1, are rolling snapshots of the latest supported packages for the Oracle Linux release and are not considered independent versions of Oracle Linux. Do not attempt to pin an Oracle Linux system to a particular update release. Always update systems to the most recent update release of the operating system. Failure to do so exposes your systems to common security vulnerabilities and other software bugs

 

4,网卡配置文件变动

网卡配置文件不再是 /etc/sysconfig/network-scripts/ 下 的 ifcfg-en*

而是在这里/etc/NetworkManager/system-connections 下的 ens*.nmconnection

两种格式的介绍

1
2
3
4
5
6
7
8
9
10
11
12
Previously, NetworkManager stored network profiles in ifcfg format
in this directory (/etc/sysconfig/network-scripts/). However, the ifcfg
format is deprecated. By default, NetworkManager no longer creates
new profiles in this format.
 
Connection profiles in keyfile format have many benefits. For example,
this format is INI file-based and can easily be parsed and generated.
 
Each section in NetworkManager keyfiles corresponds to a NetworkManager
setting name as described in the nm-settings(5) and nm-settings-keyfile(5)
man pages. Each key-value-pair in a section is one of the properties
listed in the settings specification of the man page.

配置格式也变动了,有兴趣的看其他资料。

 

5, 安装过程图

最后上一张图,收工

 

相关文章:

  1. Linux下多线程下载工具
  2. MySQL配置文件说明-转
  3. cron导致系统故障?+ moodle备份
  4. Xfce 4.6 Final Released
标签: oracle-linux
最后更新:14 5 月, 2024

wanjie

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

This site uses Akismet to reduce spam. Learn how your comment data is processed.

归档
分类
  • network / 332篇
  • Uncategorized / 116篇
  • unix/linux / 121篇
  • 业界资讯 / 38篇
  • 公司杂事 / 11篇
  • 数码影像 / 12篇
  • 美剧 / 3篇
  • 美图共赏 / 21篇
  • 英语学习 / 3篇
标签聚合
VPS Google Voice debian 网站运营 nexus squid wget docker dreamhost空间 ldap 泰国 天翼live gitlab kubectl k8s Google 虚拟主机 dreamhost 浏览器 d90 openssl kernel 邮件归档 ssh Ubuntu google-chrome jira Nginx postgres deepseek

COPYRIGHT © 2008-2025 wanjie.info. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang