Most Popular
1500 questions
47
votes
9 answers
Linux ATA errors: Translating to a device name?
When a Linux box gets an ATA error, it syslogs it with a message identifying the disk as "ata%d.00". How do I translate that to a device name (e.g. /dev/sdb)? I feel like this should be trivial, but I cannot figure it out.
nelhage
- 571
- 1
- 4
- 4
47
votes
6 answers
How do I make RabbitMQ listen only to localhost?
I have installed RabbitMQ on a Debian Linux Squeeze machine, and I would like it to only listen to the localhost interface. I have added
RABBITMQ_NODE_IP_ADDRESS=127.0.0.1
to my /etc/rabbitmq/rabbitmq.conf file, and that makes it bind to only the…
Vebjorn Ljosa
- 662
47
votes
6 answers
How do I access a local web server on my laptop from another computer?
I have an app running on my computer at 127.0.0.1:3000
I would like to access that app from an iPhone connected to the same network. I have done this before but blanking out on how I did it. Any ideas?
Tony
- 1,311
47
votes
6 answers
How do you avoid network conflict with VPN internal networks?
While there's a wide variety of private non-routable networks across 192.168/16 or even 10/8, sometimes in being thoughtful of potential conflict, it still occurs. For example, I set up an installation OpenVPN once with the internal VPN network on…
jtimberman
- 7,597
- 2
- 34
- 42
47
votes
10 answers
Linux (mv or cp) specific files from a text list of files?
I have a directory of many files, something like 50,000 pdf's and other files on a server. I need to move specific ones to another directory. I can generate a list of the files that need to be moved either in csv or any other text format.
What I…
Jestep
- 643
47
votes
7 answers
Is it safe to have SQL Server auto-shrink turned on?
There are many SQL Server options that can be enabled for databases, and one of the most misunderstood ones is auto-shrink. Is it safe? If not, why not?
Paul Randal
- 7,194
47
votes
8 answers
How do I list all superusers?
On a linux box, how do I list all users that possess identical privilege to the superuser (and even better, all users in general along with if they are able to escalate their privilege to that level or not)?
Eric
- 473
47
votes
4 answers
How to set up stats for HAProxy?
I can't figure out how to set up stats for HAProxy.
This is my configuration:
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
daemon
#debug
user haproxy
group haproxy
maxconn 4096
stats socket…
Jan Deinhard
- 2,403
47
votes
6 answers
Listing available smb shares on a network through the command line in linux
I was wondering if there is a way of listing all the smb servers on a local network (like looking at a network neighborhood in windows) via the command line in fedora.
jcb344
- 693
- 2
- 7
- 8
47
votes
5 answers
How do I check a PTR record?
I need to check a PTR record to make sure that a script I have is sending emails which will actually be received by my users and not be incorrectly marked as spam.
I understand that the ISP which owns the IP range has to set up the PTR record, but…
Daisetsu
- 647
- 1
- 6
- 8
47
votes
8 answers
How do I ask screen to behave like a standard bash shell?
Just learned about the screen command on linux - it is genius. I love it. However, the actual terminal/prompt in screen looks and behaves differently than my standard bash prompt. That is, the colors aren't the same, tab completion doesn't seem…
thornomad
- 571
- 1
- 4
- 5
47
votes
13 answers
How to change "From:" field for emails from Cron?
I use remote SMTP via nullmailer and it requires set From field to the specific name, but cron set it as root@my.sweet.server.com.
How could I change it to something like me@ya.ru?
Alexander Artemenko
- 1,423
47
votes
10 answers
Which is better: RAID5 + 1 Hotspare / RAID6?
Just curious, I have 6 x 1TB 7200RPM Near Line SAS for my new server. I can either configure it as RAID5+1 Hot Spare or RAID6.
What should I choose?
Raptor
- 1,041
- 4
- 19
- 38
47
votes
5 answers
Automatically answer defaults when doing 'make oldconfig' on a kernel tree
When building a new kernel based on a previous config, is there a way to automate the make oldconfig process so that it sets new options to their default values?
Edit: What I mean is that when using a .config (from /boot/config-* or /proc/config.gz)…
Jean-Francois Chevrette
- 733
- 2
- 6
- 8
47
votes
6 answers
Rsync daemon: is it really useful?
Are there any practical benefits in using rsyncd compared to rsync over ssh? Does it really increase speed, stability, anything?
kolypto
- 11,218