Most Popular
1500 questions
48
votes
2 answers
nginx split large configuration file
My nginx default configuration file is becoming huge. I'd like to split it to smaller config files, each including only one, maximum 4 locations to each file, so that I can enable/disable them quickly.
Actual file looks like this:
server {
…
oliverjkb
- 614
- 1
- 6
- 10
48
votes
5 answers
Steps for limiting outside connections to docker container with iptables?
My goal is to limit access to docker containers to just a few public IP addresses. Is there a simple, repeatable process to accomplish my goal? Understanding only the basics of iptables while using Docker's default options, I'm finding it very…
GGGforce
- 719
- 2
- 7
- 10
48
votes
3 answers
Recommended DNS SOA record TTL default?
We currently have our DNS SOA record set to the following for stackoverflow.com:
primary name server = ns1.p19.dynect.net
serial = 2009090909
refresh = 3600 (1 hour)
retry = 600 (10 mins)
expire = 604800 (7 days)
default…
Geoff Dalgas
- 2,476
- 5
- 31
- 32
48
votes
10 answers
Linux on VMware - why use partitioning?
When installing Linux VMs in a virtualized environment (ESXi in my case), are there any compelling reasons to partition the disks (when using ext4) rather than just adding separate disks for each mount point?
The only one I can see is that it makes…
savoche
- 553
- 1
- 4
- 7
48
votes
5 answers
How to disable AAAA lookups?
... to compensate for broken DNS servers that are outside our control.
Our problem: We deploy embedded devices that collect sensor data at various, mostly IPv4-only sites. Some sites have poorly maintained networks, e.g. misconfigured or otherwise…
Nils Toedtmann
- 3,342
- 5
- 26
- 36
48
votes
4 answers
Linux - How can I see what's waiting for disk IO
I have a server that has a really high load. Nothing is jumping out at me in terms of CPU usage, and it's not swapping.
I think it's cause some processes are waiting for disk IO, and I want to see what's waiting.
Is there any programme that'll show…
Amandasaurus
- 31,471
- 65
- 192
- 253
48
votes
5 answers
How do I schedule a reboot on Linux?
I'd like to be able to schedule a server reboot at a specific time, but not regularly. How can I do this without futzing with adding and removing cron entries?
jldugger
- 14,342
- 20
- 77
- 129
48
votes
3 answers
What does "Normal Shutdown, Thank you for playing [preauth]" In SSH logs mean?
Recently, My SSH log summaries for my Ubuntu 12.04 servers in Logwatch have started showing entries for "11: Normal Shutdown, Thank you for playing [preauth]" along with the "11: Bye Bye [preauth]" and "11: disconnected by user" messages they had…
Dave Stern
- 605
- 1
- 6
- 7
48
votes
1 answer
Can't start php-cgi.exe - MSVCR110.dll is missing
Trying to setup nginx and php on my Windows machine, but every time I try to start php-cgi.exe I get a system error.
The program can't start because MSVCR110.dll is missing from your
computer. Try reinstalling the problem to fix this…
Marwelln
- 599
- 1
- 5
- 5
48
votes
13 answers
How can an unauthenticated user access a windows share?
I have a directory shared on my computer, which is part of the domain. Is it possible to set up the share so that a user logged on to a different machine which is not part of the domain can access my share? From the machine not on the domain, I…
Jeremy
- 913
- 2
- 10
- 19
48
votes
5 answers
100% non-interactive Debian dist-upgrade
Is there a way to do an apt-get dist-upgrade in Debian that not only automatically answers "yes" to all questions asked, but also uses reasonable defaults as answers to questions that are sophisticated enough to require various interactive dialog…
Alex Balashov
- 907
- 2
- 9
- 16
48
votes
8 answers
What are best practices for managing SSH keys in a team?
I work with small teams (<10) of developers and admins with the following characteristics:
Most members of the team have >1 personal computer, most of which are portable
Team members have access to 10-50 servers, usually with sudo
I think this is…
Evan Prodromou
- 757
- 1
- 6
- 9
48
votes
7 answers
Probability of Blade Chassis Failure
In my organisation we are thinking about buying blade servers - instead of rack servers. Of course technology vendors also make them sound very nice. A concern, that I read very often in different forums, is, that there is a theoretical possibility…
ChrisZZ
- 737
- 1
- 8
- 13
48
votes
13 answers
Group Policy installation failed error 1274
I'm trying to deploy an MSI via the Group Policy in Active Directory. But these are the errors I'm getting in the System event log after logging in:
The assignment of application XStandard from policy install failed. The error was : %%1274
The…
David Thomas Garcia
- 613
- 2
- 8
- 10
48
votes
3 answers
CNAME for top of domain?
Is it possible to set a CNAME record at the top of a domain? (i.e. @ CNAME www, @ CNAME foobar.com., etc.)
My ISP says that it's only possible to use CNAME's for subdomains but I've read somewhere else that is should be possible even if not…
Martin
- 775
- 2
- 7
- 13