Most Popular
1500 questions
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
6 answers
e1000e Reset adapter unexpectedly / Detected Hardware Unit Hang
I have a Dell 1U Server with Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 8 cores running Ubuntu Server Kernel Version 3.13.0-32-generic on x86_64. It has dual 1000baseT networking cards. I have it set up to forward packets from eth0 to eth1.
I have…
Kyle Coots
- 2,285
54
votes
2 answers
difference between _default_:* and *:* in VirtualHost Context
I want to know the difference between "default:*" and "*:*" in VirtualHost Context.
#...
ServerName host.example.com
#...
#...
ServerName host.example.com
…
Luigi Giuseppe
- 641
54
votes
7 answers
What are the practical differences between Maildir and Mbox?
Although I understand the basics of the two storage formats (1 file per email under Maildir vs. 1 single file per mailbox under mbox), I am wondering what the practical implications are here -
Is one storage format more scalable than the other?
Are…
olympe26
- 549
54
votes
7 answers
How to get e-mail from (failed) cron-jobs in Ubuntu?
I create cron-jobs in Ubuntu by placing the executable in one of /etc/cron.{daily,hourly,monthly,weekly}. There are lots of directories starting with cron:
kent@rat:~$ ls -ld /etc/cron*
drwxr-xr-x 2 root root 4096 2009-06-06 18:52…
Deleted
- 1,832
54
votes
4 answers
How do I authenticate with LDAP via the command line?
The LDAP server is hosted on Solaris. The client is CentOS. OpenLDAP/NSLCD/SSH authentication via LDAP work fine, but I am not able to use the ldapsearch commands to debug LDAP issues.
[root@tst-01 ~]# ldapsearch
SASL/EXTERNAL authentication…
ujjain
- 4,033
54
votes
6 answers
Linux Command to find Strings in Binary or non ascii file
Is there any linux command to extracts all the ascii strings from an executable or other binary file? I suppose I could do it with a grep, but I remember hearing somewhere that such a command existed?
Ethan Heilman
- 761
54
votes
4 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
- 18,727
- 23
- 85
- 135
54
votes
6 answers
How do I access the list of currently logged on users through Terminal Services Manager in Windows Server 2012?
In Windows 2003 and 2008 we had Terminal Services Manager (see screenshot below). However in Windows server 2012 it's gone.
Does anyone know how to access the list of currently remotely logged on users in Windows 2012 through a similar tool or some…
user3903
54
votes
6 answers
Windows 7: "localhost name resolution is handled within DNS itself". Why?
After 18 years of hosts files on Windows, I was surprised to see this in Windows 7 build 7100:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Does anyone know why this change was introduced? I'm…
Portman
- 5,289
54
votes
5 answers
Is greylisting still an efficient method for preventing spam?
I've used greylisting on my servers for many years, but I don't know how effective it is nowadays.
Is it still good for fighting spam in 2012?
Or is the typical spammer MTA capable of resending greylisted emails now?
neu242
- 724
54
votes
7 answers
How to get all fingerprints for .ssh/authorized_keys(2) file
Is there a simple way to get a list of all fingerprints entered in the .ssh/authorized_keys || .ssh/authorized_keys2 file?
ssh-keygen -l -f .ssh/authorized_keys
will only return fingerprint of first line / entry / publickey
hack with awk:
awk…
childno͡.de
- 682
54
votes
12 answers
What are useful .screenrc settings?
Basically like some of my own that I've posted below. I'm looking for added functionality to the programme 'screen'. At the very least have a look at the last line for a fantastic 'menu bar' at the bottom of a screen session.
## gyaresu's .screenrc…
Gareth
- 8,573
54
votes
2 answers
TCP/IP ports necessary for CIFS/SMB operation
If I want to allow Windows networked drives between two firewalled computers, do I need to open ports 137-139, or is port 445 sufficient? I have to submit a form and get approval to open firewall ports, and I don't want to ask for more open ports…
Jonathan
- 643
54
votes
4 answers
How to enable correct charset HTTP-header in NGINX
What is the right way to enable correct charset headers in NGINX?
I'm analyzing my website with Google Page Speed. It says that I should specify the charset of HTML files in HTTP-headers. What is the right way to do this?
I already tried to set…
pvorb
- 1,070