CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.
Questions tagged [centos6]
1776 questions
80
votes
3 answers
What does that mean: packages excluded due to repository priority protections
When updating with yum i recieve the following message:
yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: mirror.de.leaseweb.net
* extras: mirror.de.leaseweb.net
…
mate64
- 1,641
- 4
- 18
- 29
65
votes
9 answers
gpg --gen-key hangs at gaining enough entropy on centos 6
Trying to generate a key for a server.
gpg --gen-key
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives…
stormdrain
- 1,377
- 7
- 28
- 51
54
votes
4 answers
EPEL Repo for CentOS 6 causing error
I've got a VM running CentOS 6 (64bit) and I'm attempting to add the EPEL repo like usual to install various packages as I do quite regularly.
Today, I'm experiencing some strange errors yet I'm doing absolutely nothing differently.
I'm adding EPEL…
Tom Wilson
- 719
- 1
- 6
- 7
54
votes
7 answers
PECL command produces long list of errors
Currently running PHP 5.4 on CentOS 6.5.
I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL.
Shortly after, I realized 5.5 is not compatible with the framework I was working with so…
eComEvo
- 971
- 3
- 17
- 31
54
votes
8 answers
How can I find current SSH protocol version of the current connection?
I connect to a Linux machine (CentOS 6.4) using PuTTY. Except from fact that I can set PuTTY to only use one type of protocol, how can I find the current SSH connection's version (SSH1 or SSH2)?
codiac
- 659
- 1
- 5
- 8
50
votes
3 answers
ipmitool - can't find /dev/ipmi0 or /dev/ipmidev/0
Based on a previous question, I installed ipmitool (yum install ipmitool).
Even after a reboot, though, i get the following error when trying to run ipmitool power status:
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such…
warren
- 17,829
- 23
- 82
- 134
44
votes
8 answers
ls hangs for a certain directory
There is a particular directory (/var/www), that when I run ls (with or without some options), the command hangs and never completes. There is only about 10-15 files and directories in /var/www. Mostly just text files. Here is some investigative…
Jake Wilson
- 8,494
- 29
- 94
- 121
41
votes
3 answers
How to allow ssh to root user only from the local network?
I've installed Google-Authenticator on a CentOS 6.5 machine and configured certain users to provide OTP.
While editing /etc/ssh/sshd_config I saw a directive "PermitRootLogin" which is commented out by default.
I would like to set "PermitRootLogin…
Itai Ganot
- 10,424
- 27
- 88
- 143
41
votes
2 answers
CentOS /usr/local/lib system wide $LD_LIBRARY_PATH?
I install custom software in /usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use /usr/local/lib. I realize there may be more than one way. What's the simplest and most standard way?
unixman83
- 1,912
- 8
- 25
- 33
36
votes
5 answers
Changing the maximum mail size in Postfix
When sending large email to a new CentOS6 server running Postfix as the MTA, the following message is returned:
tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further…
warren
- 17,829
- 23
- 82
- 134
35
votes
2 answers
How do I configure LDAP on Centos 6 for user authentication in the most secure and correct way?
During the last couple of days I have been using a lot of F-words, while browsing Internet for good documentation about how to setup an LDAP-server. So far I have found none, but plenty that are less than good, but better than bad. So I had to do it…
Arlukin
- 1,203
- 6
- 18
- 27
34
votes
2 answers
Why is my bare-metal 16x 2.93GHz cores computer performing poorer than a VPS with 4x 2.5GHz cores?
I have a written a piece of multi-threaded software that does a bunch of simulations a day. This is a very CPU-intensive task, and I have been running this program on cloud services, usually on configurations like 1GB per core.
I am running CentOS…
Glauco Cattalini Lins
- 455
- 4
- 8
33
votes
5 answers
How do I change timezone in centos 6.2?
Here is the output of my date command:
[root@r1304 ~]# date
Wed Apr 18 15:43:28 GST 2012
I want to change the default system timezone to Asia/Dubai. I've followed a tutorial and did this:
ln -sf /usr/share/zoneinfo/Asia/Dubai /etc/localtime
But…
Temnovit
- 1,107
- 6
- 19
- 27
32
votes
6 answers
How to create a symbolic link without using ln?
I deleted a critical symbolic link - libc.so.6. I have the file it should point at, but the basic commands such as ln or wget won't work anymore due to the link missing. However, echo or other Bash builtins work.
I am looking for a way to recreate…
Sebas
- 535
- 1
- 7
- 18
30
votes
1 answer
What's the difference between postfix/smtp and postfix/smtpd
A bit confused when reading through the logs of my smtp/mail server, I'm turning this questions to you guys.
In the maillog files I'm seeing entries for postfix/smtp as well as postfix/smtpd. I can also see that there are possible settings for smtp…
Edwin Krause
- 437
- 1
- 4
- 6