Category: Servers / Serverless
-
Upgrade to Node.js 8.x on Ubuntu 17.10
Ubuntu 17.10, codenamed “Artful Aardvark” was released yesterday… … with Node.js v6.11.4 #sadtrombone It could be worse though, Debian 9.x (Stretch) still ships with Node v4… but I’ll save how to remedy that for another post 😉 Now, I can’t imagine you came here to listen to me throw shade…
-
Upgrade to PHP 7.x on Ubuntu 14.04 LTS
Upgrading to PHP 7.x (7.0 or 7.1 as of the time of this writing) is just as easy as it is to upgrade to PHP 5.6! Before we install PHP 7.x, I would recommend getting your system up to date: sudo apt-get update Next you will need to add the…
-
ERROR: Invalid position ‘1’
This error drove me mad. I had searched the interwebs at least a few times for it and couldn’t find a solution. All I wanted to do was block some lame ass script kiddie from scanning my server. I know the ufw command I was entering was fine, because it…
-
How to stop WordPress pingback DDoS attacks
Yesterday I had the privilege of dealing with a Wordpress pingback DDoS attack on one of my sites. My hosting company, whom I pay for access to a DDoS protection appliance, didn’t even notice anything. They deployed the appliance at my request and the spike in inbound bandwidth subsided. Unfortunately,…
-
sudo without password
I’ve recently run into deployment scenarios where I need to have a unprivileged user account execute something privileged like restarting nginx. Sure, I could just do things with the root account, but most of my deployments are done via SSH commands and I don’t allow root logins directly on my…
-
Upgrade from PHP 5.3 to PHP 5.6 on Ubuntu 12.04 LTS
Last week I posted a call to action to help sway Ondřej Surý into continuing to support Ubuntu 12.04 LTS with his amazing PPA for the latest and greatest PHP versions. Ondřej was kind enough to take the time to backport the PPA and without ado, here’s how to get…
-
Call to Action: PHP 5.6 on Ubuntu 12.04 LTS
I’m going to take a break from posting code snippets and how-tos to draw attention to the fact that PHP 5.6 may not be coming to Ubuntu 12.04 LTS by way of Ondřej Surý’s amazing PPA. Yes, you can still compile PHP from source, but as you may already know,…
-
Upgrade to PHP 5.6 on Ubuntu 14.04 LTS
PHP 5.6 is finally here and if you’re on Ubuntu 14.04 LTS you’re stuck with an older version of PHP. If you want to take advantage of the new awesomeness, you can do so very easily thanks to a PPA. If you’ve never added a PPA before, you will want…
-
How to Install PHP Redis on Ubuntu 14.04 LTS
Previously, I had shown you how to install PHP Redis from source but things changed with the latest Ubuntu LTS release. Now you can install the phpredis extension from the Ubuntu respositories. First, if you don’t have it installed already, let’s install Redis: sudo apt-get install redis-server After we get…
-
How to Install the MongoDB PHP Module on Ubuntu 14.04 LTS
Installing the PHP module for MongoDB on Ubuntu 14.04 LTS is just a command away, but first, let’s ensure that we have MongoDB itself installed: sudo apt-get install mongodb Once we have MongoDB installed, we can proceed with installing the module. Please note that you could combine these commands to…