Most Popular

1500 questions
46
votes
4 answers

How is Docker Compose version 2 "volumes" syntax supposed to look?

With Docker Compose v1.6.0+, there now is a new/version 2 file syntax for the docker-compose.yml file. The changes include a separate top level key named volumes. This allows to "centralize" volume definitions in one place. What I am trying to do is…
kaiser
  • 1,251
  • 1
  • 16
  • 24
46
votes
6 answers

How can I view active remote connections (RDP) to a Windows server?

How can I view, who is currently connected to a server (Windows 2012) with a remote desktop client? I am myself connected to this server via RDP. This question offers a solution to get IP addresses with established connections. I would be interested…
gpinkas
  • 563
  • 1
  • 5
  • 8
46
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
  • 583
  • 1
  • 5
  • 9
46
votes
2 answers

Why was I able to delete a file owned by root in my home directory without being root?

So I was doing some maintenance on my server earlier today and noticed I was able to delete a file owned by root in my home directory. I was able to reproduce a sample: [cbennett@nova ~/temp]$ ls -al total 8 drwxrwxr-x. 2 cbennett cbennett 4096 Oct…
Carl Bennett
  • 753
  • 2
  • 7
  • 14
46
votes
3 answers

Recommended DNS SOA record TTL default?

We currently have our DNS SOA record set to the following for stackoverflow.com: primary name server = ns1.p19.dynect.net serial = 2009090909 refresh = 3600 (1 hour) retry = 600 (10 mins) expire = 604800 (7 days) default…
Geoff Dalgas
  • 2,416
  • 5
  • 31
  • 32
46
votes
12 answers

Sell partitioning to me

I have often wondered why there is such a passion for partitioning drives, especially on Unixy OSes (/usr, /var, et al). This does not seem to be a common theme with Windows installations. It seems that partitioning greatly increases the likelihood…
46
votes
5 answers

Failed tls handshake. Does not contain any IP SANs

I'm trying to set up logstash forwarder, but I have issues with making a proper secure channel. Trying to configure this with two ubuntu (server 14.04) machines running in virtualbox. They are 100% clean (not touched hosts file or installed any…
connery
  • 495
  • 1
  • 4
  • 8
46
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
  • 669
  • 1
  • 6
  • 11
46
votes
12 answers

Can't get SSH public key authentication to work

My server is running CentOS 5.3. I'm on a Mac running Leopard. I don't know which is responsible for this: I can log on to my server just fine via password authentication. I've gone through all of the steps for setting up PKA (as described at…
Trey Parkman
46
votes
7 answers

Default CA Cert Bundle Location

I need to add a .pem cert file to my default CA cert bundle but I don't know where the default CA Cert bundle is kept. I need to append my new .pem file to this default bundle. I'd rather do that than specify my own location using --capath cURL…
Slinky
  • 957
  • 3
  • 14
  • 25
46
votes
8 answers

Getting 408 errors on our logs with no request or user agent

I'm getting a lot of requests turning up in our apache logs that look like this www.example.com:80 10.240.1.8 - - [06/Mar/2013:00:39:19 +0000] "-" 408 0 "-" "-" - There seems to be no request and no user agent. Has anyone seen this before?
Glenn Slaven
  • 2,330
  • 2
  • 29
  • 41
46
votes
4 answers

Generate an OpenVPN profile for client user to import

Is there any documentation or resource describing how to generate and host a profile for an OpenVPN client to import? Ideally would like my users to not have to separately fetch a .zip file of the .ovpn + certs, extract it to the proper directory,…
Yang
  • 1,655
  • 6
  • 20
  • 35
46
votes
6 answers

Apache "Client denied by server configuration", despite allowing access to directory (vhost configuration)

in Apache on Ubuntu I've set up a vhost, but in the browser I keep getting a "403 Access forbidden" error; the log says "Client denied by server configuration: /home/remix/". Looking for the solution online I found many posts about the directory…
RemiX
  • 563
  • 1
  • 4
  • 6
46
votes
7 answers

How to update cURL CA bundle on RedHat?

I am running into issues where the CA bundle that has been bundled with my version of cURL is outdated. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate…
Andrew
  • 3,293
  • 8
  • 32
  • 35
46
votes
2 answers

How does Apache merge multiple matching Location sections

I'm working on some basic apache configuration, but I don't understand precisely how apache merges different sections when several of them match an incoming requests URL. The apache documentation in its "How the sections are merged"…
LordOfThePigs
  • 697
  • 1
  • 7
  • 7