How to extract tar.gz file in Linux

Overview The topic for this post will be how to extract tar.gz file in Linux using the tar tool in terminal. In addition we’ll showcase other basic tar options too. If you are new to Linux OS, you must be heard of the tar files. Most open-source packages are distributed in tar format. Every Linux user should be familiar with the the tar command, at least the basics. The tar is the most wildly used archive package in Linux OS, just like zip files. Most Linux distributions used tar by default. A tar archive is pre-installed on many Linux Operating Systems, and it stands for “Tape Archive” every so often it is also referred to as the tarball. ...

Published June 25, 2022 · Updated December 19, 2023 · 3 min · 539 words · Marko Nisic

How to install Jellyfin on Debian 11

How to install Jellyfin on Debian 11 Overview The following article will demonstrate the steps on how to install Jellyfin on Debian 11. We’re going to demonstrate two steps on how to install Jellyfin on Debian. First will be focused on installing Jellyfin on Debian 11 by adding the Jellyfin repositories to the apt sources and installing it via apt(this will enable not just to install Jellyfin via apt package manager but also get the updates as well and manage the Jellyfin as a service). ...

Published May 17, 2022 · Updated December 2, 2023 · 3 min · 611 words · Marko Nisic

How to jump to the end of file in VIM

Overview This article will act as a simple guide to demonstrate how to jump to the end of file in VIM. Vim is a powerful text editor but it requires time and a learning curve to master it. Vim is made in a way that all commands, functions and editing is done via keyboard. Because of that, Vim has a lot of keyboard shortcuts to execute all those commands and functions. Today we’ll demonstrate how to jump to the end of a file in Vim and some other commands on how to move down the file(or in another words move cursor page up and page down in vim). Small note: These commands also are valid for VI and NVIM. ...

Published May 10, 2022 · Updated December 24, 2023 · 4 min · 658 words · Marko Nisic

Install Urbackup server using Docker

Overview Urbackup is a cross-platform server/agent backup solution. Quite versatile, feature rich and available on many platforms. We already covered how to install Urbackup on distros such as Ubuntu and Debian and in this post we’ll cover the procedure on how to Install Urbackup server using Docker or in other words - how to deploy Urbackup server as a Docker container. Prerequisites: A Docker node/server with Docker engine installed and running. ...

Published May 1, 2022 · Updated December 24, 2023 · 5 min · 976 words · Marko Nisic

Add a remote Docker host in Portainer using the edge agent

Overview The following article will cover the steps how to add a remote Docker host in Portainer using the edge agent. Portainer supports remote management of multiple Docker hosts and has features and multiple tools/methods how to achieve it. This post will focus on using the Portainer edge agent. In order to add a remote Docker host in Portainer there some requirements: Portainer Docker host(Portainer installed and running) Remote host/instance/server with Docker installed and running as well(Install Docker on Debian/Ubuntu) Portainer edge agent installed and running on the remote Docker host Portainer egde agent? Portainer edge agent is a Docker container, which acts as an Portainer agent/client on a remote Docker host in order to establish a connection between one and another add a remote Docker host in Portainer. The edge agent is used because of the simplicity when installing and connecting Portainer to a remote Docker host and also it’s a secure option as well since the agent encrypts all the traffic between the Portainer and the remote Docker host. ...

Published April 30, 2022 · Updated December 24, 2023 · 4 min · 811 words · Marko Nisic

IPtables commands cheat sheet

IPtables commands cheat sheet Overview IPtables is one of the most well know firewalls(and quite effective as well) which also comes on many Linux distro’s pre-installed by default. The purpose of this post is to act as an Iptables commands cheat sheet, considering how Iptables is powerfull, it’s also has a numerous commands for many networking scenarios. Iptables uses various different table rules with multiple chains to block and allow traffic: ...

Published March 17, 2022 · Updated December 2, 2023 · 11 min · 2211 words · Marko Nisic

Setup Nextcloud with Redis using Docker

Setup Nextcloud with Redis using Docker Overview We’ll go through the steps how to Setup Nextcloud with Redis using Docker. For this process we’ll be using Docker compose and build a stack to deploy at once Nextcloud Docker container with MariaDB and Redis all together. Requirements to setup Nextcloud with Redis: Docker installed and running on the host server(Install Docker) Docker compose installed(Install Docker Compose) What’s Redis and why it’s recommended to deploy it with Nextcloud Redis is an open source object cache server that can be used as a database cache in order to improve database performance. By default Nextcloud doens’t have database cache(can be configured though) and without database cache, the Nextcloud performance can dwindle(be really slow in other words) but when Redis is added into the play, it can drastically improve Nextcloud performance. Redis also have an official Docker container, which we’ll be using in this docker compose file. ...

Published February 11, 2022 · Updated December 24, 2023 · 5 min · 876 words · Marko Nisic

Add Synology NAS on Proxmox using CIFS/SMB

Add Synology NAS on Proxmox using CIFS/SMB Overview Proxmox offers multiple features and tools to expand and add storage, such as NFS and CIFS network shares. These are great options not for just storage expansion but these are great options to add backup locations as well. Since Synology also supports these storage protocols, this article will cover the steps how to add Synology NAS on Proxmox using CIFS (in other words, we’ll be creating the Proxmox SMB share and adding Synology ). ...

Published January 31, 2022 · Updated December 24, 2023 · 3 min · 629 words · Marko Nisic

Add Synology NAS to Proxmox with NFS

Add Synology NAS to Proxmox with NFS Overview Proxmox offers multiple features and tools to expand and add storage, such as NFS and CIFS network shares. These are great options not for just storage expansion but these are great options to add backup locations as well. Since Synology also supports these storage protocols, this article will cover the steps how to add Synology NAS to Proxmox with NFS mount share. ...

Published January 9, 2022 · Updated December 24, 2023 · 4 min · 640 words · Marko Nisic

Deploy Wordpress on Docker using Ansible

Overview The following article will cover the steps how to deploy Wordpress on Docker using Ansible. Purpose of this procedure is to automatize the deployment process of Wordpress on Docker with the Ansible playbook. In order to deploy wordpress on docker using ansible successfully, there are some requirements first to configure(listed bellow in the prerequisites) Prerequisites Docker installed and running on the target host machine(Docker installation can also be automated with Ansible – link to the POST) SSH access enabled on the remote hosts with the login parameters preset in the Ansible hosts file Ansible installed on client machine(your machine) Installed Python and Python docker module for Ansible on target machine Installed Python on your local machine Install Python Docker module for Ansible Most Linux distros have Python3 preinstalled but for others the Python Docker module that Ansible uses may be missing. You’ll know that it’s if you get an error mentioning that the module is missing or not found. Picture example of the error bellow: ...

Published December 29, 2021 · Updated August 31, 2024 · 5 min · 1010 words · Marko Nisic

How to install Zerotier VPN on Synology NAS

How to install Zerotier VPN on Synology NAS Overview The following article will showcase the steps how to install Zerotier VPN on Synology NAS. The procedure will be done step by step. The method we’ll be using to install, configure and deploy the VPN on the Synology is by running the Zerotier VPN using Docker, aka as a Docker container. This procedure will allow us to connect to our Synology more securely. The reason why we need Docker for this is because the DiskManager firmware from version 7 doesn’t allow apps to run as root anymore. ...

Published December 13, 2021 · Updated December 2, 2023 · 4 min · 777 words · Marko Nisic

Install Gnome on Debian 11

Install Gnome on Debian 11 Overview In this article we will cover the process how to Install Gnome Debian 11. That’s one of the most wonderful features that you can do with Linux. The ability to install multiple different desktop environments and to fully customize it per your liking. Thing to consider before installing another Desktop Environment Installing multiple Desktop Environments is not without risks. It requires time and some in-depth GNU/Linux knowledge in order to make ti all working smooth and to troubleshoot with ease, if some issues do come up. Here are some things that can pop-up when running more than one DE: ...

Published November 23, 2021 · Updated December 24, 2023 · 4 min · 697 words · Marko Nisic