Category: Servers / Serverless
-
How to install Node.js 21 on Ubuntu
Installing Node.js 21 on Ubuntu is a pretty simple task regardless if you’re targeting an LTS or a non-LTS release. Personally, when working with Ubuntu in production environments, I stick to LTS releases like Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. This guide should work well on Ubuntu 22.10 and Ubuntu 23.10 as well. Installing…
-
How to apply security updates on Amazon Linux 2 AMI
Security updates are important and should be applied regularly, even automated if that’s an option (it is on Debian, as part of unattended upgrades). Amazon Web Services (AWS) offers their own Linux distribution, that is, and I quote “largely binary compatible” with Red Hat Enterprise Linux. Something I’ve learned about…
-
How to install Node.js 20 on Ubuntu 20.04 LTS
Less than a week ago, Node.js 20 release. While it’s not the current LTS release, it will be this coming October 2023. You’re probably wondering why this post is about Ubuntu 20.04 LTS considering there is a newer LTS release and multiple non-LTS releases that I could be targeting. Kinda…
-
How to install Node.js 19 on Ubuntu 20.04 LTS
Periodically, I check my site analytics to see which posts are getting the most traffic. It never ceases to amaze me at how many posts documenting older versions of Ubuntu, as far back as 16.04 LTS, still receive regular traffic. While they may not be evergreen forever, there’s something to…
-
How to install Node.js 18 on Ubuntu 20.04 LTS
It’s that time of year again, for not just a new version of Node.js, but for a new version of Ubuntu as well! Sadly though, my preferred method of installing Node.js on Ubuntu isn’t quite ready for Ubuntu 22.04 LTS. That’s okay though, I don’t like to upgrade to a…
-
How to restart an AWS ECS service
Docker containers are easily one of my favorite pieces of new technology of the last decade. They’ve immensely simplified how I work locally, no more virtual machines, no more trying to keep my local development environment and production servers in parity, and no need for command-line sloths like nvm. They’ve…
-
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…
-
How to install Node.js 17.x on Ubuntu LTS
As All Hallows Eve approaches, we are greeted with a brand new “current” release of Node.js, version 17. For those out there are aren’t aware of how Node.js releases work, even numbered releases eventually get promoted to long-term support (LTS) status, while odd numbered releases, will not. They are effectively…
-
How to kill a query on Amazon Relational Database Service (RDS)
Coming from MySQL / MariaDB, I was surprised that I couldn’t kill a query on an Amazon’s Relational Database Service or Amazon Aurora with the kill command. Fortunately, the functionality isn’t omitted, it’ just buried under some AWS RDS specific command. Before we go over that, let’s go over how…
-
How to install Node.js 16 on Ubuntu 20.04 LTS
Ubuntu tends to drop a new version of their April release shortly after a new version of Node.js drops. Every other year, this Ubuntu release is a long-term support release, which has a longer shelf life in terms of support and maintenance compared to their interim releases. True to form…