Most Popular
1500 questions
54
votes
3 answers
Proxy HTTPS requests to a HTTP backend with NGINX
I have nginx configured to be my externally visible webserver which talks to a backend over HTTP.
The scenario I want to achieve is:
Client makes HTTP request to nginx which is redirect to the same URL but over HTTPS
nginx proxies request over…
Mike
- 875
- 2
- 8
- 10
54
votes
7 answers
Is it okay to use a SSH key with an empty passphrase?
When I first learned how to make ssh keys, the tutorials I read all stated that a good passphrase should be chosen. But recently, when setting up a daemon process that needs to ssh to another machine, I discovered that the only way (it seems) to…
mozillalives
- 1,003
- 2
- 9
- 9
54
votes
4 answers
How to check cron logs in Ubuntu
I went to /var/log/cron but this file is empty.
How to check if crontab is enabled or is running properly or not in ubuntu
thanks
John
54
votes
4 answers
How do you get e2fsck to show progress information?
I'm running e2fsk on a very large (1TB+) ext3 disk with
e2fsck -v /dev/sda1
from RIPLinux booted with PXE.
I get
e2fsck 1.41.6 (30-May-2009)
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
and…
Tim Abell
- 1,361
- 3
- 11
- 21
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
53
votes
9 answers
How do I disable TLS 1.0 without breaking RDP?
Our credit card processor recently notified us that as of June 30, 2016 we will need to disable TLS 1.0 to remain PCI compliant. I tried to be proactive by disabling TLS 1.0 on our Windows Server 2008 R2 machine, only to find that immediately after…
Mike
- 1,271
- 5
- 18
- 31
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
3 answers
Is it valid for a hostname to start with a digit?
Is it valid for a hostname to start with a digit? e.g. 8server
From reading RFC 1123 it would appear that this is a valid hostname. However, I'm not clear on whether a hostname can only start with a digit when there is a suffix e.g. 8server.com
The…
Mark
- 1,331
- 1
- 11
- 16
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,075
- 9
- 35
- 36
53
votes
5 answers
HAProxy graceful reload with zero packet loss
I'm running an HAProxy load balancing server to balance load to multiple Apache servers. I need to reload HAProxy at any given time in order to change the load balancing algorithm.
This all works fine, except for the fact that I have to reload the…
Conor Taylor
- 673
- 2
- 7
- 7
53
votes
2 answers
difference between _default_:* and *:* in VirtualHost Context
I want to know the difference between "default:*" and "*:*" in VirtualHost Context.
#...
ServerName host.example.com
#...
#...
ServerName host.example.com
…
Luigi Giuseppe
- 631
- 1
- 6
- 4
53
votes
1 answer
nginx: no permission to bind port 8090 but it binds to 80 and 8080
I'm struggling with some strange permission related behavior: when I configure nginx to listen to port 8080 everything works as expected, but when I use any other port I get something like
2014/01/10 09:20:02 [emerg] 30181#0: bind() to 0.0.0.0:8090…
frans
- 649
- 1
- 7
- 10
53
votes
6 answers
iptables error: unknown option --dport
The command iptables no longer recognizes one of the most commonly used options when defining rules: --dport.
I get this error:
[root@dragonweyr /home/calyodelphi]# iptables -A INPUT --dport 7777 -j ACCEPT_TCP_UDP
iptables v1.4.7: unknown option…
Calyo Delphi
- 641
- 1
- 5
- 6
53
votes
6 answers
Linux Command to find Strings in Binary or non ascii file
Is there any linux command to extracts all the ascii strings from an executable or other binary file? I suppose I could do it with a grep, but I remember hearing somewhere that such a command existed?
Ethan Heilman
- 741
- 2
- 8
- 10