How can I install Kernel 5.17 on CentOS 7?

General support questions
User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How can I install Kernel 5.17 on CentOS 7?

Post by jlehtone » 2022/10/28 07:51:41

The 'find' does recursive search, but we know that file is in /var/log, not in its subdirs.
'ls -l /var/log' or 'ls -ltr /var/log' give reasonably short lists.


CentOS 7 is rebuild of RHEL 7. Alma/Rocky [89] are rebuilds of RHEL [89]. They were created to replace CentOS, which discontinued to rebuild of 8. Just as reliable as CentOS is.


The PHP 5 is ancient. Dead upstream. At most Remi's repo has minimally maintained version for 8/9. You really should port your apps to modern PHP.


Both el8 and el9 have mysql 8.0 (and mariadb 10.5). Again, migration of database content and rebuild of app with new mysql/mariadb seems necessary.

The el8 (the RHEL 8 and rebuilds) was released 2019 and will be maintained to 2029.
The el9 was released 2022 and will be maintained to 2032.

adrianTNT
Posts: 7
Joined: 2022/10/26 23:05:35

Re: How can I install Kernel 5.17 on CentOS 7?

Post by adrianTNT » 2022/10/28 11:48:56

I will update my apps, I already installed Rocky Linux 9.0, hopefully I will not get into serious issues with my code.

I still have 3 servers with old setup, I looked for that Xorg log, it's not there :) Maybe my centos is just too old compared to what you are used to.

Code: Select all

[root@localhost log]# find / -name *Xorg*
[root@localhost log]#

Code: Select all

[root@localhost log]# ls -lha | grep 'Xorg.0.log'
[root@localhost log]#
[root@localhost log]# ls -lha | grep -i 'Xorg.0.log'
[root@localhost log]#
[root@localhost log]# ls -lha | grep -i 'Xorg'
[root@localhost log]#
[root@localhost log]# grep -rli xorg .
./anaconda/X.log
./anaconda/program.log
./anaconda/journal.log
./httpd/access_log
[root@localhost log]# cat ./anaconda/X.log | grep -i xorg
[    17.910] (WW) Failed to open protocol names file /usr/lib64/xorg/protocol.txt
[    17.911] Build ID: xorg-x11-server 1.20.4-10.el7
[    17.917] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    17.917] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    17.935] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    17.941] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    18.120] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    18.134] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[    18.140] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[    18.144] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    18.150] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    19.101] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    19.253] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[root@localhost log]#
[root@localhost log]# cat ./anaconda/program.log | grep -i xorg
15:56:08,345 INFO program: Running... Xorg -br -logfile /tmp/X.log :1 vt6 -s 1440 -ac -nolisten tcp -dpi 96 -noreset
[root@localhost log]# cat ./anaconda/journal.log | grep -i xorg
May 26 15:56:08 localhost program[1492]: Running... Xorg -br -logfile /tmp/X.log :1 vt6 -s 1440 -ac -nolisten tcp -dpi 96 -noreset
[root@localhost log]#

Post Reply