How to Install Docker using Ansible[Ubuntu/Debian]

Overview This article will showcase a process how to install Docker using Ansible. We’ll be covering two different approaches how to install Docker with Ansible, one for production environment and other for development/testing purposes. This process can be applied on any type of Linux machine - bare metal, VM or a cloud VM instance. For this example we’ll be running the playbook on Ubuntu 24.04 LTS. Side note - we also covered a process how to deploy Docker containers using Ansible - The process can be looked at this post, and how to deploy Nextcloud and Wordpress on Docker using Ansible. ...

July 28, 2024 · 7 min · 1425 words · MarkoN

How to set a static IP address in Linux

Overview Hi! I hope you’re all well and prepared to learn some new stuff. This time we’ll go through the basics of how to set a static IP address in Linux. In case that this stirs a question is there another type (let’s say dynamic, perhaps?), answer is yes, there is! There is a protocol for assigning dynamic IP addresses called Dynamic Host Configuration Protocol or DHCP shortly. Most likely that you have a dynamic IP address assigned by your router in home environment! ...

December 19, 2023 · 6 min · 1201 words · MarkoN

How to install ZSH on Linux

Overview This post is intended to act as guide and demonstrate the steps how to install ZSH on Linux. The following guide will demonstrate how to install ZSH in Linux(aka zshell) and also showcase the steps on how to set zsh as a default shell on login. ZSH is available by default in many repositories of Linux package managers, so the install process is straightforward Install ZSH on Ubuntu/Debian/Mint/Pop OS In order to install ZSH on Ubuntu or Debian or on any Debian/Ubuntu based distro, the ZSH can be installed via the “apt” package and to install it, simply run the following command: ...

December 19, 2023 · 3 min · 621 words · MarkoN

Setup Urbackup server on Ubuntu

Setup Urbackup server on Ubuntu Overview The following post will showcase the steps how to setup Urbackup server on Ubuntu. By this we mean that we’ll be install Urbackup server on Ubuntu and also, we’ll show to add a client on the server and how to run a backup job. UrBackup is an Open Source client/server backup system, that through a combination of image and file backups features, differential backups and other tools can do various backup jobs while the system is running without interrupting current processes. ...

November 14, 2021 · 6 min · 1085 words · MarkoN

How to setup Zabbix on Ubuntu 20.04

How to setup Zabbix on Ubuntu 20.04 Overview Zabbix is an open source monitoring solution for diverse IT components, including networks and network devices, virtual machines, servers, and cloud services. Zabbix provides monitoring metrics for most of the components, such as CPU usage, network utilization, RAM and disk space consumption, temperatures, etc. Software can monitor operations on Linux, Mac OS, Solaris, HP-UX natively, but for Windows monitoring usage of agents is needed. When set up, Zabbix web-based GUI enables users to view their IT infrastructure via a customizable dashboard, consisting of widgets, network maps, reports, etc. In this article we will cover the process how to setup Zabbix on Ubuntu 20.04. ...

October 29, 2021 · 7 min · 1302 words · MarkoN

How to create a user in Ubuntu

Overview The following article will demonstrate the steps on how to create a user in Ubuntu. Also, we’ll be demonstrating how to delete user in Ubuntu and all actions we’ll be executed in terminal. Knowing how to create a user in Ubuntu and how to delete a user is one of the basic skills a Linux user(admin) should know and still one of the most important skills as well to have(user management). Reason behind this is, because in every multi user operating system(Linux as well) there are and there should be a sets of different user permissions and different user groups. This is because of security reasons. ...

October 14, 2021 · 5 min · 938 words · MarkoN

Setup OpenVPN server on Ubuntu

Setup OpenVPN server on Ubuntu Overview On this post we are going to showcase the steps how to setup OpenVPN server on Ubuntu. OpenVPN is one of the well-known and a great open-source VPN solution. The scenario of our process on how to install OpenVPN server on Ubuntu is going to be performed as following: Deployed Ubuntu Linux machine with firewall(you can use UFW or IPTABLES. IPTABLES is used in this example). We’ll be using an OpenVPN installation script from Github made by angristan(huge shutout and kudos to him for making such an amazing script). The Installation process done manually is not difficult, it actually requires many steps and can be time consuming(especially if you miss-configured a step which can consume more time by troubleshooting). For the simplicity and ease of setup we’re using the angristan’s script(big thanks to him for sharing the script). Another interesting method of deploying OpenVPN server is via Docker container. The process can be looked at this post - LINK. ...

October 13, 2021 · 5 min · 898 words · MarkoN

How to setup Wireguard on Ubuntu

Setup Wireguard on Ubuntu Overview On this post we are going to showcase the steps how to setup Wireguard on Ubuntu. Wireguard is one of the well-known and a great open-source VPN solution. The scenario for our process on how to install Wireguard on Ubuntu is going to be performed as following: Deployed Ubuntu Linux machine with firewall(you can use UFW or IPTABLES. IPTABLES is used in this example). We’ll be using a Wireguard installation script from Github made by angristan. The Installation process done manually is not difficult but it can be time consuming(especially if you miss-configured a step which can consume more time by troubleshooting). For the simplicity and ease of setup we’re using the angristan’s script(big thanks to him for sharing the script). Another good method of deploying Wireguard is via Docker, meaning that we can setup and deploy wireguard VPN as Docker container. You can also check out this process on this post. ...

October 11, 2021 · 5 min · 875 words · MarkoN

Setup NFS server on Ubuntu [NSF share mount]

Overview This post will showcase the steps how to setup NFS server on Ubuntu. On another post, we covered the other method as well where we showed the process mounting the network shared drive on Linux, but with this method we used cifs-utils tools(LINK). The principle behind this process is basically the same - mount a network shared folder or drive from another machine and access it via local network. ...

September 28, 2021 · 7 min · 1306 words · MarkoN

Setup Kubernetes cluster with Rancher

Setup Kubernetes cluster with Rancher Overview In this post we will go through the process how to setup Kubernetes cluster with Rancher. Kubernetes is an amazing technology and one of the best way to orchestrate your containers. But sometimes, if you have a lot of containers or planning to host a lot of applications, it can be a bit easier to manage all those with a GUI dashboard, like Kubernetes dashboard. In this article we will cover the Rancher software, how to install it on Debian 10 Buster and how to setup Kubernetes cluster. This method can be done on Debian VM or on a bare metal machine and it also works on Ubuntu. ...

May 16, 2021 · 4 min · 826 words · MarkoN

Monitor linux server using Prometheus and Grafana

Monitor linux server using Prometheus and Grafana Overview We are going to cover the process on how to monitor linux server using prometheus and grafana using Docker. The entire setup will be installed and configured on Debian 10 Buster and Docker but this also can be done and will work on Ubuntu server or any other Linux distro running Docker. With this setup we’ll be able to perform Linux server monitoring and to track resource usage on our server(host machine) - CPU usage, RAM usage, SWAP, network, disk space and etc. ...

January 10, 2021 · 6 min · 1110 words · MarkoN

How to install Docker on Debian / Ubuntu

How to install Docker on Debian / Ubuntu Overview We will go through the steps how to install Docker on Debian and Ubuntu Linux distros. For this example, we installed Docker on Debian 10 Buster and on Ubuntu 20.04 LTS but the same procedure applies also for Debian 9 Stretch and for Ubuntu 18.04 LTS and for 16.04 LTS. We are also going to cover the steps of installing Docker via repositories and by downloading and manually installing it from a package file. ...

September 14, 2020 · 4 min · 721 words · MarkoN