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

How do I get SELinux to allow Apache and Samba on the same folder?

In the configuration I have setup I wish to allow samba and apache to access /var/www I am able to set a context to allow samba access, but then httpd doesn't have access. Using setenforce to 0 eliminates issues so I know that it is SELinux. In…
Joshua Enfield
  • 3,454
  • 8
  • 42
  • 59
31
votes
6 answers

Why are CentOS mirrors HTTP and not HTTPS?

As far as I know, HTTP is prone to man-in-the-middle attacks. As such, the repositories in Alpine Linux or the CentOS Mirrors are not HTTPS. In the olden days, having HTTPS used to be an expensive matter. It cost server CPU time and the certificates…
SydMK
  • 421
  • 4
  • 7
30
votes
4 answers

No network connectivity to/from Docker CE container on CentOS 8

I just installed the latest release of docker-ce on CentOS, but I can't reach published ports from a neighboring server and can't reach the outside from the container itself. Running a plain vanilla CentOS 8 with NetworkManager and FirewallD…
Saustrup
  • 1,183
  • 1
  • 8
  • 12
30
votes
8 answers

Deploying new code live

What's the best practise to deploy new code on a live (e-commerce) site? For now I have stopped apache for +/- 10 seconds when renaming directory public_html_new to public_html and old to public_html_old. This creates a short down-time, before I…
nicoX
  • 611
  • 9
  • 18
30
votes
3 answers

Is it safe to reboot a server open to the internet?

Specifically I have an iptables ruleset defined on a server running CentOS. Am I guaranteed / can I guarantee / how can I guarantee that when networking comes online (either at machine boot, or after restarting the network service) the iptables…
Parthian Shot
  • 1,165
  • 4
  • 16
  • 32
30
votes
7 answers

How to monitor the hard disk status behind Dell PERC H710 Raid Controller with CentOS 6?

I have a Dell server running CentOS 6 using PERC H710 Raid Controller card with Raid 5 setup and I want to monitor the hard disk failure/working status behind the Raid Controller. Then I should be able to use a bash script to monitor the hard disk…
Xianlin
  • 665
  • 4
  • 15
  • 21
30
votes
3 answers

The XFS filesystem is broken in RHEL/CentOS 6.x - What can I do about it?

Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I've depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file situation resulting from a poorly-documented kernel…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
30
votes
1 answer

MySQL [Warning] IP address could not be resolved

I'm running MySQL5.6.3 on a CentOS 6.1 virtual machine running on Windows XP in VirtualBox. The network card is configured in bridge mode, so my physical & virtual machines share the same ethernet card. On the virtual machine, everything works fine:…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
29
votes
3 answers

yum equivalent of "apt-get purge"

I want to reinstall a package on CentOS and start from scratch. In Debian, I can do a apt-get purge foo and it'll remove all config files for foo. yum remove foo doesn't remove the config files. Is there any way to do apt-get purge foo using yum?
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
29
votes
6 answers

CentOS 7 - end of life in 2024, then what

We are working on a software solution and some of our providers are really CentOS 7 centered. CentoS 7 will continue to produce through the remainder of the RHEL 7 life cycle, which will end sometime in 2024. CentOS 8 will receive updates till…
marsisalie
  • 407
  • 1
  • 4
  • 7
28
votes
3 answers

CentOS 7 firewall-cmd not found

I have just installed CentOS 7: [root@new ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) I am trying to configure the firewall, and I'm told that in CentOS 7 iptables is no longer used, replaced by firewalld. When attempting to…
BnMcG
  • 500
  • 2
  • 5
  • 12
28
votes
4 answers

Solving multilib version problems

I use CentOS 6.4 When I tried to install libgcc with yum install libgcc.i686 I took following massages. Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just …
user1345414
  • 387
  • 1
  • 4
  • 10
28
votes
5 answers

CentOS thinks Disk is busy, can't mount or fsck

I'm a longtime user, and first time question submitter. I've spent a full day searching this and many other sites for a solution, but I must resort to requesting assistance to resolve my situation. History: Our HP Proliant, Centos 5.9 server was…
TripSixes
  • 383
  • 1
  • 3
  • 6
28
votes
2 answers

How does one install a custom CA certificate on CentOS?

I'm trying to install a certificate for my internal certificate server on a series of CentOS systems, and I'm finding the documentation on this to be almost non existent. My end goal is to be able to use git, curl, and others against internal secure…
Mikey T.K.
  • 1,417
  • 2
  • 16
  • 29
27
votes
11 answers

Can't start CentOS 7 "network" service

I Can't start CentOS 7 "network" service after disabling and removing "NetworkManager" service. When I check the network service status, it comes up with the following error: #systemctl status network.service network.service - LSB: Bring up/down…
Gazel
  • 293
  • 1
  • 4
  • 9