Most Popular
1500 questions
54
votes
11 answers
SSH via PowerShell
Is it possible to open an SSH session in PowerShell? Currently I use PuTTY but it would be nice if that were not required.
nw.
- 723
- 2
- 8
- 12
54
votes
6 answers
Bash Loop - How to stop the loop when I press Control-C inside a command?
I am rsyncing a few directories. I have a bash terminal open and am executing something like this:
for DIR in * ; do rsync -a $DIR example.com:somewhere/ ; done
However if I want to stop the whole things, I press Control-C. That stops the rsync,…
Amandasaurus
- 32,281
- 69
- 194
- 263
53
votes
4 answers
Configuring Systemd Service to run with root access
I have a service in the form of a node.js application set up with Systemd on Raspbian Jessie and it is using its own user account. However, I am finding that the service does not run correctly because it does not have the necessary permissions. One…
Luke
- 577
- 1
- 5
- 11
53
votes
3 answers
Rsync to AWS S3 bucket
For a server I am hosting a website on I want to backup the data and settings to an S3 bucket. I found out that you can't directly use rsync to backup to an S3 bucket. Is there another way to achieve the following rsync command to backup the data to…
Bart Bergmans
- 653
53
votes
7 answers
filesystem for millions of small files
Which Linux filesystem would you choose for best speed in the following scenario:
a hundred million files
~2k file size on average
>95% read access
pretty random access
high concurrency (>100 processes)
Note: The files are stored in a deep…
bene
- 2,294
- 2
- 19
- 14
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
- 1
- 5
- 9
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,105
53
votes
3 answers
Configure multiple SSL certificates in Haproxy
My haproxy instance serves 2 domains (mostly to avoid XSS on the main site).
The rules look something like this
bind :443 ssl crt /etc/ssl/haproxy.pem
acl is_static hdr_end(Host) -i example.com
acl is_api hdr_end(Host) -i api.example.com
acl…
user22711
53
votes
3 answers
Do I need to restart my server after editing fstab and mtab?
I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report.
I am using ISPConfig 3 with the help of the tutorial from howtoforge. But due to…
jaypabs
- 833
- 2
- 10
- 15
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
4 answers
Can a CNAME DNS record point to a subdirectory
Can a DNS record point to an address like my.domain.com/subdir1
Hannes de Jager
- 754
- 2
- 6
- 11
53
votes
3 answers
Why is it not possible to use two remotes for rsync?
Note to serverfault users:
This closed question is answered here by four comments by hynekcer. It is then well accepted in other comments as a regularly answerable question. It's now being voted for re-opening.
When both source and destination are…
loopbackbee
- 1,405
- 1
- 11
- 23
53
votes
8 answers
Ubuntu Apache: httpd.conf or apache2.conf?
which one of these two files should I use to configure Apache?
The httpd.conf is empty, while apache2.conf is not.
It confuses me!
ajsie
- 1,255
- 4
- 20
- 28
53
votes
7 answers
How to allow active directory users to remote desktop in?
This is my first time setting up or even using active directory.
I set it up, and added the computers(Actually VMs in Hyper V) to the active directory, and if if I use hyper-V to connect to the VMs, I am able to use users from the active directory…
user1308743
- 641
53
votes
6 answers
Linux CPU usage and Process Execution History
Is there any way to see what process(es) caused the most CPU usage?
I have AMAZON EC2 Linux which CPU utilization reaches 100 percent and make me to reboot the system. I cannot even login through SSH (Using putty).
Is there any way to see what…
pmoubed
- 643