Most Popular

1500 questions
120
votes
7 answers

What Linux distribution is the Amazon Linux AMI based on?

Amazon Web Services (AWS) offers an officially supported Amazon Machine Image (AMI), but it doesn't indicate which Linux distribution it's based upon. Is the official Amazon Linux AMI based on another Linux distribution, and if so, which one?
120
votes
8 answers

How do I create a symbolic link in Windows?

Windows Vista added the ability to create symbolic links to files and directories. How do I create a symbolic link and what are the current consumer and server versions of Windows that support it?
cowgod
  • 3,530
120
votes
7 answers

How do I list loaded Linux module parameter values?

Is there a standard way to list the parameter values of a loaded Linux module? I'm essentially probing for another answer to this Linux kernel module parameters question, because the module I'm interested in doesn't have a…
cdleary
  • 1,785
120
votes
6 answers

Why does x86 represent 32bit when x64 represents 64bit?

My question is why is the shorthand for 32-bit x86 when the shorthand for 64-bit is x64? I'm guessing it has something to do with the days of 386s and 486s, when the 32-bit processors all ended in 86, but surely there were processors that didn't end…
Simon Foster
  • 2,662
120
votes
9 answers

How much network latency is "typical" for east - west coast USA?

At the moment we're trying to decide whether to move our datacenter from the west coast to the east coast. However, I am seeing some disturbing latency numbers from my west coast location to the east coast. Here's a sample result, retrieving a small…
Jeff Atwood
  • 13,174
  • 20
  • 75
  • 93
119
votes
4 answers

How to disable timeout for nginx?

On a local development machine, I have a nginx reverse proxy like so: server { listen 80; server_name myvirtualhost1.local; location / { proxy_pass http://127.0.0.1:8080; } server { listen 80; server_name myvirtualhost2.local; …
k0pernikus
  • 4,360
119
votes
5 answers

Postgres equivalent to MySQL's \G?

Does anyone know if Postgres has a way to display query results "prettily", like how MySQL does when ending a query with \G on the command line? For instance, "select * from sometable\G" as opposed to "select * from sometable;" Many thanks!
law
  • 1,520
119
votes
4 answers

Where does email sent to *@example.com go?

So I've wondered this for a long time. Where does email sent to *@example.com go? If I accidentally sent sensitive information to *@example.com would some evil person (potentially at the IANA) be able to retrieve it someday?
119
votes
4 answers

What firewall ports need to be open to allow access to external git repositories?

What firewall port(s) need to be open to allow access to external git repositories?
markdorison
  • 1,325
  • 2
  • 9
  • 7
118
votes
7 answers

How to set default Ansible username/password for SSH connection?

I am using Ansible and I have this configuration in my inventory/all: [master] 192.168.1.10 ansible_connection=ssh ansible_ssh_user=vagrant ansible_ssh_pass=vagrant [slave] 192.168.1.11 ansible_connection=ssh ansible_ssh_user=vagrant…
Robert
  • 1,332
118
votes
5 answers

What's the difference between the single dash and double dash flags on shell commands?

I'm new to working in the shell and the usage of these commands seems arbitrary. Is there a reason one flag has a single dash and another might have a double dash?
kylex
  • 1,443
118
votes
2 answers

Why does the MySQL command line tool ignore the --port parameter?

This is what I'm doing: mysql --host=localhost --port=9999 mysql -u root -p --execute="show tables;" The command works (connecting to port 3306) no matter what I provide in --port argument. I have two mysql servers running on one machine, and want…
yegor256
  • 1,846
  • 3
  • 16
  • 31
118
votes
13 answers

Using wget to recursively download whole FTP directories

I want to copy all of the files and folders from one host to another. The files on the old host sit at /var/www/html and I only have FTP access to that server, and I can't TAR all the files. Regular connection to the old host through FTP brings me…
user9406
118
votes
11 answers

Should I use tap or tun for openvpn?

What are the differences between using dev tap and dev tun for openvpn? I know the different modes cannot inter-operate. What is the technical differences, other then just layer 2 vs 3 operation. Are there different performance characteristics, or…
Thomaschaaf
  • 3,102
117
votes
3 answers

nginx - client request body is buffered to a temporary file

I get the following error in my log files every time I try to upload a large file. a client request body is buffered to a temporary file /var/lib/nginx/body/0000000001 Although the file uploads successfully, I always get the above error. I…
Abs
  • 1,609