Most Popular
1500 questions
86
votes
8 answers
Is it possible to use rsync over sftp (without an ssh shell)?
Rsync over ssh, works great every time.
However, trying to rsync to a host which allows only sftp logins, but not ssh logins, provides the following error:
rsync -av /source ssh user@remotehost:/target/
protocol version mismatch -- is your
shell…
Tom Feiner
- 18,598
85
votes
4 answers
How to get Apache2 to redirect to a subdirectory
I am running apache2 on Debian etch, with multiple virtual hosts.
I want to redirect so that http://git.example.com goes to http://git.example.com/git/
Should be really simple, but Google isn't quite cutting it. I've tried the Redirect and Rewrite…
Hamish Downer
- 9,770
85
votes
1 answer
Nginx - Meaning of the ~ (tilde) in the location block of the nginx.conf?
What is the meaning of the tilde after the location block in the nginx configuration?
for example
location ~ ^/download/(.*)$ {
alias /home/website/files/$1;
}
What is the difference between with and without the "~" ?
mahen3d
- 4,682
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,761
85
votes
3 answers
php5-fpm: server reached pm.max_children
I have NGINX and php5-fpm. Several times per hour my website stucks and in logfile I see the following:
WARNING: [pool www] server reached pm.max_children setting (5),
consider raising it.
The /etc/php5/fpm/pool.d/www.conf file contains the…
user1821484
- 1,249
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
85
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
85
votes
11 answers
IIS 7.5 (Windows 7) - HTTP Error 401.3 - Unauthorized
I'm trying to test my ASP.Net website on localhost and I'm getting this error:
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of
the access control list (ACL) configuration or encryption settings…
Nathan Ridley
- 2,659
85
votes
5 answers
Dump nginx config from running process?
Apparently, I shouldn't have spent sleepless night trying to debug an application. I wanted to restart my nginx and discovered that its config file is empty. I don't remember truncating it, but fat fingers and reduced attention probably played their…
Sergio Tulentsev
- 953
85
votes
2 answers
what does "***" mean when traceroute
this is the result of my traceroute
traceroute 211.140.5.120
1 141.1.31.2 (111.1.31.2) 0.397 ms 0.380 ms 0.366 ms
2 141.1.28.38 (111.1.28.38) 3.999 ms 3.971 ms 3.982 ms
3 142.11.124.193 (112.11.124.133) 1.315 ms 1.533 ms 1.455 ms
4 …
larry
- 4,217
85
votes
3 answers
What does that mean: packages excluded due to repository priority protections
When updating with yum i recieve the following message:
yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: mirror.de.leaseweb.net
* extras: mirror.de.leaseweb.net
…
mate64
- 1,711
85
votes
1 answer
Why does htop have three load averages?
On htop, it shows three load averages, one bold, one normal, one red. What do they signify?
chrism2671
- 2,719
85
votes
10 answers
How to check the physical status of an ethernet port in Linux?
I want to check if a specified ethX is physically up or down. How do I do that with the command line?
Jader Dias
- 4,785
84
votes
3 answers
Downloading docker image for transfer to non-internet-connected machine
I'm working in an office where my laptop is internet-connected, but tightly controlled. I am not allowed to install unauthorized software onto it.
My development workstation is mine to do with as I please, but it does not have an internet…
shearn89
- 3,610
84
votes
7 answers
Using variables in Apache config files to reduce duplication?
Is it possible to use variables in Apache config files?
For example, when I'm setting up a site with Django+WSGI, the config file might look like:
Order allow,deny
Allow from all
Alias /foo/static…
David Wolever
- 2,287