Most Popular
1500 questions
86
votes
4 answers
How to reload default Mac OSX routing table without rebooting
Greetings,
I'm using vpnc for a VPN client. I'm also doing some tricky things with route to make sure I can still access my local network, etc. etc. (the particulars here are not very important).
Sometimes I get the routing table so jacked up I get…
Nate Murray
- 1,013
86
votes
1 answer
What’s the difference between the “mainline” and “stable” branches of nginx?
There seem to be two active branches of the nginx web server: a “mainline” branch (currently 1.9.x) and a “stable” branch (currently 1.8.x). Can anyone provide an official source that describes the difference between these two branches and how one…
bdesham
- 1,785
86
votes
6 answers
How do I list all connected Salt Stack minions?
Sometimes my saltmaster hangs for a while on salt '*' test.ping waiting for downed minions to reply. Is there a way so see a list of connected minions, regardless of whether they respond to test.ping?
Petrus Theron
- 1,611
- 5
- 17
- 24
86
votes
8 answers
How to backup 20+TB of data?
We have a NAS server at the company I work for that is being used for storing photography sessions. Each session is approximately 100gb. Over the last couple of years this server has accumulated 10+ TB of data, and we are increasing the amount of…
Jesus Fidalgo
- 921
86
votes
8 answers
Recommended LogParser queries for IIS monitoring?
As Stack Overflow grows, we're starting to look closely at our IIS logs to identify problem HTTP clients -- things like rogue web spiders, users who have a large page set to refresh every second, poorly written one-off web scrapers, tricksy users…
Jeff Atwood
- 13,174
- 20
- 75
- 93
86
votes
4 answers
dig show only answer
I want dig only to show the answer of my query.
Normally, it prints out alot of additional info like this:
;; <<>> DiG 9.7.3 <<>> google.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55839
;; flags: qr…
Zulakis
- 4,233
86
votes
12 answers
Where is my mysql log on OS X?
I checked /var/log and /usr/local/mysql and i can't seem to find the log. I am trying to troubleshoot an error establishing a database connection with a php function.
Tony
- 4,253
86
votes
13 answers
10 servers to administer and I'm a history major
Through reasons that don't warrant exhaustive discussion, I find myself in charge of 10 servers:
A domain controller-~500 hosts/~350 users
IIS web server-This is where we make our money
SQL server-The crown jewels
Exchange server
Linux box for data…
chipandachair
- 471
86
votes
7 answers
Amazon Linux vs. Ubuntu for Amazon EC2
I'm setting up my first website on Amazon EC2, and I'm trying to decide which distro to use. I've used Redhat and CentOS in the past, but I have no bias towards any system, I just want to use whatever is best (I also have had partially-managed…
James Simpson
- 1,661
- 2
- 16
- 32
86
votes
5 answers
How do I redirect subdomains to a different port on the same server?
I have some subdomains I want to redirect to specific ports on the same server.
Say I have
dev.mydomain.com
I want dev.mydomain.com to transparently redirect to mydomain.com:8080 and I want to preserve the original sub-domain name the url of the…
user35861
85
votes
14 answers
What's wrong with always being root?
I have a feeling this is a stupid question, but this is something I've wondered for awhile.
I have a VPS and this is my first big linux venture. I am the only person who has access to it. My question is, what is wrong with just logging in as root as…
ryeguy
- 1,071
85
votes
9 answers
How to view connected users to open vpn server?
I'm developing a website for managing OpenVPN users with Django framework. But I need to know is there any way to extract active users from OpenVPN? My server is running Ubuntu 12.04.
hamidfzm
- 1,035
85
votes
12 answers
What solutions exist to allow the use of revision control for server configuration files?
In an environment with multiple system administrators, I see a few advantages to adding the server config files into a revision control system. Most notable are the ability to track changes, who made them, and of course being able to roll back to…
Dave K
- 2,751
85
votes
5 answers
Practical maximum open file descriptors (ulimit -n) for a high volume system
We recently began load testing our application and noticed that it ran out of file descriptors after about 24 hours.
We are running RHEL 5 on a Dell 1955:
CPU: 2 x Dual Core 2.66GHz 4MB 5150 / 1333FSB
RAM: 8GB RAM
HDD: 2 x 160GB 2.5" SATA Hard…
Kevin
- 953
- 1
- 7
- 5
85
votes
4 answers
Can IIS be configure to forward request to another web server?
I have several web site set up on one IIS 6 server distinguished by Host Header.
However, I wish to have one of the sites served by a Linux / Apache server on my network. Do I need to use a reverse proxy add-in for IIS, or is there a simple way to…
Daniel O
- 1,085