Tag: Web Servers
-
Cannot load certificate “/etc/ssl/certs/ssl-cert-snakeoil.pem” on Debian
Recently, my media center (an Intel NUC) started to bark about being out of disk space on my root partition. Instead of just biting the bullet and redoing the partitions, I decided to purchase a larger SSD, which led to its own problems. With those problems sorted, I opted to do a fresh installation of…
-
How to hide Nginx server headers on Ubuntu
Nginx is a fantastic web server choice, but it tends to be a bit too mouthy by default for my taste. By mouthy, I mean that out of the box, Nginx gives up a bit too much information about itself, the operating system it’s running on, and if you’re running…
-
Symlinks with Nginx and PHP-FPM
Recently I’ve been putting time into rebuilding the server infrastructure for Holiday API. This has included hardening the system to be more fault tolerant and building out a new cluster of web servers. The biggest improvement was [finally] introducing a continuous deployment pipeline to complement the existing continuous integration flow….
-
How to install the latest nginx on Debian and Ubuntu
It’s been a minute since I’ve built out a new server, specifically a web server. As I ventured down the path of installing the latest version of nginx recently, I found the official documentation to be a touch lacking. The steps were clear enough, but the installation guide didn’t mention…
-
Decouple your code from your web server
I used to be quite adamant about running nearly the same exact software stack locally as I did on my servers. Running Linux made it easy to pull this off and being able to do the same on OS X was a contingency for switching. I have never been a…
-
How to Setup a LEMP Stack on Ubuntu 14.04 LTS
Last week I covered setting up a LAMP server on Ubuntu 14.04 LTS but for my money, it’s all about LEMP stacks. The “E” actually stands for Nginx (pronouced Engine X) and it’s an altnerative to the Apache web server that is built for speed and has a very low…
-
How to Setup a LAMP Stack on Ubuntu 14.04 LTS
The newest long term support release of Ubuntu (Trusty Tahr) is finally here! I just spun up a droplet over on DigitalOcean to walk through setting up a LAMP stack for this post. I also recommend making sure that your system is completely up to date. At the time of…
-
How to set up a LAMP server on Ubuntu 13.10
Been a while since I’ve covered setting up a brand new LAMP server. This time, I’m going to be using Ubuntu 13.10 and once you are logged into your server you will want to update and upgrade it to the latest software versions: sudo apt-get update && apt-get upgrade Once…
-
How to Setup a LEMP Stack on Ubuntu 12.04 LTS
Don’t get me wrong, there’s nothing wrong with a good ol’ LAMP stack (Linux, Apache, MySQL and PHP) but in my experience, Apache doesn’t necessarily scale all that well with PHP. It’s really not Apache’s fault, the fact is that most of the time servers are configured to use the…
-
How to Setup a LAMP Stack on Ubuntu 12.04 LTS
It seemed fitting that the first post on PHP Avenue should be about setting up a new server with PHP. This particular post will focus on a traditional LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu 12.04 LTS. I also intend on writing additional posts covering the setup of a…