Most Popular
1500 questions
53
votes
11 answers
How do I tell if apache is running as prefork or worker?
How do I tell if apache is running (or configured to run) as prefork or worker?
Simon
53
votes
6 answers
How to make a global ~/.vimrc?
Right now, I make everyone do ~/.vimrc and put their settings there.
How can I make a global, default .vimrc for new users?
Alex
- 8,839
53
votes
2 answers
Redis Cluster: (error) MOVED
I have a Redis cluster with the following nodes:
192.168.0.14:6379 master (slots from 0 to 16383)
192.168.0.15:6379 slave (slots from 0 to 16383)
192.168.0.16:6379 master (without slots)
Documentation says that any node can redirect queries to the…
Oleksandr
- 793
53
votes
14 answers
Linux - What directories should I exclude when backing up a server?
I'm backing up a Linux server and storing it on another server.
I began with a simple
rsync -aPh --del server.example.com:/ /mnt/backup
Then someone pointed out that I shouldn't back up /proc, since you don't want to restore the /proc of one…
Amandasaurus
- 33,461
53
votes
6 answers
How useful is mounting /tmp noexec?
Many people (including the Securing Debian Manual) recommend mounting /tmp with the noexec,nodev,nosuid set of options. This is generally presented as one element of a 'defense-in-depth' strategy, by preventing the escalation of an attack that lets…
Phil Miller
- 1,785
53
votes
5 answers
Unable to connect to public PostgreSQL RDS instance
I created a basic test PostgreSQL RDS instance in a VPC that has a single public subnet and that should be available to connect over the public Internet. It uses the default security group, which is open for port 5432. When I try to connect, it…
Edward Q. Bridges
- 1,291
53
votes
8 answers
On IIS, how do I patch the SSL 3.0 POODLE vulnerability (CVE-2014-3566)?
How do I patch CVE-2014-3566 on a Windows Server 2012 system running IIS?
Is there a patch in Windows Update, or do I have to do a registry change to disable SSL 3.0?
Eric Lathrop
- 673
53
votes
2 answers
Use a specific forwarded key from SSH-agent?
Let's say I have a key for Github, along with other keys. I've added lots of keys to my ssh agent (ssh-add -L returns lots of lines) at my home computer A. In my .ssh/config I have set up which key to use with which host, so e.g.
ssh -T -vvv…
danmichaelo
- 632
53
votes
12 answers
How much SWAP space on a 2-4GB system?
How should I decide what size to make my swap on a new Linux machine (Debian) with 2-4 GB of RAM? Do I really need swap space?
C. Ross
- 3,125
53
votes
2 answers
Prevent the possiblity of writing data to an unmounted mount point directory
I have an Ubuntu server where I'm automounting an external hard drive each boot.
To do this, I've created an empty folder on the root partition, and the drive gets mounted "inside" this folder.
However, what if I perform a backup to this path when…
LonnieBest
- 1,640
- 4
- 25
- 41
53
votes
5 answers
Is it possible to enable http compression for requests?
I see lots of information about enabling http compression for server responses but what about for incoming requests. Wouldn't it make sense for the browsers to compress large form posts before sending them to the server?
Another example is a REST…
Mike L
- 739
53
votes
1 answer
Will increasing net.core.somaxconn make a difference?
I got into an argument on the net.core.somaxconn parameter: I was told that it will not make any difference if we change the default 128.
I believed this might be enough proof:
"If the backlog argument is greater than the value in…
petermolnar
- 1,059
53
votes
1 answer
How to resolve the gunicorn critical worker timeout error?
I have used nginx and gunicorn to host my website in two servers,
Both server have same versions of packages and website is successfully hosted,
But in one of my server gunicorn always gets timeout and I get error
[CRITICAL]Worker Timeout
Booting…
s.m
- 633
53
votes
8 answers
Delete a iptables chain with its all rules
I have a chain appended with many rules like:
> :i_XXXXX_i - [0:0]
> -A INPUT -s 282.202.203.83/32 -j i_XXXXX_i
> -A INPUT -s 222.202.62.253/32 -j i_XXXXX_i
> -A INPUT -s 222.202.60.62/32 -j i_XXXXX_i
> -A INPUT -s 224.93.27.235/32 -j i_XXXXX_i…
timy
- 759
53
votes
1 answer
How do I stop IIS from starting up when I turn Windows on?
I do not want IIS to start automatically with Windows. How do I change this? Is there a setting in IIS manager? I have looked around in the menus for one but I couldn't find an option.
Rachel Richter
- 537