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
3
votes
2 answers

Getting error when installing php in Centos 7.4 OPENSSL_1.0.2

I am trying for a couple of days to install php without any luck. The process which usually takes 2 minutes. I have CentOS 7.4.1708 and Apache 2.4.6. When I install php using yum install php and run the command php -v I get the error php:…
Dr. Mian
  • 151
  • 3
  • 11
3
votes
1 answer

SQL Server 2017 on Linux in script upgrade mode after update

I have MS SQL Server 2017 running on CentOS for several months without a problem. Three days ago I applied yum update that included update for mssql-server as well. and ever since I can't connect to the server, getting the following error: Sqlcmd:…
Felix
  • 543
  • 5
  • 10
  • 23
3
votes
7 answers

Centos and dell PowerEdge Rxxx Series

we lately purchase few dell servers all of them from Rxxx series couple of R410 and R710 the OS we used on those servers is: CentOS 5.4 we're getting very weird error messages and we lost network connectivity couple of times (restarting the network…
OrenM
  • 71
  • 1
  • 7
3
votes
1 answer

Is it possible to install Samba 3 on CentOS 7?

Trying to address a compatibility problem with Samba 4, that comes with CentOS 7, I consider downgrading to Samba 3. However, based on this page https://pkgs.org/download/samba, and elsewhere I have looked, I can not find a Samba 3 version where…
EquipDev
  • 131
  • 1
  • 3
3
votes
5 answers

Reset firewalld rules to default?

On CentOS 7 have I been trying out different firewalld rules and iptables commands, and now want to do it all over, but only using firewalld. Question How can I reset all rules to the default that CentOS 7's firewalld ships with?
Louise Hoffman
  • 476
  • 2
  • 6
  • 12
3
votes
3 answers

Why firewalld doesn't apply my drop rule?

In centos 7 I want to block traffic from a source IP (example 3.3.3.3) and for that I apply the following rule: # firewall-cmd --permanent --zone=drop --add-source=3.3.3.0/24 # firewall-cmd --reload After that command I checked that my rule applies…
kockiren
  • 886
  • 3
  • 14
  • 37
3
votes
1 answer

RRDTool Not Creating .RRD File

I'm setting up Cacti and it seems the RRDTool isn't creating the .rrd file. This is on CentOS 6.9. Here is what I've tried so far: Running the command as root to eliminate permissions. Running the same command on another machine that has just…
3
votes
0 answers

Is it OK to prepare drives in mdadm RAID in LinuxMint live and then run CentOS7 installer?

I am planning to setup a CentOS7 server with software RAID. Since the CentOS7 installer isn't particularly good at preparing the disks, I wonder if it would be OK to boot up a LinuxMint 18 live, do the partitioning and RAID assignment and then…
Pavel Tankov
  • 376
  • 3
  • 16
3
votes
2 answers

Kubernetes cgroup driver misconfiguration

Default Docker installation in CentOS starts with systemd Cgroup. I installed Kubernetes from official YUM repo and systemd drop-in 10-kubeadm.conf has the following…
Gasim
  • 977
  • 4
  • 14
  • 23
3
votes
2 answers

Unable to run Expect " no more ptys. " as normal user

I have an LXC container with CentOS 7.4 running. On running expect from Normal user I am getting the below error. user@server ~> expect -c "spawn ls" spawn ls The system has no more ptys. Ask your system administrator to create more. while…
nirmalraj17
  • 203
  • 4
  • 13
3
votes
1 answer

Nginx on CentOS: How can I change the "Server" header?

I'm running Nginx on Centos6. For security reasons I'd like to change/remove the Server HTTP header contained in the response headers. For instance,nginx's default Sever header looks like:I'm running Nginx on Centos6. For security reasons I'd like…
joejoe12
  • 31
  • 1
  • 2
3
votes
2 answers

SSSD LDAP authentication using two different LDAP servers

I am trying to setup LDAP authentication using SSSD on CentOS 7. Is it possible to set up SSSD in a way that it uses two LDAP servers: one LDAP server is used just for authentification (basically just to authenticate with the password) and other…
Mr. White
  • 33
  • 4
3
votes
1 answer

Have SSHD listen to another port on Centos with SELinux running

I have a Centos VM running with SELinux enabled. I wish to have sshd listen to another port --- says, 993. I've modified the sshd_config file to listen to another port, but SELinux is getting in the way. I don't want to disable SELinux. How do I…
vy32
  • 2,088
  • 2
  • 17
  • 21
3
votes
2 answers

Conversion IPTables rule to Firewalld rule to redirect

I'm not very familiar with network stuff and I have difficulties to understand hay firewalld works. I'm developping a REST service, actually listening on port 8080, and I want to be able to send requests on port 80 that would be redirected to…
Cheloute
  • 133
  • 1
  • 4
3
votes
0 answers

Hyper-V Migration Windows 10

I'm trying to import an exported VM from a Microsoft Hyper-V instance running on a Windows 10 node to another Windows 10 node. As far as I know the 2 hosts are exactly the same in terms of hardware. So I performed the export and placed the generated…
NA1985
  • 31
  • 1