Ansible Guide: The Ad-Hoc Command

Ansible Guide: The Ad-Hoc Command

Ansible Guide: The Ad-Hoc CommandThe Ad-Hoc command is the one-liner ansible command that performs one task on the target host. It allows you to execute simple one-line task against one or group of hosts defined on the inventory file configuration. An Ad-Hoc command will only have two parameters, the group of a host that you want to perform the task and the Ansible module to run.The Ad-Hoc command gives you more advantage for exploring ansible itself. You are able to perform tasks without creating a playbook first, such as rebooting servers, managing services, editing the line configuration, c

Read More »

Linux C Programming Tutorial Part 25 – Function pointers

Linux C Programming Tutorial Part 25 – Function pointersUp until now in this ongoing C programming tutorial series, we have discussed the basic concept of pointers as well as quite a few aspects related to pointers, like pointer to an array and array of pointers. Expanding upon our understanding of pointers, in this tutorial, we will discuss the concept of pointers to functions.Function pointers in C programming languageJust like we have pointers to variables, there can also be pointers to functions. Following is an example of a function pointer declaration:void (*fn_ptr)(int)So here we have a

Read More »

Linux C Programming Tutorial Part 24 – Multi dimensional arrays

Linux C Programming Tutorial Part 24 – Multi dimensional arraysIf you’re following this ongoing C programming tutorial series, you’d be aware of the concept of arrays. To quickly refresh, arrays are used to store multiple values of the same type in continuous storage.Multidimensional arrays in CFor example, the following is an integer array capable of storing 5 numbers.int arr[5]Any value stored in an array can be accessed easily using the array name and the corresponding index value. As indexes begin from 0, let’s say if you want to access the second element in an array, you can do that in th

Read More »

How to create a Jailed SSH User with Jailkit on Debian 9 (Stretch)

How to create a Jailed SSH User with Jailkit on Debian 9 (Stretch)This document describes how to install and configure Jailkit in Debian 9 (Stretch) Server. Jailkit is a set of utilities to limit user accounts to specific files using chroot() and or specific commands. Setting up a chroot shell, a shell limited to some specific command, or a daemon inside a chroot jail is a lot easier and can be automated using these utilities.Jailkit is known to be used in network security appliances from several leading IT security firms, internet servers from several large enterprise organizations, internet

Read More »

How to Install Phorum with Nginx on Ubuntu 18.04 LTS

How to Install Phorum with Nginx on Ubuntu 18.04 LTSPhorum is a PHP and MySQL based Open Source forum software. In this guide, we will guide you step-by-step through the Phorum installation process on the Ubuntu 18.04 LTS operating system using Nginx as the web server, MySQL as the database, and acme.sh and Let’s Encrypt for HTTPS.RequirementsRequirements for running Phorum are:NginxPHP version 5.2 or greaterMySQL version 5.0 or greaterPrerequisitesAn Ubuntu 18.04 LTS operating system.A non-root user with sudo privileges.Initial stepsCheck your Ubuntu version:lsb_release -ds# Ubuntu 18.04.1 LT

Read More »

Ansible Guide: Manage Files using Ansible

Ansible Guide: Manage Files using AnsibleIn this guide, I’ll show you how to manage files using ansible modules. You will learn how to copy, edit, insert, download and replace files using Ansible.What we will do?Copy file using ‘copy’ and ‘templates’ moduleDownload file using ‘fetch’ moduleEdit file using ‘blockinfile’, ‘lineinfile’, and ‘replace’ modulesManage file AttributesCopy file using ‘copy’ and ‘templates’ module in AnsibleAnsible provides some modules to copying file from local directory to the remote target machines, it’s the ‘copy’ and ‘template’ module.The difference between the ‘c

Read More »
How to Install October CMS with Nginx on Fedora 29

How to Install October CMS with Nginx on Fedora 29

How to Install October CMS with Nginx on Fedora 29October CMS is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. October CMS source code is hosted on Github. Thousands of digital studios and freelancers all over the world love October for its simplicity, flexibility, and modern design. In this tutorial, we will go through the October CMS installation on Fedora 29 system by using Nginx as a web server, MariaDB as a database server, and optionally you can secure transport layer by using acme.sh client and Let’s Encrypt certificate authority to add SSL support.Re

Read More »

Linux C Programming Tutorial Part 23 – Structures

Linux C Programming Tutorial Part 23 – StructuresSo far in this ongoing C programming tutorial series, we have discussed several aspects, ranging from variables to functions to even pointers. However, that’s still like scratching the surface, as there are many other important concepts in the C programming language.Today, in this tutorial, we will discuss one such concept – the concept of structures.Structures in C Programming LanguageHere’s how a structure is declared:struct TAG {variable declarationvariable declaration………};TAG can be any name you want to give to this structure, like emp

Read More »
How to Install and Configure TaskBoard on Ubuntu 18.04 LTS

How to Install and Configure TaskBoard on Ubuntu 18.04 LTS

How to Install and Configure TaskBoard on Ubuntu 18.04 LTSTaskBoard is an open source Kanban-inspired app that can be used to keep track of things that need to get done. It comes with a built-in web interface for keeping track of tasks. It is simple, easy to install and works on almost any web hosts. TaskBoard allows you to create unlimited board, projects and customize columns within boards. TaskBoard provides lots of features such as, basic user management, RESTful API, Items display complete history of activities and Full history of all board activity.In this tutorial, we will learn how to

Read More »
How to install Stacer System Monitor on Ubuntu 18.04 LTS

How to install Stacer System Monitor on Ubuntu 18.04 LTS

How to install Stacer System Monitor on Ubuntu 18.04 LTSStacer is an open source tool to monitor the performance of an Ubuntu Desktop. It provides a user-friendly dashboard that can be used to monitor CPU, Memory & Disk Usage, and System cleaner to clean system caches. You can monitor system resources, manage startup applications, start/stop system services and uninstall applications using Stacer.In this tutorial, we will learn how to install Stacer on Ubuntu 18.04 desktop system.RequirementsUbuntu 18.04 desktop installed on your system.A non-root user with sudo privileges is set up to your se

Read More »