Most Popular

1500 questions
99
votes
5 answers

How to make a modification take affect without restarting nginx?

Apache has a graceful option which can scan for modification in http.conf without restarting Apache. What about nginx?
vps
  • 1,227
  • 3
  • 13
  • 14
98
votes
10 answers

Is it better practice to buy RAID disks individually vs. in bulk?

This may sound like an odd question, but it's generated some spirited discussion with some of my colleagues. Consider a moderately sized RAID array consisting of something like eight or twelve disks. When buying the initial batch of disks, or buying…
smitelli
  • 1,214
  • 1
  • 10
  • 16
98
votes
5 answers

Windows Active Directory naming best practices?

This is a Canonical Question about Active Directory domain naming. After experimenting with Windows domains and domain controllers in a virtual environment, I've realized that having an active directory domain named identically to a DNS domain is…
Anton Gogolev
  • 1,582
  • 4
  • 16
  • 22
98
votes
6 answers

SSHFS mount that survives disconnect

I'm using SSHFS mounts from my laptop to a central server. Obviously, the SSHFS mount is broken after a longer disconnect (eg. during suspend), cause the underlying SSH connection timed out. Is there a way to get SSHFS mounts surviving long lasting…
bene
  • 2,294
  • 2
  • 19
  • 14
98
votes
3 answers

How do high traffic sites service more than 65535 TCP connections?

If there is a limit on the number of ports one machine can have and a socket can only bind to an unused port number, how do servers experiencing extremely high amounts (more than the max port number) of requests handle this? Is it just done by…
alh
  • 1,119
  • 1
  • 8
  • 5
98
votes
7 answers

SSH from A through B to C, using private key on B

I'm looking for a simple way to SSH from my local machine, A, through a proxy, B, to a destination host, C. The private key that goes with the public key on C is on B, and I can't put that key on my local machine. Any tips? Also, I'd like to be…
wrangler
  • 3,080
  • 5
  • 24
  • 20
98
votes
21 answers

Should we host our own nameservers?

This is a Canonical Question about whether to outsource DNS resolution for ones own domains I currently have my ISP providing DNS for my domain, but they impose limitations on adding records. Therefore, I am thinking about running my own DNS. Do…
Saif Khan
  • 1,945
  • 2
  • 20
  • 25
98
votes
12 answers

Supervisor not loading new configuration files

I have a problem deploying Django app using Gunicorn and Supervisor. While I can make Gunicorn serving my app (by setting proper PYTHONPATH and running apropriate command, the one from supervisord config) I can't make supervisor to run it. It just…
grucha
  • 1,093
  • 1
  • 9
  • 9
97
votes
10 answers

How to disable everything in crontab -l?

I just want to pause everything. Don't execute anything listed on crontab -l.
Alex
  • 8,471
  • 26
  • 75
  • 99
97
votes
8 answers

Multiple commands in Docker CMD directive

Not understanding what is happening when I try to execute two commands at runtime via CMD directive in `Dockerfile. I assumed that this should work: CMD ["/etc/init.d/nullmailer", "start", ";", "/usr/sbin/php5-fpm"] But it's not working. Container…
Vladan
  • 1,113
  • 1
  • 7
  • 6
97
votes
12 answers

How bad is it really to install Linux on one big partition?

We will be running CentOS 7 on our new server. We have 6 x 300GB drives in raid6 internal to the server. (Storage is largely external in the form of a 40TB raid box.) The internal volume comes to about 1.3TB if formatted as a single volume. Our…
bdemarest
  • 1,081
  • 1
  • 8
  • 9
97
votes
3 answers

Adding a user to an additional group using ansible

How can I add a user to additional groups with Ansible? For example, I would like to add a user to the sudo group without replacing the user's existing set of groups.
vdboor
  • 3,800
  • 3
  • 31
  • 32
97
votes
8 answers

How to send emails and avoid them being classified as spam?

This is a canonical question about how to handle email sent from your server being misclassified as spam. For additional information you may find these similar questions helpful: Best Practices for preventing you from looking like a spammer…
kcode
  • 1,825
  • 4
  • 19
  • 21
97
votes
6 answers

How to delete cached temporarily credentials for a network share on a Windows machine without rebooting or logging off

This is more of a curiosity then a real problem, I am just to lazy to reboot or log off my laptop. I have connected to a network share on a Windows server with domain credentials from a non-domain Windows 7 machine, I didn't mark the option to…
ralz
  • 2,751
  • 2
  • 17
  • 22
97
votes
18 answers

Why hasn't rsync caught on in the Windows world?

It seems that rsync is the de-facto standard for efficient file backup and sync in Unix/Linux. Does anyone have any thoughts on why it wouldn't have caught on in the Windows world? Why hasn't it become a universal 'protocol' for file sync?
jtalarico
  • 247
  • 1
  • 6
  • 11