Most Popular
1500 questions
97
votes
5 answers
Disable caching when serving static files with Nginx (for development)
We are using Nginx to serve static files on a development platform. As it is a development platform, we'd like to disable caching so that each change is propagated to the server. The configuration of the VHost is quite simple:
server {
server_name…
Olivier Chappe
- 971
96
votes
6 answers
Assign Public IP (not Elastic IP) after instance launched
When I launch instance in AWS console I can set "Auto-assign Public IP" to true and newly created instance will be assigned with public IP address from pool.
Now assume I have launched instance with this setting set to false and want to assign…
Yaroslav Admin
- 1,188
96
votes
3 answers
Is it possible to reboot a Linux OS without rebooting the hardware?
Is there a way to reboot a Linux system (Debian in particular) without rebooting the hardware?
I have a RAID controller that takes a bit to get itself running before the OS starts up, and I would like it if there was a way to quickly reboot the…
lacrosse1991
- 1,457
96
votes
4 answers
Does each subdomain need its own SSL certificate?
I am creating a websocket server which will live on ws.mysite.example. I want the web socket server to be SSL encrypted as well as domain.example to be SSL encrypted. Do I need to purchase a new certificate for each subdomain I create? Do I need a…
user974407
- 1,111
96
votes
18 answers
What sysadmin things should every programmer know?
As a programmer, we tend to take sysadmins for granted. The few times I've been without a good sysadmin have really made me appreciate what you guys do. When we're venturing into an environment without a sysadmin, what words of wisdom can you…
Nathan DeWitt
- 1,344
96
votes
11 answers
Transfer 10 TB of files from USA to UK datacenter
I am migrating my server from the USA to the UK from one data center to another. My host said I should be able to achieve 11 megabytes per second.
The operating system is Windows Server 2008 at both ends.
My average file size is around 100 MB and…
Paul Hinett
- 1,205
96
votes
6 answers
Boot and Install Windows from a USB thumb drive
Installing Windows from a thumb drive is vastly superior to burning a copy to a DVD which will fill some landfill somewhere with toxic stuff. Not to mention it's about 50x faster to install Windows from a USB Thumb Drive.
How do you get the bits…
Omar Shahine
- 3,749
96
votes
6 answers
Proxy Error 502 "Reason: Error reading from remote server" with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18
Apache is receiving requests at port :80 and proxying them to Jetty at port :8080
The proxy server received an invalid response from an upstream server
The proxy server could not handle the request GET /.
My dilemma: Everything works fine normally…
Martin
96
votes
2 answers
Should CNAME Be Used For Subdomains?
I manage multiple websites that currently have the following DNS configuration:
example.com - A Record - Production Server IP
test.example.com - A Record - Test Server IP
www.example.com - CNAME - example.com
beta.example.com - CNAME -…
Joseph Sturtevant
- 1,284
- 3
- 15
- 18
96
votes
4 answers
How to inspect remote SMTP server's TLS certificate?
We have an Exchange 2007 server running on Windows Server 2008. Our client uses another vendor's mail server. Their security policies require us to use enforced TLS. This was working fine until recently.
Now, when Exchange tries to deliver mail…
Skyhawk
- 14,240
96
votes
7 answers
My /var/log/btmp file is huge! What should I do?
My /var/log/btmp file is 1.3 GB in size. I've read that the file is "Used to store information about failed login".
What does this mean for my server? And can I delete this file?
Juddling
- 1,095
- 1
- 7
- 11
95
votes
15 answers
How to fix PuTTY showing garbled characters?
Connecting from a Windows 7 PC via SSH to an Ubuntu server using PuTTY, I get some screen errors:
I.e. it:
"Double-draws" the selection inside Midnight Commander (MC).
Other characters like line elements are drawn as the wrong characters (e.g. "â"…
Uwe Keim
- 2,440
95
votes
8 answers
How can I show mysql locks?
Is there anyway to show all the locks that are active in a mysql database?
Amandasaurus
- 32,281
- 69
- 194
- 263
94
votes
1 answer
What is ADFS (Active Directory Federation Services)?
So I've been told that our PHP application may need to support authentication using ADFS.
For a non-Microsoft person, what is ADFS?
How does it differ to things like LDAP?
How does it work? What kind of information would be included in a typical…
Simon East
- 1,514
94
votes
18 answers
Reread partition table without rebooting?
Sometimes, when resizing or otherwise mucking about with partitions on a disk, cfdisk will say:
Wrote partition table, but re-read table failed. Reboot to update table.
(This also happens with other partitioning tools, so I'm thinking this is a…
Teddy
- 5,294