Page 2 of Servers / Serverless Articles

How to install Node.js v14.x on Debian 9

Just because you haven’t made the jump to Debian 10 yet, doesn’t mean you shouldn’t enjoy the power of the latest and greatest version of Node.js. Follow these quick and easy steps and you’ll be running Node.js v14 on Debian 9 in no time!<h2 id="getting-started">Getting started</h2> Before we can install […]

How to install Node.js v14.x on Debian 8

Debian 8 still has some long term support life left in it. While you’re deciding on when to schedule your upgrade to Debian 9 or 10, why not give the latest version of Node.js a try? Follow these quick and easy steps to install Node.js v14.x on your aging Debian […]

How to install Node.js v14.x on Debian 10

Already running the latest and greatest version of Debian, version 10, and want to run the latest and greatest version of Node.js? If so, follow these quick and easy steps and you’ll be off to the races with Node.js v14.x.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to […]

How to upgrade from Debian 9 (Stretch) to Debian 10 (Buster)

Debian 10 is finally here. Time to upgrade all the things!!! The upgrade from Debian 9, code named Stretch to Debian 10, code named Buster is a fairly painless process. First, it’s good practice to make sure you’re completely up to date on your current version by running: sudo apt […]

How to install Node.js v12.x on Debian and Ubuntu

Feels like barely a week goes by without a new release from the Node.js team. This past week v12.0.0 was released promising speed improvements. It’s an important release because it’s slated to become the long-term service release in October 2019 with maintenance ending April 2022. If you’re starting a brand […]

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 […]

Upgrade to Node.js 10.x or 11.x on Ubuntu 18.10

The latest and greatest, albeit not a long-term support release, from Canonical is here! Ubuntu 18.10, Cosmic Cuttlefish, was released this month and shipped with the current LTS version of Node.js, version 8. Actually, it’s a minor revision behind at the moment with 8.11.x being what’s available. Not that there’s […]

How to install Node.js 10 on Ubuntu 18.04 LTS

Two days before Canonical dropped the latest and greatest long term service release of Ubuntu, the Node.js Foundation dropped the latest and greatest (and eventually long term service release) of Node.js. Due to the timing of things, Ubuntu 18.04 LTS was shipped with the current long term service release of […]

How to install the latest version of Node.js 8 on Ubuntu 18.04 LTS

Right on schedule, Canonical has released the latest long term service release of Ubuntu, version 18.04. This particular release is shipping with Node.js 8 which is the current long term service release of Node.js. Unfortunately, the version which shipped (8.10.0) is already a bit behind the latest version, 8.11.1 (at […]

Upgrade to Node.js 8.x on Debian and Ubuntu

Not too long ago I wrote a post on how to upgrade to Node.js 8.x on Ubuntu 17.10. Post has done well but it’s generated quite a few inquiries on if it would work on other versions of Ubuntu, specifically LTS versions. This guide should work for both Debian (Wheezy, […]

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 […]

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 […]

Upgrade from PHP 5.3 to PHP 5.4 on Ubuntu 10.04 LTS

I’ve previously posted about upgrading to PHP 5.5.x on Ubuntu 12.04 LTS but what about my friends still on the even older Ubuntu Long Term Service release that’s still supported, 10.04 LTS. That particular version’s server release will remain supported until April 2015, with more than a year left at […]

Your stack is outdated

I’ve been noticing a pattern with most of my peers (yes I said most), they expect their users to be running the latest and greatest version of their favorite “modern” browser and all the while their server stack is collecting dust. Ubuntu doesn’t help matters with their Long Term Service […]

Upgrade from PHP 5.3 to PHP 5.5 on Ubuntu 12.04 LTS

Recently I made the decision to stop living in the past and start living in the present by using the latest stable release of PHP, version 5.5.8. Unfortunately on Ubuntu 12.04 LTS (I always run LTS releases on my servers) the latest version of PHP available is from the 5.3 […]