/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,666 Subscribers

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.

4 Comments
2024/10/27
21:37 UTC

3

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

3 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

9

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

4

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?

9 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

7

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

2

Fail booting with new kernel

I have two kernels on my system: 5.14.0-503 and 5.14.0-505

The system boots fine with kernel 503.

When I select 505, the system boots to sddm. After trying to login, I see a black screen with a blinking cursor.

How can I gather more information before creating a bugzilla ticket to provide more information?

Update: I use KDE

7 Comments
2024/09/13
17:26 UTC

1

Port 25 and 465 not working on CWP

I have been using CWP, for 4 months and recently i encountered an issue of smtp ports not working.. i have diagnosed from as many ways i know but don’t know why when i access

telnet example.web.com 25 telnet example.web.com 465

Then it says connection refused. Don’t know why where i am lacking..

I have this cwp with CentOS 8 stream and installed on ec2 instance (with elastic ip and rDNS setuped)

2 Comments
2024/09/13
07:26 UTC

0

Can’t power on vm’s

I’m new to cero on Linux, mainly working in networking. Long story short I have a cent os locally installed in a pc, there it has 3 vm. Two windows and a Kerio control firewall. Here is the thing since the dhcp server is in the vm I can’t get iP the sever doesn’t get ip to ssh and I’m desperate to power on the vm’s. Note: I didn’t configure this and the previous guy is dead.

1 Comment
2024/09/12
19:07 UTC

8

Centos7 to Centos Stream 9 upgrade path

We have 21 Centos7 servers which we manage using VMware Vsphere.

Centos7 is EOL as of 30 June 24, so I want to know its upgrade path.

What would be the best and easiest option?
Fresh new Centos Stream 9 or upgrading the servers to other open-source flavors?

30 Comments
2024/09/12
11:00 UTC

1

Where is RHEL/CentOS being used in cars?

This post about the EOL of CentOS and talking about CentOS Stream and where it fits into the Fedora->Centos Stream -> RHEL pipeline mentions it was used in cars. (https://www.redhat.com/en/blog/centos-linux-end-life-centos-stream-and-new-red-hat-enterprise-linux-landscape)

I thought cars used Android or some Unix variant?

11 Comments
2024/09/11
14:39 UTC

0

How do you think of the speed of 1.7 TB in 40 mins for backup?

Guy, in the post of Mustafa ÇAKIR on Linkedin, it is mentioned that the backup software Vinchin extracts 1.7 TB data from Centos 6.9 final in 40 minutes. How do you think of it?

https://www.linkedin.com/posts/mustafa--cakir_vinchin-vinchin-vinchin-activity-7237818806910255104-XkjQ?utm_source=share&utm_medium=member_desktop

3 Comments
2024/09/11
03:28 UTC

1

strange update for epel-release package

dnf suggests to update the package epel-release-9-8.el9.noarch
The update changes the file /usr/bin/crb
```
30c30
<     crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt | awk '{print $1}')

    crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')

```
Both variants correctly determine the name of CodeReady Builder repository in repolist.

Why was this change made?

Is it possible to find ticket in bagtrack

1 Comment
2024/09/09
15:22 UTC

1

How many connections for each domain?

I'm running CentOS 7. I know, it's EOL :-/ But I'm procrastinating because I really need to get a new server, and that's pricey and will take more time than I can spare right now.

I used to use this to see how many connections each domain had active:

# it connects to WHM/cPanel server status
/usr/bin/lynx -dump -width 500 http://127.0.0.1/whm-server-status | grep GET | awk '{print $12}' | sort | uniq -c | sort -rn | head

This was helpful when the load was high and I was trying to figure out which domain was being hit really hard by a bad bot, but my current server doesn't have lynx installed.

Should I install lynx just for this, or is there a better alternative to get the same data?

I was thinking about writing a bash script to cURL whm-server-status, but I hate to spend all day writing it if there's something already out there for it :-)

1 Comment
2024/09/05
05:47 UTC

2

Diabolical Bridging with KVM

The Issue

I'm seeing a weird and unwanted bridging between network inferfaces.

Please see the attached diagram for the network layout.

On the "management server" I am running CentOS 7 and using KVM (via libvirt). My goal is to be able to run a VM which sees the network exactly like on of the factory floor machines does. I.e. it would find the factory floor server as the only DHCP offer.

The problem is that whenever the VM boots, it first receives a DHCP from the corp side. It also receives an offer from the factory side, but it's too late by then. It's already accepted the earlier offer, and what I want to test (the net booting) is no longer possible.

https://preview.redd.it/ohbyeoprdrmd1.png?width=960&format=png&auto=webp&s=c29ad700000a5d1d99ecc7ced3464183d74b7ade

Networking setup

On the management server, eth0 is configured statically, eth1 is configured to use DHCP. It actually gets a 10.0.0.0/24 address successfully.

The VM is configured to use "Host device eth1: macvtap" in VEPA mode.

There are no bridges configured. (Although I did play around with this quite a bit).

Network Diagnosis

I used Wireshark on the management server to see what's going on. Here's roughly what happens.

t0: mac of eth1 -> DHCP discover
t1: mac of corp switch -> DHCP Offer 10.1.1.X gw 
t2: mac of factory side of factory server -> \
          DHCP Offer 10.0.0.Y gw/file/nextserver...10.1.1.1

By the time t2 happens it's too late. The first DHCP offer is accepted.

I also run Wireshark on eth0 and I can see that the DHCP discover is there, but interestingly, the DHCP offer from 10.1.1.1 is only seen on eth1. Makes zero sense to me. Other clients connected to the same switch as eth1 work fine and only seem to boot from the correct DHCP server.

Help Needed

By what diabolical and ungodly manner are these DHCP packets traversing a void where no packet should go?

0 Comments
2024/09/04
09:08 UTC

0

I have a trouble with CentOS update

Hi, I'm trying to update my CentOS 7 with the command sudo yum update but this error is showing and I've research on internet forums and the IA hehehehe, but it doesn´t work. This virtual Machine is running on VMware Workstation and the network config is on NAT with my PC, in fact, the Virtual Machine has ping with google.com, it works but I don't know how to fix that. Help me pleaseeeeeeee :c

https://preview.redd.it/ualftfx9upmd1.png?width=1920&format=png&auto=webp&s=1557998ea34488db6bd6b3342e29a9bbfc91e5c2

6 Comments
2024/09/04
03:54 UTC

6

Centos website seems un-maintained since end of 2023.. is this a sign for future of Centos?

I am in the boat to continue using Centos Streams as my workload doesn't need true "enterprise" level of anything, and just that I am more familiar with RHEL environment. So far it's been good and I don't have any problem running C9S in any of my environments, both home and work.

I'd like to keep staying with Centos Stream, but seeing how the webpage seems abandoned doesn't give a lot of comfort..

Would it be likely that RHEL going to slowly phase out or discontinue Centos alltogether?

27 Comments
2024/09/03
09:50 UTC

Back To Top