GPG Keys - Create & Use

GPG Keys - Create & Use
By GnuPG, GPL, Wikipedia Commons
Introduction If you are into Linux or the Security field you most likely have heard the terms: PGP, GPG, GnuPG, OpenPGP. They sometimes are being used interchangeably to describe e.g. how to encrypt mails or how to verify signatures of installed programs and packages. It might be difficult for new users to understand the differences, and how the PGP encryption works, but it is simple if explained. PGP: Pretty Good Privacy (PGP) is is an encryption program that provides cryptographic privacy and authentication for data communication.
Read more →

HTTPS & SSL Certificate & Certbot

HTTPS & SSL Certificate & Certbot
Original Certbot logo is licensed under CC-BY.
In this post we will see, how we can get an SSL certificate for our Apache or Nginx server with Certbot from Let’s Encrypt. Prerequisites An Ubuntu or Debian server (tested on Ubuntu 18.04 and Debian 10) that you have SSH access and root or sudo privileges. You can follow the SSH Server & UFW Configure guide to set up SSH best practices and configure a basic firewall.
Read more →

Nginx Install

Nginx Install
NGINX and the NGINX logo re trademarks of F5 Networks, Inc. in the U.S. and in certain other countries.
In this post we will see how we can install the Nginx web server in our Ubuntu server, and how to configure it to serve some files. If you have already a web server installed, like Apache, you either have to uninstall it or change the default port that is listening because it will conflict with Nginx. Install Nginx We install nginx and any required dependencies: sudo apt install nginx Adjusting the Firewall After you have followed the initial server setup and enabled the UFW firewall, make sure that your firewall allows HTTP and HTTPS traffic.
Read more →

Node-RED Install

Node-RED Install
Example flow by Paul Wieland on Node-RED flows page.
In this post, we will see how we can run Node-RED using Docker Containers on our Ubuntu Server. Node-RED is a flow-based development tool for visual programming, for wiring together hardware devices, APIs and online services as part of the Internet of Things. The light-weight runtime is built on Node.js, taking full advantage of its event-driven, non-blocking model. The flows created in Node-RED are stored using JSON which can be easily imported and exported for sharing with others.
Read more →

Home Assistant Install

Home Assistant Install
Screenshot of Home Assistant user interface by Paulus Schoutsen.
In this post, we will see how we can run Home Assistant using Docker Containers on our Ubuntu Server. Home Assistant is an open source home automation tool that we can run on a local server to integrate with another Smart Home service or sensors and micro-controller. There are a lot of installations method available, that you can find in the Installation page of Home Assistant, but we will use Docker containers to easily deploy the software.
Read more →

Portainer Install

Portainer Install
Screenshot of Portainer Container Stats.
In this post, we will see how we can run Portainer in order to manage our Docker containers. Portainer offers a Web UI that we can use to build and manage containers in Docker, Swarm, Kubernetes and Azure ACI. If you have not already, see how to install Docker on your Ubuntu/Debian server. Portainer comes in two flavours Portainer CE and Portainer Business. Portainer CE is open source, free forever and used by more than 500,000 developers worldwide.
Read more →

Grafana Configure

Grafana Configure
Screenshot of a Grafana Dashboard. The Grafana Labs Marks are trademarks of Grafana Labs, and are used with Grafana Labs’ permission. We are not affiliated with, endorsed or sponsored by Grafana Labs or its affiliates.
In this post, we will see how we can install Grafana in our Ubuntu Server. Grafana is an open-source data visualization and monitoring tool that can easily be integrated with other tools. We will install Grafana in our server as a service and not in a container. We have more than one way to install Grafana: By downloading the Linux binary By downloading and installing the .deb package By installing from the official repository We will show the last method, because we don’t have to manually update the package ourselves.
Read more →

InfluxDB Configure

InfluxDB Configure
Screenshot of InfluxDB dashboard. InfluxDB® is a trademark registered by InfluxData, which is not affiliated with, and does not endorse, this site.
In this post, we will see how we can install the latest version of InfluxDB (ver 2.0) in our Ubuntu Server. With the new version there’s only one thing to download and install and we can avoid installing the TICK Stack (Telegraf, InfluxDB, Chronograf, Kapacitor). The new version is not a simple time-series database anymore, but also a platform for querying, visualization and data manipulation. We have more than one way to install InfluxDB 2.
Read more →

Homer Configure

Homer Configure
Screenshot of Homer dashboard by Bastien Wirtz licensed under Apache-2.0.
Homer is a dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file. We can use this app in order to have a homepage for all our services, apps and links of our server into one place, and edit only one yaml file. In order to run the app we need Docker installed in our system, as it is going to be run as a container.
Read more →

Docker Compose Install

Docker Compose Install
Docker Compose logo is licensed under Apache-2.0.
Install and Configure Docker Compose for Ubuntu. This guide assumes, that Docker is already installed in your system. Compose is a tool for defining and running multi-container Docker applications. We can use Compose to create and start all services with one command from a single configuration YAML file. It is a great tool to have a minimal orchestration of Docker containers, without adding the complexity that other tools have, like Kubernetes and Docker Swarm.
Read more →