A quick way to install Node-RED, Apache and Let's encrypt on Ubuntu 16.04

Hi There,

I wanted to share a tiny bash script for Node-red, apache and certbot (Let’s encrypt) install on Ubuntu Server 16.04 LTS.

  • Node-red install.
  • Apache install.
  • Certbot install.
  • SSL certificate generation with certbot (Let’s encrypt).
  • Node-red configuration for a sub-domain with Apache proxy and SSL.
  • Startup script for node-red with a non-root user.

Prerequisites

  • Ubuntu 16.04 fresh install.
  • A domain and a sud-domain pointing to the server.
  • A user with sudo rights (this user launch this script).

I’m not a bash warrior but it works fine and it can be easily understood.

Have a nice day :wine_glass:

3 Likes