Most Popular
1500 questions
155
votes
13 answers
Can I hide all server / os info?
I don't want anyone to be able to detect that I'm using NGINX or even Ubuntu from the internet. There are tools out there (such as BuiltWith) which scan servers to detect what tools they're using. Also, some cracking tools might help with deteting.…
orokusaki
- 3,031
154
votes
13 answers
How to set up Nginx as a caching reverse proxy?
I heard recently that Nginx has added caching to its reverse proxy feature. I looked around but couldn't find much info about it.
I want to set up Nginx as a caching reverse proxy in front of Apache/Django: to have Nginx proxy requests for some (but…
Continuation
- 3,150
154
votes
10 answers
Is there an equivalent of MySQL's SHOW CREATE TABLE in Postgres?
Is there an equivalent of MySQL's SHOW CREATE TABLE in Postgres? Is this possible? If not what is the next best solution?
I need the statement because I use it to create the table on an remote server (over WCF).
vlebar
- 1,643
153
votes
3 answers
ssh-keygen does not create RSA private key
I'm trying to create a private key and having an issue.
When I use ssh-keygen -t rsa -b 4096 -C "your_email@example.com", I get a private key in the following format.
-----BEGIN OPENSSH PRIVATE…
Moon
- 2,243
153
votes
9 answers
What version of RHEL am I using?
From the shell and without root privileges, how can I determine what Red Hat Enterprise Linux version I'm running?
Ideally, I'd like to get both the major and minor release version, for example RHEL 4.0 or RHEL 5.1, etc.
Arthur Ulfeldt
- 3,409
153
votes
8 answers
How to list Apache enabled modules?
Is there a command that list all enabled Apache modules?
supercobra
- 1,685
153
votes
8 answers
In Windows, using the command line, how do you check if a remote port is open?
What is a simple way in Windows to test if traffic gets through to a specific port on a remote machine?
Matt
- 1,711
153
votes
2 answers
How do VLANs work?
What are VLANs? What problems do they solve?
I'm helping a friend learn basic networking, as he's just become the sole sysadmin at a small company. I've been pointing him at various questions/answers on Serverfault relating to various networking…
Murali Suriar
- 10,406
152
votes
4 answers
How to test a HTTPS URL with a given IP address
Let's say a website is load-balanced between several servers. I want to run a command to test whether it's working, such as curl DOMAIN.TLD. So, to isolate each IP address, I specify the IP manually. But many websites may be hosted on the server, so…
Martin
- 4,275
152
votes
8 answers
connect() failed (111: Connection refused) while connecting to upstream
I'm experiencing 502 Gateway errors when accessing a PHP file in a directory (http://example.com/dev/index.php). The logs simply says this:
2011/09/30 23:47:54 [error] 31160#0: *35 connect() failed (111: Connection refused) while connecting to…
MacMac
- 2,241
152
votes
6 answers
Show full process name in top
I'm running a Rails stack on Ubuntu.
When I call ps -AF, I get a descriptive process name set by the Apache module like
00:00:43 Rails: /var/www...
which is really helpful in diagnosing load issues.
But when I call top, the same process shows up…
Ben K.
- 2,489
151
votes
3 answers
Difference between OpenSSH internal-sftp and sftp-server
Why are there two ways to setup SFTP with OpenSSH and when to use which? Is there any difference between them?
I mean the first one is using a lib from OpenSSH and the second one says "use the internal", so it is also OpenSSH?
Subsystem sftp…
Denny Crane
- 1,713
- 2
- 12
- 10
151
votes
5 answers
What is the difference between authentication and authorization?
Basic question from a novice:
What is the difference between authentication and authorization?
Kyy
151
votes
5 answers
Job scheduling using crontab, what will happen when computer is shutdown during that time?
I schedule some tasks using crontab.
What will happen if my computer is shutdown or turned off during the time when cron was scheduled to do something?
Does each missed cron job run after computer is turned on, or are missed jobs for that day…
seg.server.fault
- 1,977
151
votes
2 answers
What is Active Directory Domain Services and how does it work?
This is a Canonical Question about Active Directory Domain Services (AD DS).
What is Active Directory? What does it do and how does it work?
How is Active Directory organized: Forest, Child Domain, Tree, Site, or OU
I find myself explaining some…
MDMarra
- 101,323