Questions tagged [centos]

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat. CentOS aims to be 100% binary compatible with RedHat Enterprise Linux. CentOS mainly changes packages to remove upstream vendor branding and artwork.

Support & Lifecycle

Each CentOS version is maintained for up to 10 years and a new version is released approximately every 2 years.

+----------+-------------- +---------------+---------------------+
|  Version | Release date  |  Full updates | Maintenance updates |
+----------+---------------+---------------+---------------------+
| 3        | 19 March 2004 | 20 July 2006  |31 October 2010      |
| 4        | 9 March 2005  | 31 March 2009 |29 February 2012     |
| 5        | 12 April 2007 | Q1 2014       |31 March 2017        |
| 6        | 10 July 2011  | Q2 2017       |30 November 2020     |
| 7        | 7 July 2014   | Q4 2020       |30 June 2024         |
+----------+---------------+---------------+---------------------+

External Resources:

10670 questions
4
votes
2 answers

Why is SELinux blocking my Zabbix agent's sudo calls?

I have some Zabbix checks that require sudo. These are the contents of /etc/sudoers.d/zabbix zabbix ALL=(ALL) NOPASSWD: /bin/yum history zabbix ALL=(ALL) NOPASSWD: /bin/needs-restarting zabbix ALL=(ALL) NOPASSWD: /sbin/check31 zabbix…
Rens Verhage
  • 133
  • 1
  • 2
  • 7
3
votes
1 answer

sqlite3 module in python3.7 on CentOS

I'm trying to get a working version of Python 3.7 on CentOS, and the sticking point seems to be the built-in sqlite3 module. I'm building Python as follows (using a Dockerfile here for reproducibility): FROM centos:7.6.1810 RUN yum update -y RUN yum…
Ken Williams
  • 173
  • 1
  • 11
3
votes
1 answer

Updating php72-php-fpm to the latest php 7.4 on centos 7

Im a bit of a newbie at server administration and I was wondering if I could get some tips on updating my PHP version. When I first setup my server, I followed a tutorial and managed to get php 7.2 up and going, but now I want to update the php 7.4…
Chris
  • 133
  • 1
  • 1
  • 3
3
votes
3 answers

CentOS 7 how to get interface name by macaddress?

I'm trying to figure out how I can get the network interface name and then change the name. Right now it's easy to change the name with this example: ip link set eth1 name ; However I want to have a script or command where I have it auto…
Speedy059
  • 133
  • 2
  • 5
3
votes
1 answer

PowerDNS Recursor for Reverse Zones

I'm trying to deploy some PowerDNS servers as an internal DNS host, and I've got the recursor working, and the authoritative working, but the only thing I don't have functional is the reverse lookups. The system is configured to run in the Native…
DavisTasar
  • 344
  • 1
  • 6
  • 16
3
votes
3 answers

Yum doesn't update httpd past version 2.2.3 on centos

I have a fresh CentOS vps (CentOS release 5.4 (Final)), and yum installs Apache/httpd version 2.2.3 but 2.2.14 is the latest release. Why doesn't yum install more recent updates?
Scott Coldwell
  • 468
  • 5
  • 9
3
votes
3 answers

Selinux 'var_t' base type warning

I am currently 'lost' in the CentOS Selinux forest. My setup involves setting up a WSGI socket in /var/www/demo/out which nginx uses to communicate with the UWSGI process. Whenever I request the page in my browser I get an nginx error. Why is this…
3
votes
1 answer

What is wrong with my initial setup to install ceph?

I have downloaded ceph-ansible to install ceph for an evaluation and I ran on an error with package dependencies and I can't find anything about how to fix this using either ceph-ansible or yum. The error I got using ceph-ansible is below: Tuesday…
Salsa
  • 151
  • 5
3
votes
1 answer

mpt3sas_scsih_issue_tm: timeout when doing ZFS scrub

Overview We are currently doing a scrub on a ZFS pool with 12 RAID-Z1 vdevs, and each vdev has 12 drives. Each vdev corresponds to an enclosure. The hardware is a Dell PowerEdge 730xd with two Dell 12Gbps SAS (LSI SAS3008) controllers, and 12 Dell…
howderek
  • 143
  • 6
3
votes
1 answer

How to configure https with nginx with a public ip without domain name

I have a public IP (for eg: 123.123.123.123) and I would like to install the ssl on a nginx server (for using https). I have a folder in /etc/nginx/ssl where I store my .crt and .key. Here is my nginx.conf : user nginx; worker_processes…
executable
  • 217
  • 5
  • 15
3
votes
5 answers

How to show realtime traffic on each virtual network interface?

I have a dedicated server with a few virtual network interfaces, each mapped to a public IP address. How can I monitor the realtime traffic (in packets/s or Mb/s) of each of them, ideally on a single screen? What I'm looking for is something…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
3
votes
1 answer

OpenVPN Traffic Control on CentOS 7

I'm trying to give my OpenVPN some bandwidth limitation. I would like for example for each user give 10Mb/s for upload and download. I tried the following answer I found (Automatically Call a Script when a New User Connects and Bandwidth Shape the…
executable
  • 217
  • 5
  • 15
3
votes
0 answers

Libreswan Testbed in VirtualBox

I'm currently working to create a testbed in VirtualBox for two VMs with an isolated opportunistic IPSec network with LibreSwan. All services are coming up fine, but network traffic between the two VMs doesn't seem to actually be encrypted. If I…
3
votes
2 answers

NVIDIA-SMI can't communicate with NVIDIA driver

Problem description I am trying to set up a centos-7 GPU (Nvidia Tesla K80) instance on Google Cloud, to execute CUDA work. Unfortunately, I can't seem to properly install/configure drivers. Indeed, here is what happens when trying to interact with…
3
votes
3 answers

Can I unsilence kickstart step Performing post-installation setup tasks?

While anaconda kickstart installer runs the "Performing post-installation setup tasks" tasks are not visible on console and their outcome is only saved to ks-post.log file. I do want to also display it on the console as these steps could take a long…
sorin
  • 8,016
  • 24
  • 79
  • 103