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: ...

March 17, 2022 · 11 min · 2211 words · MarkoN

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. ...

February 11, 2022 · 5 min · 876 words · MarkoN

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 ). ...

January 31, 2022 · 3 min · 629 words · MarkoN

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. ...

January 9, 2022 · 4 min · 640 words · MarkoN

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: ...

December 29, 2021 · 5 min · 1010 words · MarkoN

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. ...

December 13, 2021 · 4 min · 777 words · MarkoN

Convert Virtualbox VMs to QEMU/KVM[VDI to QCOW2]

Overview In the following article, we’ll go through the steps how to convert Virtualbox VMs to QEMU/KVM hypervisor, or in another words, how to convert VM files from VDI to QCOW2 extenstion. This process is useful especially when you need to migrate from virtualbox to KVM or just want to try out the KVM hypervisor without the need to create new machines from the start. What is VDI? VDI(Virtual desktop infrastructure) is an file extension of the HDD disc image file for an Virtual machines that are commonly used by hypervisor solutions such as Virtualbox. ...

December 1, 2021 · 4 min · 651 words · MarkoN

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: ...

November 23, 2021 · 4 min · 697 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

Install NFS server on Rocky Linux 8[NFS share mount]

Install NFS server on Rocky linux 8[NFS share mount] Overview The post will showcase the steps how to install NFS server on Rocky linux. 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. ...

November 11, 2021 · 7 min · 1354 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

Install OpenVPN server on Rocky Linux 8

Overview On this post we are going to showcase the steps how to Install OpenVPN server on Rocky Linux 8. 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 is going to be performed as following: Deployed Rocky Linux 8 machine with firewall. 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 23, 2021 · 5 min · 920 words · MarkoN