-
Upload Progress with PHP 7.1 and NGINX
While working on a Drupal 8 project served by NGINX and PHP-FPM, the status report looked great aside from UPLOAD PROGRESS at the bottom: Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library. As of Drupal 8.3.5, Drupal will […]
-
Adding PageSpeed and other Nginx modules on Ubuntu
Enabling Nginx Modules One inconvenience with Nginx is that modules cannot be dynamically added or removed as they can in Apache. Instead, Nginx modules are specified at compile-time. If you want to add or remove any Nginx modules such as ngx_lua, ngx_http_secure_download_module, or nginx_uploadprogress_module you’ll either need to compile from source or find a PPA…
-
LEMP stack installation scripts for Ubuntu 14.04
This weekend I overhauled my quick-lemp scripts for automating part of the server setup and LEMP stack installation process. The basic functionality is the same: standard new server setup is performed and a fully functioning LEMP stack is installed along with a sample Flask applications. What has changed is the way the scripts are divided and how…
-
Initial steps on a new Ubuntu 14.04 server
Ubuntu 14.04 If you just logged in to a fresh installation of Ubuntu 14.04 (Trusty Tahr), there are a few steps you’ll want to take immediately to help secure your new server. The IP blocks used by the various VPS providers are constantly being scanned, and brute force attacks will begin even if you’re deploying…
-
Update Bash on Linux and Mac machines to protect against ShellShock vulnerability
If you have any Linux or Mac machines, you’ll want to update Bash due to a vulnerability announced by RedHat called ShellShock. This vulnerability allows an attacker to inject their own code into Bash using environment variable assignment. You can check if your machine is vulnerable by running the following at a Bash prompt: env…
-
Install Redmine with Nginx, Puma, and MariaDB/MySQL on Ubuntu 14.04
Install Redmine on a LEMP stack On a whim I decided to try installing Redmine, the popular project management application written in Ruby on Rails. I don’t have any experience with Ruby, but there don’t seem to be any comparable open source Python options out there. Since I don’t plan on using Ruby for anything…
-
VirtualBox bug causes display problems in Chrome and Chromium
VirtualBox bug freezing display While working on a virtual machine running Ubuntu 12.04 recently, I encountered some behavior in Chromium and Chrome that made me start to regret uninstalling Firefox. When links or menu items were clicked, the browsers would appear unresponsive as if they were frozen. If the browser window was moved or minimized,…
-
LEMP stack deployment script for Ubuntu 12.04
I use Cloud Servers from Rackspace for most of my application hosting. Through their control panel I can quickly create, rebuild, and delete virtual private servers quickly and easily whenever I want. The only frustrating part has been having to spend time doing the same initial configuration and LEMP stack installation tasks on each new…
-
LEMP stack set up with Nginx, uWSGI, and MariaDB on Ubuntu 12.04
Over the past six months I’ve been deploying my Python projects using uWSGI and NGINX almost elusively. While they each have an overwhelming number configuration options available, deploying basic apps with them can be pretty painless. Here’s one simple option for setting up your LEMP stack on Ubuntu 12.04 and deploying a Flask application. Getting…
-
Make Chromebook more Versatile by Installing Ubuntu
This summer I was looking around for a new laptop. I wanted something lightweight and simple, preferably running a Linux variant. A lot of what I’ve been working on lately doesn’t require Windows and I’m often moving projects to virtual private servers hosted with Rackspace or Linode anyway. Most of the laptops I was finding…