/r/CentOS

Photograph via snooOG

CentOS (Community Enterprise Operating System) was a Linux distribution that attempted to provide a free, enterprise-class, community-supported computing platform which aimed to be functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).

However that is no longer the case.

https://blog.centos.org/2020/12/future-is-centos-stream/

CentOS (Community Enterprise Operating System) was a Linux distribution that attempted to provide a free, enterprise-class, community-supported computing platform which aimed to be functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).

However that is no longer the case. RIP CentOS

https://blog.centos.org/2020/12/future-is-centos-stream/

For more information please refer to these external sites:


Rules:

  1. Please be gracious and up vote posts and comments liberally.
  2. Be polite. It's okay to disagree, but please refrain from being needlessly rude.
  3. No spam or personal blogs
  4. No image macros or memes, unless it's related to the death of CentOS

Relevant subreddits:

/r/CentOS

16,661 Subscribers

0

Is it possible to run SysmonforLinux on CentOS 7.9?

I am running CentSO 7.9.2009 and I followed the installation steps of SysmonforLinux for RHEL 7.

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
sudo yum install sysmonforlinux

But the install command failed with this error:

Error: Package: sysinternalsebpf-1.4.0-0.el8.x86_64 (packages-microsoft-com-prod)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: sysmonforlinux-1.3.3-0.el8.x86_64 (packages-microsoft-com-prod)
           Requires: libc.so.6(GLIBC_2.25)(64bit)
Error: Package: sysmonforlinux-1.3.3-0.el8.x86_64 (packages-microsoft-com-prod)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
4 Comments
2024/12/01
05:47 UTC

1

I increased the disk space from 60 to 90 on my Centos vm present on vcenter, but it is not detected

6 Comments
2024/11/28
13:15 UTC

1

Ctrl + Shift + Fn logs me out of Gnome/Wayland

Update:

This is bug https://access.redhat.com/errata/RHBA-2024:9466

Resolved in mutter 40.9.22

Thanks to u/FrazzledHack for pointing it out.

Relatively fresh Centos Stream 9 install. Keyboard shortcuts Ctrl+Shift+Fn are assigned to move window to workspace n(1-4). 99% of the time when I hit these all apps hard stop and a 5 seconds later I am staring at a Gnome/wayland gui login screen. Log in again, no previously running X apps/terms are running.

Any ideas? Ctrl + Alt + Fn switches from wayland to to a TTY and back as expected. I am still searching.

Sorry if this is not CentOS specific. I'll probably cross post in a Gnome sub too.

Edit 1: I have since switched mappings to Ctrl + Super + Fn to do the same action. No issues there.

Edit 2: OK so I have the same issue with this key mapping as well?! While editing the keyboard shortcuts, that is while that dialog is open and after making a change, both combos work as expected. After closing the dialog, either key combo causes instant Gnome logout. This is the native Settings/Keyboard/Keyboard Shortcuts/Navigation setup. Not tweaks, or any other add-on.

Edit 3: So all bets are off. No matter what I bind to that action it insta logs out, most of the time. Dialog open/vs edit being applied was not a factor. I just got lucky a few times. No idea at all. Looking more into logs, and at nvidia issues maybe.

Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Main process exited, code=dumped, status=11/SEGV
Nov 26 22:05:04 proc01 gnome-shell[26106]: (EE) failed to write to Xwayland fd: Broken pipe
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Failed with result 'core-dump'.
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Triggering OnFailure= dependencies.
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Consumed 51.648s CPU time.
Nov 26 22:05:04 proc01 systemd[25704]: Stopped target GNOME Wayland Session (session: gnome).
Nov 26 22:05:04 proc01 systemd[25704]: Stopped target GNOME Wayland Session.
                                                #7  0x00007fbe11c0a8c8 damage_thread (libnvidia-egl-wayland.so.1 + 0x78c8)
Nov 26 22:05:07 proc01 gdm-wayland-session[25720]: GLib: Source ID 2 was not found when attempting to remove it
Nov 26 22:05:09 proc01 gnome-shell[28863]: Using Wayland display name 'wayland-0'

Edit 4: OK at the moment, applied some pending updates ( only like 2-3 weeks worth ) and disabled "flameshot" from starting on its own.

2 Comments
2024/11/27
02:51 UTC

0

Taking the leap for using Linux as a main OS

My main C drive is pretty much full, so I was going to take the opportunity to install a larger drive and put a fresh install of windows on it.

However, after dabbling with CentOS for the past few months, I think I'd like to take the leap into using it as my main OS.

However, I still need windows to play all of my games - so I'm thinking about using a hypervisor for a windows VM. I'll obviously need to use GPU passthrough so the games can use the GPU.

There's many flavours of hypervisor (paid and unpaid), and GPU passthrough sometimes introduces other considerations (e.g. not being able to use the gfx card for the main OS).

I'm just wondering if anyone here has a similar setup, and would like to hear what you used and how you have things setup.

3 Comments
2024/11/19
07:30 UTC

4

Fix Yum in CentOS 7

Hey, I'm a student and I was left with homework installing CentOS 7 and finding a way to fix its repositories to make Yum work.

I can hardly find anything in Spanish so... could someone here explain what to do? really the information I find is so... Aja, everything has already mixed up in my head.

15 Comments
2024/11/15
04:12 UTC

0

Problems with vlan in Centos 7

Hello everyone, good afternoon! Sorry if the correct place for this request for help is not here.

I came to look for help because I exhausted what I knew to try to solve the problem. I have a vlan created on my Centos 7 server. There was no problem creating and configuring the vlan, but once the computers in the vlan's network range were added, they were unable to communicate with the server and neither the server was able to communicate with the computer doesn't even respond to ping.

From the server I can ping 192.168.3.245, but I cannot reach any computer in that network range 192.168.3.0/24
From any computer in the 192.168.3.0/24 network range I cannot ping 192.168.3.245, but I can ping between the computers.

I have a Managed Switch that I've already tried to change the port settings, but I didn't get any results.

Does anyone have any idea what is missing for this vlan to work properly? Maybe something in Firewalld that I missed?

Note: Without the vlan, using a configuration on the physical interface, communication works in all directions.

Running the command: nmcli device status
DEVICE     TYPE      STATE            CONNECTION
enp1s0     ethernet  conectado        enp1s0
vlanadm    vlan      conectado        vlanadm
eno1       ethernet  conectado        eno1

The physical interface has the following configuration:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eno1
DEVICE=eno1
ONBOOT=yes
BOOTPROTO=none
ZONE=internal

The vlan has the following configuration:
VLAN=yes
TYPE=Vlan
PHYSDEV=eno1
VLAN_ID=2
REORDER_HDR=yes
GVRP=no
MVRP=no
HWADDR=
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=vlanadm
DEVICE=vlanadm
ONBOOT=yes
IPADDR=192.168.3.245
PREFIX=24
GATEWAY=192.168.3.245
ZONE=internal
5 Comments
2024/11/12
20:07 UTC

0

CentOS Connect 2025

CentOS Connect will be back in Brussels January 30-31, the two days before FOSDEM. Join us at our free contributor conference to collaborate on the future of Enterprise Linux.

https://connect.centos.org/

0 Comments
2024/11/11
17:01 UTC

2

No Update for OpenJDK-1.8.0 in Stream9?

Hey,

I hope this sub is also the right place for Stream related questions. Sorry if not.

We run Stream 9 at work on our VMs, and one of our applications still requires Java 1.8 Recently we got an email from our security scanner due to a vulnerable Java version and I was quite shocked as I looked at the version...

CentOS 9 Stream still ships 1.8.0.362.

The official OpenJDK release is already at 432, and even CentOS 7 got updates until 402 before it went EOL.

What is going on here? Why is CentOS Stream 9 shipping such an old version of openJDK8 that contains a ton of CVEs?

10 Comments
2024/11/11
13:51 UTC

6

CentOS Board Welcomes Jack Aboutboul

CentOS is excited to welcome Jack Aboutboul to the Board of Directors. With over 20 years of experience in the Linux, Open Source, and Free Software communities, Jack is well-known for his dedication to technology, community, and developer advocacy.

https://blog.centos.org/2024/11/centos-board-welcomes-jack-aboutboul/

0 Comments
2024/11/08
20:27 UTC

2

CVE-2024-26581 - patched or not?

The NIST page for CVE-2024-26581 states that Kernel versions from 5.11.0 - 5.15.149 are affected. The current Kernel version for CentOS 9 is 5.14.0-522.el9 - is this Kernel version affected? If so, when can we see an unaffected version in CentOS 9?

2 Comments
2024/11/08
11:48 UTC

0

How to use yum on CentOS7

Hi, I have been trying to build a docker image with CentOS7 for a personal project of mine and have accomplished this last month. But it seems like they have moved some files online and now I cannot use YUM anymore. I'm completely aware that CentOS7 has reached its EOL, so its completely understandable, I'm just trying to figure out how I can use yum again.

Last month on their docker hub page (https://hub.docker.com/\_/centos) I was required to add the following 3 lines to my dockerfile which resolved the issue. But since Thursday last week this no longer works. The lines that I used (and they provided):

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo

after that "yum install -y httpd" works. But now I get the following error:

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://vault.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
12 Comments
2024/11/04
07:29 UTC

0

Cetos7 with apaches subversion and SVNManager.

Hi Everyone,

I have been working on migrating our database from our current CentOS7 Linux VM, which runs the SVN Manager for our repository submissions, to a new CentOS9 VM with the latest Apache and SVN Manager installed.

The issues I am facing are:

- I do not have the Sql database password .

- I know that MariaDB is te database is running the information.

-I do have the root password for the machine but other passwords seem to have issues or are incorrent.

Could anyone provide guidance on the correct procedure to export all database information and securely reattach it to the new CentOS9 VM?

Thank you for your assistance.

6 Comments
2024/10/27
21:37 UTC

4

Centos 9 Stream - How to install guest additions on virtual box?

hi,

Anyone know how to do this on a freshly Centos 9 Stream?

I'm running these commands but it's not working

sudo yum update
sudo dnf update -y
sudo dnf install -y gcc kernel-devel kernel-headers make bzip2 perl elfutils-libelf-devel
sudo dnf install -y epel-release

Rocky Linux 9, Oracle Linux 9, Ubuntu 24, etc. - all work with Guest Additions. It's just Centos 9 stream.

I've also tried updating my VM to latest version

I checked too many youtubes, but it's just not working

I have a feeling there is a bug somewhere

<Error is below>

Kernel configuration is invalid. " include/genereted/autoconf.h or include/config/auto.conf are missing.:;\"
Run 'make oldconfig && make prepare' on kernel src to fix it

I tried running make prepare but itgives me error in the last the lines.

Thank you

5 Comments
2024/10/22
03:28 UTC

0

New installation of Cent OS and CWP panel

I am a complete beginner, is the combination of Cent OS and CWP panel suitable for me? I want to administer three Wordpress sites without much knowledge, but I want a stable system that will run on AWS. Thank you and I welcome other suggestions.

8 Comments
2024/10/18
15:44 UTC

0

Cannot install biblatex with yum

1 Comment
2024/10/18
06:06 UTC

0

How to install latex packages using YUM?

I am trying to install latex in alma. I did:

sudo yum -y install texlive texlive-*.noarch

but it seems that biblatex is missing. I am trying to do:

sudo yum -y install texlive-bibtex-extra biber

but I see:

No match for argument: texlive-bibtex-extra
Error: Unable to find a match: texlive-bibtex-extra

I check online in places like:

https://tex.stackexchange.com/questions/653092/how-to-install-the-full-texlive-on-centos-7

and it seems that people are just downloading the packages. I do not want to do that, I think the package manager should be able to do this sort of things. Am I doing anything wrong?

9 Comments
2024/10/18
02:30 UTC

7

Hard facts about differences between CentOS variants?

Now that was all very confusing. After Rocky had gotten more press coverage initially, Alma impressed me with their quick releases compared to Rocky, but the last thing I took notice of is that they abandoned the "bug for bug compatibility, if I understood it correctly.

Sometimes I read what CERN as a high profile CentOS user is doing, and my impression was that they also were confused.

Can someone point me towards an analysis how RHEL, Centos Stream, Alma and Rocky Linux really have come to deviate from one another? I mean hard facts what really happened, regarding kernel and package versions, not some announced "philosophy". Sorry If this question is a duplicate.

8 Comments
2024/10/13
19:25 UTC

3

egrep

I have a command to search a log that works well. However, I can't seem to get it to work when I try to narrow down my search by date and time.
egrep "^mm/dd|^mm/dd" /tmp/TheLog.log > /tmp/logname.log.

this is the full command: egrep "^10/08|^10/08" /tmp/filename.log > /tmp/fileName.csv

This is the log.... 09/27/2024 19:38:11.260, 1, AVI, 1, 3, 1, 2, 46, 6805239, 71, 1727487490.643, 1727487490.842, 199, 199, 0, 0, E470, PLZA, 3, 20258, 1727487490, 6C, 1727487490.753, 89, 89 09/27/2024 19:38:11.262, 2, AVI, 1, 3, 1, 2, 46, 6805239, 71, 1727487490.643, 1727487490.842, 199, 199, 0, 6, E470, PLZA, 3, 20258, 1727487490, 6C, 1727487490.753, 89, 89 09/27/2024 19:38:21.058, 1, AVI, 2, 2, 2, 4, 46, 6845568, 77, 1727487500.481, 1727487500.622, 141, 141, 0, 0, E470, PLZA, 2, 20260, 1727487500, 6C, 1727487500.591, 31, 31 09/27/2024 19:38:21.058, 2, AVI, 2, 2, 2, 4, 46, 6845568, 77, 1727487500.481, 1727487500.622, 141, 141, 0, 10, E470, PLZA, 2, 20260, 1727487500, 6C, 1727487500.591, 31, 31

6 Comments
2024/10/09
20:00 UTC

2

What's the best way to fire off RadiusD and get alerts if it dies

Our CentOS server handles RadiusD for wifi. Lately it's dying randomly.

I am no *INUX expert, I do a nohup radiusd to launch it as root.

Any ideas for a solution?

8 Comments
2024/10/08
23:42 UTC

1

Curl error (60): SSL peer certificate or SSH remote key was not OK

I'm installing a monitoring app but getting this error, appreciate any help.

SSL Certificate Error

When I tried to curl the link, it gives me below error. This is newly installed CentOS 9 Stream

[root@WINserver nagiosxi]# curl https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http

[1] 1939

[2] 1940

[root@WINserver nagiosxi]# curl: (60) SSL certificate problem: unable to get local issuer certificate

More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not

establish a secure connection to it. To learn more about this situation and

how to fix it, please visit the web page mentioned above.

6 Comments
2024/10/07
13:53 UTC

1

Disable CentOS9 Stream booting from GUI

I have installed CentOS9 Stream but somehow it booted with GUI.

We will be using this as server or replacement or our CentOS7.

Can this be disable and boot to CLI instead?

5 Comments
2024/10/07
12:57 UTC

8

Migrating from CentOS 7

I have my (first) VPS on CentOS 7 and it came to EOL this year, and I'm a bit on edge about the next step.

Most of my apps are in .NET and are already limited to .NET 7 because that's the version CentOS 7 supports.

I wanted to upgrade or fresh install to a version that I wouldn't have to worry about for years to come.

From what I've been researching, in terms of upgrading I can follow one of the options in the image or install something new like Fedora 40 (I don't even know if I can, I'd have to validate it with the provider).

https://preview.redd.it/08oidhrfcbtd1.png?width=833&format=png&auto=webp&s=20a0de8cf47ffc6de4ec9b66f6567d23e4b7cd58

What do you recommend?

The setup of the vps to get the apps running gave me some work to configure iptables and a few other things (such as logins, accesses, nginx, etc) that I did with the help of chatgpt.

Are these things preserved with an upgrade?

14 Comments
2024/10/07
10:42 UTC

1 Comment
2024/10/07
01:11 UTC

0

How to edit the fstab file from emergency mode?

I installed a 4 terabyte hard drive with autostart and now my centos 7 does not start, I have entered emergency mode to edit the fstab file again but it appears that it is only a read file, I entered as root.

4 Comments
2024/10/03
22:57 UTC

2

dnf can't download repodata

I got error

Errors during downloading metadata for repository 'baseos':
 - Curl error (35): SSL connect error for https://mirroronet.pl/pub/mirrors/centos-stream/9-stream/BaseOS/x86_64/os/repodata/repomd.xml [OpenSSL SSL_connect: Connection reset by peer in connection to mirroronet.pl:443 ]
 - Downloading successful, but checksum doesn't match. Calculated: b98a8f35876b4e5cba18cb3cc77a650d8260d5243cc12434173c2120b341b38ac48a9b09a5f396699c43ce81ce557162aa4c72381e8ee84b972ee53582756666(sha512)  Expected: e93d14b73332c745ae151b4fd1522363ee4e45d7cb76766e8051be81414739
7f1c0724fd9ae578a89fc2e679d9c6e6aed437bf6e650e76b3f098b0bebfc728d2(sha512)

When I tired run sudo dnf --refresh check-update

3 Comments
2024/09/30
18:43 UTC

1

C9S Gnome - How can I make my monitor turn off while logged out?

For my new homelab setup, I have installed CentOS 9 Stream with GUI option.

I have set performance options to power saving, and have set my monitor to turn off after 1 min.

The monitor turns off after 1 minute of inactivity while I am logged into Gnome desktop, as expected.

However, once I am logged out, the monitor only "dims", i.e. black screen but still with backlight on and consuming power. I expected the monitor to enter powersave mode but it does not, it stays on. So, when my server starts up in the morning, the monitor stays on for the whole time. Locking the screen after logging in also does the same thing (dim screen only, not sleeping)

On Windows, for example, monitor will turn off after configured time whether you are logged in or logged out. The PC will stay running idle but the monitor will be sleeping (LCD screen powered off). I want to achieve the same thing in C9S Gnome.

Is there some other setting i have to make?

0 Comments
2024/09/27
12:15 UTC

3

Requesting help for a newbie trying to make SCSI controller card work with Centos 9 Stream.

My Dell home server has a PCIe SCSI controller that I use with my old LTO-3 tape drive for tertiary backups of my data. Yes, I know these are old but it would be wonderful if I could get this to work with current C9S. They worked perfectly with CentOS 7.

04:08.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev c1)

`Subsystem: Hewlett-Packard Company SC11Xe Ultra320 Single Channel PCIe x4 SCSI Host Bus Adapter (412911-B21)`

I really have not much clue about getting drivers in Linux, but I can follow commands instructions.

My kernel is 5.14.0-508.el9.x86_64

After googling around I think I need special "kmods" to make things work, in particular kmod-mptspi, so after some further googling I found this link: https://mirror.stream.centos.org/SIGs/9-stream/kmods/x86_64/packages-main/Packages/k/

But there is no mptspi, and other RPMs from place like ELRepo doesn't appear to work on C9S when I run rpm -ivh command, I get bunch of kernel dependency errors.

Am I completely out of luck with this? I really like my tapes (nostalgia.. yes..) and would like to keep them running..

4 Comments
2024/09/21
09:25 UTC

0

looking for drivers floppy disk img centos 5.2 32bit

hello, im wondering which disk of cent os 5.2 32bit would contain the drivers for cent os. im working on making my own cent os installer and i need drivers but cant find them.

4 Comments
2024/09/13
20:49 UTC

Back To Top