Most Popular
1500 questions
47
votes
5 answers
Is there a cloud-based reverse proxy solution in AWS?
The system
I have an API deployed on EC2 machines on AWS. Incoming HTTPS requests are passed to an elastic load balancer. The load balancer handles the SSL, and passes the request to an Nginx server, that proxies the requests to the specific…

Adam Matan
- 13,194
- 19
- 55
- 75
47
votes
14 answers
VMware Linux Server -- how can you tell if you are a vm or real hardware?
An interesting question. I have logged into a Linux (most likely SuSE) host. Is there some way that I can tell programmatically that I am a VM host or not?
Also assume that the vmtools are not installed.

mdpc
- 11,856
- 28
- 53
- 67
47
votes
5 answers
Redirect non-www requests to www on Amazon Route 53
I want to redirect all requests from example.com to www.example.com.
Preferably, this should happen at DNS level. I tried using PTR records, but that simply fails, returning a 404.
wwww.example.com is an ALIAS for an Elastic Load Balancer.
What’s…

flavian
- 625
- 1
- 6
- 9
47
votes
9 answers
Nginx fails to stop and nginx.pid is missing
I want to stop Nginx but it fails like this.
$ sudo service nginx stop
Stopping nginx: [FAILED]
And nginx.conf that defines place of nginx.pid have a line.
# /etc/nginx/nginx.conf
pid …

ironsand
- 707
- 1
- 7
- 12
47
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
47
votes
9 answers
Connecting to a remote server through a VPN when the local network subnet address conflicts with a remote network
This is a Canonical Question about solving IPv4 subnet conflicts between a VPN client's local network and one across the VPN link from it.
After connecting to a remote location via OpenVPN, clients try to access a server on a network that exists…

John Russell
- 573
- 1
- 5
- 5
47
votes
16 answers
64-bit Cisco VPN client (IPsec)?
Cisco VPN client (IPsec) does not support 64bit Windows.
Worse, Cisco does not even plan to release a 64-bit version, instead they say that
"For x64 (64-bit) Windows support, you must utilize Cisco's next-generation Cisco AnyConnect VPN…

mika
- 1,466
- 2
- 12
- 18
47
votes
2 answers
How do I check what kernel options were compiled without looking at /boot/config-*
How do I check what options are compiled into a Linux kernel without looking at /boot/config-* and if I don't have access to the /boot/config-* file that's left over?

Amandasaurus
- 31,471
- 65
- 192
- 253
47
votes
4 answers
Is there a way to list all configurable `alternatives` (symlinks for similar commands) on the system?
The alternatives command (package chkconfig) on RHEL/Fedora manages symlinks which link a generic name to one of the alternative implementations. For example, mta group of symlinks can be provided by Sendmail and Postfix (to implement i.e. sendmail…

uvsmtid
- 897
- 1
- 6
- 13
47
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,665
- 6
- 21
- 35
47
votes
3 answers
How do I upgrade from PHP 5.3 to PHP 5.4.6 in Ubuntu?
Is there an easy way out to get the latest PHP? I have tried updating my package but none of it has 5.4.6 yet... if anyone knows on how to do it quickly, can it be shared here?
I've tried compiling from the source, but I am constantly getting:
…

user79356
- 627
- 1
- 8
- 13
47
votes
7 answers
How can one efficiently use S3 to back up files incrementally?
I understand how rsync works on a high-level, but there are 2 sides. With S3 there is no daemon to speak of — well there is, but it's basically just HTTP.
There look to be a few approaches.
s3rsync (but this just bolts on rsync to s3). …

Jaimie Sirovich
- 571
- 1
- 4
- 5
47
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…

GroovyPanda
- 573
- 1
- 4
- 6
47
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,453
- 9
- 33
- 36
47
votes
6 answers
tell yum to ignore a single dependency
I'm trying to install winswitch on CentOs 6. It requires nxagent. But in centos, the package name is nx. Is there a way to tell yum to skip checking the nxagent dependency (I installed nx already)? Specifying --skip-broken skips the whole thing.

IttayD
- 1,087
- 4
- 11
- 14