Hello there 馃憢

Welcome! Thank you for your visit. I hope you enjoyed your stay.

Deploy Nextcloud on Docker using Ansible

Overview In this article we are going to go through the steps how to deploy Nextcloud on Docker using Ansible. Purpose of this procedure is to automatize the deployment process of Nextcloud on Docker with the Ansible playbook. In order to deploy nextcloud 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....

December 24, 2023聽路聽6 min聽路聽1162 words聽路聽MarkoN

Deploy Docker container using Ansible

Overview This article will showcase the steps how to deploy docker container using Ansible on a remote Linux machine. This will enable us to automate the process of Docker container deployment, when required, on a multiple remote Linux hosts, with a preset of environment variables and configs for the needed Docker container. Prerequisites In order to successfully deploy Docker container using Ansible on a remote Linux machine, there are following prerequisites that are required:...

December 24, 2023聽路聽4 min聽路聽758 words聽路聽MarkoN

Clone a git repository with ansible

Overview One of cool things that Ansible can do is to clone a git repository and that鈥檚 what we鈥檒l be talking about in this article - how to clone a git repository with Ansible. This enables us to have an automated solution for various setup processes(ie, downloading and setting up a dev environment on a remote location, need of download a script that needs to execute after the git repo is cloned, etc鈥 )....

December 24, 2023聽路聽4 min聽路聽659 words聽路聽MarkoN

Copy Files and Folders in Linux

Overview Hello fellow Linux enthusiasts. Hope you鈥檙e all well and ready to broaden your knowledge. Today鈥檚 topic will be about how to copy files and folders in Linux. And no, it鈥檚 with 鈥渞ight-click and copy file鈥. We do this the cool way, the terminal way. Just kidding鈥 without much further delay let鈥檚 get our hands dirty. We鈥檒l be covering several different methods and tools we can utilize that will allow us to perfom the copy actions for various scenarios and use cases....

December 24, 2023聽路聽8 min聽路聽1556 words聽路聽MarkoN

25 essential Vim commands for navigation and editing

Overview Vim is an extremely powerful text editor and can be especially useful when editing larger files. It can speed up/ease up the process. We鈥檒l be looking at some essential Vim commands for navigation and editing text.This article focuses on every day Vim usage, meaning - to help out or increase productivity for a individual or to jump start their journey working in Vim(vim navigation and editing). Vim has multiple working modes and in this post we鈥檒l cover - Normal, Command, Visual and Insert mode, which are modes for every day usage....

December 23, 2023聽路聽5 min聽路聽1063 words聽路聽MarkoN

Setup a passwordless SSH connection on Linux

Overview Previously we have covered a process on how to change SSH port on your remote server(POST). Next in this article, we will show you how to setup a passwordless SSH connection on Linux. To setup a passwordless SSH connection is very secure and a good practice for hardening your server. It is more secure than any other strong password, really difficult to hack and effortless to set up. This guide will help you to set up a passwordless SSH authentication on Linux with a help of SSH keypair that are located on any Linux or Unix-base operating systems....

December 19, 2023聽路聽6 min聽路聽1136 words聽路聽MarkoN

How to setup a cron job in Linux

Overview The following article will cover the basics of cron scheduler and showcase couple of examples on how to setup a cron job in Linux. Periodically, you want to perform certain task at specific time, like sending disk space report of server or take database backup every night. It will be really wonderful if you can perform such kind of task automatically rather than repeat it and doing it manually, right?...

December 19, 2023聽路聽6 min聽路聽1123 words聽路聽MarkoN

How to set a static IP address in Linux

Overview Hi! I hope you鈥檙e all well and prepared to learn some new stuff. This time we鈥檒l 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鈥檚 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

Mount a network shared drive on Linux

Overview In this post we will go through the process on how to mount a network shared drive on Linux.The procedure is executed on Debian and Ubuntu distros using the cifs-utils and for CentOS as well.聽With this method, not only you can mount a network shared drive, you can also use this method to mount other network shared locations(network shared folders or other network shares). I have a network shared storage server, the server has HDDs in RAID configuration and the storage drives are shared over the network, I am going to use this setup as an example....

December 19, 2023聽路聽4 min聽路聽822 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 鈥渁pt鈥 package and to install it, simply run the following command:...

December 19, 2023聽路聽3 min聽路聽621 words聽路聽MarkoN

How to delete files and folders in linux

Overview Hi fellow Linux users! I hope you are you鈥檙e ready for some new lessons about Linux. This time we鈥檒l turn to dark side right away, because this article will be devoted to destruction. We鈥檒l learn how to destroy鈥 I meant, how to delete files and folders in Linux. How to delete files in Linux Deleting files in Linux terminal is fairly easy. You鈥檝e been already introduced to command in last article when we needed to delete symbolic links....

December 19, 2023聽路聽4 min聽路聽803 words聽路聽MarkoN

How to create symlinks in Linux

Overview Hi there fellow Linux learners! Hope you鈥檙e ready to expand your knowledge about Linux. Today鈥檚 topic is how to create symlinks in Linux, which is short for symbolic links. There are two different kinds of links: soft links hard links In this article we鈥檒l focus on soft symbolic links. Hard links will be on menu some other time. Don鈥檛 be intimidated by its name, you don鈥檛 have to write symbols, neither remember or decipher ones....

December 19, 2023聽路聽4 min聽路聽777 words聽路聽MarkoN