Most Popular
1500 questions
262
votes
11 answers
How can I run Debian stable but install some packages from testing?
Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two.
What's the best way of installing only certain packages from Testing?

Gareth
- 8,573
- 13
- 44
- 44
258
votes
7 answers
What’s the point in having “www” in a URL?
Other than for historical reasons, is there is reason to have “www” in a URL?
Should I create a permanent redirect from www.xyz.com to xyz.com, or from xyz.com to www.xyz.com? Which one would you suggest and why?

Quintin Par
- 4,373
- 11
- 49
- 72
257
votes
11 answers
List all DNS records in a domain using dig?
My company runs an internal DNS for mycompany.example
There is a machine on the network that I need to find, but I’ve forgotten its name. If I could see a list, it would probably jog my memory.
How can I list all of the domain records for…

Runcible
- 3,145
- 3
- 23
- 15
257
votes
7 answers
Can anyone explain precisely what IOWait is?
As much as I have read about iowait, it is still mystery to me.
I know it's the time spent by the CPU waiting for a IO operations to complete, but what kind of IO operations precisely? What I am also not sure, is why it so important? Can't the CPU…

Peter Krumins
- 3,500
- 4
- 22
- 20
255
votes
6 answers
How to see stdout of ansible commands?
How do I see stdout for ansible-playbook commands? -v only shows ansible output, not the individual commands. It would be great if I could figure out how to do this immediately, so if something fails or hangs I can see why.
e.g.
- name: print to…

QuinnBaetz
- 2,659
- 2
- 12
- 3
254
votes
12 answers
Docker Container time & timezone (will not reflect changes)
Where do Docker containers get their time information? I've created some containers from the basic ubuntu:trusty image, and when I run it and request 'date', I get UTC time.
For awhile I got around this by doing the following in my Dockerfile:
RUN…

Chockomonkey
- 2,683
- 3
- 11
- 10
254
votes
11 answers
Is it bad to redirect http to https?
I just installed an SSL Certificate on my server.
It then set up a redirect for all traffic on my domain on Port 80 to redirect it to Port 443.
In other words, all my http://example.com traffic is now redirected to the appropriate…

JasonDavis
- 2,658
- 6
- 25
- 32
254
votes
8 answers
How do I add Access-Control-Allow-Origin in NGINX?
How do I set the Access-Control-Allow-Origin header so I can use web-fonts from my subdomain on my main domain?
Notes:
You'll find examples of this and other headers for most HTTP servers in the HTML5BP Server Configs projects…

Chris McKee
- 3,489
- 2
- 20
- 16
254
votes
7 answers
How can I find out what Active Directory groups I'm a member of?
I'm running a Windows XP desktop in a corporate environment. How can I find out which Active Directory groups I belong to?

chris
- 3,993
- 6
- 28
- 37
251
votes
5 answers
Kubernetes stuck on ContainerCreating
A pod in my Kubernetes cluster is stuck on "ContainerCreating" after running a create. How do I see logs for this operation in order to diagnose why it is stuck? kubectl logs doesn't seem to work since the container needs to be in a non-pending…

four43
- 2,765
- 2
- 16
- 17
251
votes
4 answers
How can I see which flags Nginx was compiled with?
How can I check what modules have been added to an nginx installation?

Nisanio
- 2,663
- 2
- 19
- 10
251
votes
10 answers
When does `cron.daily` run?
When do entries in cron.daily (and .weekly and .hourly) run, and is it configurable?
I haven't found a definitive answer to this, and am hoping there is one.
I'm running RHEL5 and CentOS 4, but for other distros/platforms would be great, too.

warren
- 18,369
- 23
- 84
- 135
249
votes
14 answers
What is this very short power cable called?
I have a couple of networking components in my rack that take giant AC adapters ("power bricks") that don't fit neatly into my rackmount PDU.
I have one "thingy" that is shown below, and I need to buy a few more. But I have no idea what I'm…

Portman
- 5,271
- 4
- 28
- 31
247
votes
6 answers
How to reply with 200 from Nginx, without serving a file?
I have configured Apache to send back a 200 response without serving any file with this configuration line
Redirect 200 /hello
Can I do this with Nginx? I don't want to serve a file, I just want the server to respond with a 200 (I'm just logging…

Theo
- 2,725
- 2
- 19
- 10
246
votes
5 answers
Can you pass user/pass for HTTP Basic Authentication in URL parameters?
I believe this is not possible, but someone I know insisted that it works. I don't even know what parameters to try, and I haven't found this documented anywhere.
I tried http://myserver.com/~user=username&password=mypassword but it doesn't…

ripper234
- 5,890
- 9
- 41
- 49