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 remove duplicates after a failed yum update?

I probably ran out of memory when I tried to update packages on my CentOS system. Now when I try to run updates it got stuck: Error: Package: glibc-devel-2.17-157.el7_3.5.x86_64 (@updates) Requires: glibc-headers = 2.17-157.el7_3.5 …
Roderik
  • 127
  • 3
  • 9
3
votes
0 answers

Blocking ALL outgoing traffic Using firewalld to dedicated network subnets?

I have several RHEL7/CentOS7 servers on which I need to block all OUTGOING traffic to dedicated machines or dedicated network subnets e.g. CIDR 168.192.10.0/24. For the moment I tried with firewall-cmd but was not lucky. Most of the posts I saw…
m0ll3art
  • 31
  • 1
  • 2
3
votes
1 answer

Why is '-o sec=krb5p' unnecessary in the mount command?

I have a nfs server on Centos 7 with this in the /etc/exports file: /export *(rw,sec=krb5p) When I issue this command, it mounts successfully, as expected: mount -t nfs -o sec=krb5p server.example.com:/export /mnt/export It also mounts successfully…
SauceCode
  • 143
  • 1
  • 5
3
votes
2 answers

Exists dir on puppet

I want to check "if dir exists" condition with puppet how it done here How to do a file/dir exists conditional in Puppet? but then if i write exec { 'check_presence': command => "true", path => ["/usr/bin","/usr/sbin", "/bin"], …
user423253
  • 33
  • 4
3
votes
1 answer

Have Kickstart automatically generate a root password on install

I am currently working on multiple Kickstart configs for my company to allow for easy VM deployment. I cannot find any documentation showing how to have Kickstart generate a root password. Is it possible? If not, can I pipe in output from python or…
FireFaced
  • 33
  • 4
3
votes
2 answers

What is causing `input/output` errors when reading from NFS v4 on CentOS?

We're seeing apps like nginx and php-fpm error out occasionally (and temporarily) while opening good files from a connected NFS mount: php-fpm error example: 2017/05/20 22:53:09 [error] 55#0: *6575 FastCGI sent in stderr: "PHP message: PHP Warning: …
editor
  • 383
  • 2
  • 5
  • 21
3
votes
1 answer

Docker: connection reset by peer

I have a physical CentOS 7 host (A) on my LAN (192.168.0.0/16). SElinux is disabled, and firewalld is disabled. It is the only changes I made from install defaults. I have an other host (B) on that LAN; (B) has services like www, ssh, icmp. At this…
DrWho3
  • 33
  • 1
  • 1
  • 4
3
votes
1 answer

packets transmitted, 0 received (no internet connection) on centos 6.6 vps

I have centos 6.6 vps server. When I use command: yum update get error: Error: Cannot find a valid baseurl for repo: base when I check for ping and use command: ping -c4 google.com get error: ping: unknown host google.com or use ping -c4…
mohsenJsh
  • 139
  • 1
  • 1
  • 5
3
votes
0 answers

Centos 7 SSSD based user access stops working after AD password change

We use SSSD to provide AD authentication, and kerberos TGT acquisition, on Centos 7.3 build 1611. This works correctly for 99% of users most of the time, but we've hit an issue where post-password change (via Windows PC), a single user can no longer…
SiCole99
  • 31
  • 1
  • 3
3
votes
0 answers

centos: fusermount: fuse device not found, try 'modprobe fuse' first

while trying to mount google bucket or set sshfs up I am getting following error: fusermount: fuse device not found, try 'modprobe fuse' first modprobe fuse command does not show anything: [user@drive ~]# modprobe fuse [user@drive ~]# fuse is…
m1k3y02
  • 216
  • 4
  • 11
3
votes
3 answers

Azure resize VM from A2/3 to DS2 v2

I'm trying to resize a couple of Azure VMs created some time ago from basic A3 and standard A3 to standard DS2v2. I don't seem to have the ability to resize to that size of VM. It would be a bit of a pain to have to rebuild the servers from…
Tom
  • 136
  • 1
  • 2
  • 8
3
votes
3 answers

sshpass failed to run command: no such file or directory

I am trying to use sshpass to copy a file between VMs. However when I run the command: sshpass -p 'password' rsync --rsync-path="sudo rsync" "/home/myuser/anaconda/Anaconda2-4.3.0-Linux-x86_64.sh" "user2@destination.vm":/opt I get the output:…
jencoston
  • 133
  • 1
  • 1
  • 6
3
votes
1 answer

Unable to mount kerberized nfs?

I want to configure kerberized nfs, and export /data/books I have 3 servers: ipa, server, client I configured ipa and added nfs service. My Steps are: In ipa: ipa service-show nfs/server.linux.rhce.com ipa-getkeytab -s ipa.linux.rhce.com -p…
0xh3xa
  • 163
  • 3
  • 12
3
votes
2 answers

How to block all ip's which are not in ipset list

I am trying to block all traffic except US and Canada. I added all US and Canada IP's to ipset geoblock and when i am trying this command. I am getting an error. iptables -A INPUT -m set --set !geoblock src -j DROP -bash: !geoblock: event not…
3
votes
0 answers

Can't backup Cisco configuration with tftp

I get the following error: SW-AL710-1#copy running-config tftp: Address or name of remote host []? 10.0.1.130 Destination filename [sw-al710-1-confg]? %Error opening tftp://10.0.1.130/sw-al710-1-confg (Timed out) This is my configuration: more…
Mishgun
  • 31
  • 2