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

How to disable password dictionary check in Centos 7-1

Everything I find online mentions commenting out cracklib... but it doesn't exist in my system-auth file. I would like to disable the dictionary check that CentOS does when a user is changing their password. This is my system-auth file: #%PAM-1.0 #…
Calab
  • 131
  • 1
  • 1
  • 3
3
votes
3 answers

error (network unreachable) resolving

Going through my logs, I just realized some part of my server might be compromised, although not an expert of Bind 9, I'm not sure what to correct in order to prevent this : Oct 24 14:16:50 ip151 named[54864]: error (network unreachable) resolving…
None
  • 153
  • 1
  • 1
  • 8
3
votes
1 answer

Centos killing parent shell wont kill background child processes?

I am learning for the Red Hat certification. In the book it is stated that since RHEL 7 (so also Centos latest version) that you dont need to use nohup anymore if you launch a process in the background, if you kill the parent shell the started…
dragosb
  • 171
  • 1
  • 9
3
votes
1 answer

Setting pcie_aspm=off at runtime

I'm running Centos 6.8 with 3.18.41-20.el6.x86_64 Xen kernel. Due to this problem (e1000e Detected Hardware Unit Hang) I updated my grub.conf appending arg pcie_aspm=off to the default kernel, but I can't reboot this hypervisor at the moment. I…
godzillante
  • 240
  • 1
  • 3
  • 12
3
votes
1 answer

Google-cloud-sdk dnf/yum repo multiple gpgkey errors

The google-cloud-sdk repo file for Red Hat Enterprise Linux 7 and CentOS 7 contains two gpgkey URLs. This is what the repo file looks like: [google-cloud-sdk] name=Google Cloud…
user381652
3
votes
3 answers

Bind not resolving domain name

I have a dedicated server that I can't seem to get my domain name to resolve correctly with bind. I tried many internet searches and compared different config files, but I can't seem to figure it out. I only have one ip address and gateway…
sly1x
  • 33
  • 1
  • 1
  • 4
3
votes
1 answer

Configuration trouble: PHP through mod_fcgid on CentOS 5.3

I've been Googling and researching the topic for quite a while but found only one thorough guide... That don't work. I want to run PHP through mod_fcgid on Apache2 - CentOS 5.3. With my current configuration I get 500 Internal Server Error on…
Christoffer
  • 257
  • 4
  • 11
3
votes
1 answer

iptables exceeds quota when a new rule is added

I've got iptables working on Centos 7, using version v1.4.21 but also tested on v1.6.0 (mind you I didn't rebuild the kernel since it says I no longer need to for the extensions). I set up a quota and it gets used: # iptables -nvx -L…
ericosg
  • 110
  • 2
  • 14
3
votes
2 answers

How to use Let's Encrypt with Dynamically configured mass virtual hostsing

I have a server configured to use Apach 2.4 dynamically configured vhosts. I have SSL configured for some domains but I am asked to use Let's Encrypt free service to provide SSL for all domains. Certbot was little bit unclear for me as I am not…
Faraz
  • 183
  • 1
  • 2
  • 10
3
votes
5 answers

`outputscript | gzip > $file` not overwriting $file

I have an hourly cron script which take some output (a mysql dump), pipes it through gzip, and aims to overwrite a file of the same name. When I run it manually as root the file is overwritten. When it is ran by the cron daemon the filename has ".1"…
Phillip B Oldham
  • 1,026
  • 5
  • 15
  • 24
3
votes
1 answer

Postfix not forwarding email

I have CentOS 7 on my Linode server and I'm trying to forward incoming emails to one of my domains on this server (mail@domain.com) to my gmail address (me@gmail.com), have done this before, but I'm stumped on why it's not working now as I'm trying…
Sayem Khan
  • 239
  • 1
  • 3
  • 8
3
votes
0 answers

Centos bind DNS server configuration with ipv6

in order to APPLE , after 1 June all applications must support the ipv6 so i need to reconfigure my ios app. So i create a local network with ipv6. My topology is below. i configured bind 9.8 on centos A and AAAA record and PTR record. i can query…
Yasin Caner
  • 46
  • 1
  • 4
3
votes
4 answers

Why isn't crontab running every minute

I have a cron that needs to run every minute I tried 1 * * * * php /scripts/cron.php but seems not to run every minute, why? Since in the minute tab I entered 1 for every minute but the following runs every minute * * * * * php /scripts/cron.php
Elitmiar
  • 775
  • 3
  • 15
  • 31
3
votes
0 answers

How to trigger initial login so user slice gets created

I may be taking the wrong approach here, but the new centos 7 implementation of cgroups lets you put limits on user's access to system resources by attaching said limits to their slices. Ie. systemctl set-property user-1005.slice…
Rooster
  • 495
  • 2
  • 7
  • 21
3
votes
2 answers

Is it safe to create tarball while files are in use?

Is it safe to create a tarball of a directory while the files in the directory are being used (read+write)? I want to create a backup of a 20GB directory without having to shut down my application server. I don't mind if the files are changed while…
Elite_Dragon1337
  • 216
  • 1
  • 2
  • 10