Most Popular
1500 questions
49
votes
2 answers
How can I see the contents of the mail whose ID I get from mailq command?
I used mailq command and I got a line like for example:
A705238B4C 603953 Wed May 23 11:09:58 apache@myserver.com
So, now I'm wondering is there a way where I can "read" an actual content of the mail by its id A705238B4C
Nikola
- 857
49
votes
23 answers
How do I destroy a hard disk?
I have an old hard disk (Maxtor 250Gb) from about 3 years ago that started giving errors and now sits in a draw in my desk. It has some confidential data on it but it's unlikely that it can be read because the disk started to go bad. However, before…
Guy
- 1,839
49
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,924
49
votes
8 answers
Remove path from find command output
I have a bash script for deploying code from a beta environment to a production environment but currently I have to add the list of files to a txt file manaully and sometime I miss some. Basically my deployment script cat/loops copying the files…
Mikey1980
- 761
49
votes
7 answers
How can I prevent a DDOS attack on Amazon EC2?
One of the servers I use is hosted on the Amazon EC2 cloud. Every few months we appear to have a DDOS attack on this sever. This slows the server down incredibly. After around 30 minutes, and sometimes a reboot later, everything is back to…
cwd
- 2,793
49
votes
7 answers
What is the best Linux filesystem for MySQL (InnoDB)?
I tried to look for benchmark on the performances of various filesystems with MySQL InnoDB but couldn't find any.
My database workload is the typical web-based OLTP, about 90% read, 10% write. Random IO.
Among popular filesystems such as ext3, ext4,…
Continuation
- 3,130
49
votes
4 answers
How do I request a new IP address from my DHCP server using Ubuntu Server?
I know there is a simple command for this, but how do I tell my Ubuntu server instance to request a new IP address from the DHCP server on eth0?
Heat Miser
- 615
49
votes
2 answers
Splunk is fantastically expensive: What are the alternatives?
Possible Duplicate:
Alternatives to Splunk?
This has been discussed, but it has been several months, so it may be time to revisit it:
Earlier discussion RE Splunk alternatives
For the record, Splunk rocks. But the pricing is simply beyond what we…
49
votes
9 answers
How fast is 127.0.0.1?
I wonder if it is tied to my NIC at all or if the OS or driver intercepts and immediately returns data sent to the loopback address?
Does the signal actually travel to my NIC then the NIC returns it?
user55029
49
votes
4 answers
Installing optional Nginx modules with apt-get
I currently have Nginx installed via the instructions on the Nginx site:
nginx=stable
sudo su -
add-apt-repository ppa:nginx/$nginx
apt-get update
apt-get install
I have configured Nginx and it has been running great for a little while. Now, I…
Michelle Tilley
- 593
49
votes
3 answers
Why is setting Nginx as a reverse proxy a good idea?
I have a Django site running on Gunicorn with a reverse proxy through Nginx.
Isn't Nginx just an extra unnecessary overhead?
How does adding that on top of Gunicorn help?
TheOne
- 615
49
votes
2 answers
chown on a mounted NFS partition gives "Operation not permitted"
I have a remote partition that i have mounted locally using NFS.
'mount' gives
192.168.3.1:/mnt/storage-pools/ on /pools type nfs (rw,addr=192.168.3.1)
On the server i have in exports:
/mnt/storage-pools …
Disco
- 1,451
49
votes
7 answers
Disable password complexity rule in Active Directory
Where do I go to disable the password complexity policy for the domain?
I've logged onto the domain controller (Windows Server 2008) and found the option in local policies which is of course locked from any changes. However I can't find the same…
Daniel Revell
- 701
49
votes
7 answers
How can I identify which processes are generating UDP traffic on Linux?
My machine is continously making udp dns traffic request. what i need to know is the PID of the process generating this traffic.
The normal way in TCP connection is to use netstat/lsof and get the process associated at the pid.
Is UDP the connection…
boos
- 651
- 1
- 6
- 8
49
votes
4 answers
Using Same SSH Private Key Across Multiple Machines
I've got a Github repo I want to access from two different Linux machines.
For the first machine, I followed Github's instructions for generating SSH keys, and added the resulting public key to Github. This client works fine.
For the second…
Yarin
- 1,366