Ruby on Rails with PostgreSQL featured image

Setting up Ruby on Rails with PostgreSQL

Among all the available database engines, PostgreSQL is one of the most popular ones. It’s a well-known open-source database system known for its reliability, robust features, and performance. Because PostgreSQL is a popular choice, it’s supported by almost all major web frameworks. Similar to its competitors MySQL and SQLite, PostgreSQL also has its strong and weak points. Ruby on Rails …

Python Modules featured image

Writing Modules in Python 3: A Tutorial

Introduction Python is one of the most commonly used programming languages across the world. Modules are a critical part of the Python code. A module is simply a .py file in the context of Python 3. This means that you can refer to any Python file as a module. It is possible for you to obtain these modules through the …

Python indexing and slicing featured image

Python 3 Tutorial: Indexing and Slicing Strings

Introduction Python is one of the most popular programming languages across the world. It uses a data type that comprises sequences made up of individual characters. These characters may be letters, numbers, symbols, or whitespace characters. Other types of sequence-based data types include lists and tuples. Just like them, you can also access, index, and slice strings in Python. In …

Python 3 parameters featured image

Using *args and **kwargs Parameters in your Code: a Python 3 Tutorial

Introduction Python is one of the most popular programming languages worldwide. In Python, parameters are a part of function definitions. They enable you to specify certain arguments for a function. The argument can be accepted and applied by the function. However, it is not possible for you to know at the time of coding what exact use cases may be …

Ruby on Rails featured image 1

Installing Ruby on Rails with RVM on Ubuntu 20.04

Ruby on Rails is one of the most popular web app frameworks. It’s open-source software designed for developers to create successful projects while writing fewer codes. Having a fun and enjoyable development experience is one of the fundamental principles that make Ruby on Rails an attractive choice. The RVM (Ruby Version Manager) tool, as the name suggests, is a third-party …

Users on CentOS featured image

Adding and Deleting Users on CentOS 8: How To Guide

Linux is a multi-user operating system. Having proper knowledge of user management is crucial to proper system administration. If you are configuring a fresh Linux server, adding and deleting various users is usually one of the first things you have to do. This guide outlines the steps of adding and deleting users on CentOS 8. Prerequisites Creating and deleting users …

Javascript Objects Featured image

Working with JavaScript: What are Objects?

Introduction JavaScript is a computer language that is used all over the world for programming purposes. There are various components that constitute the language. In this tutorial, we will be covering objects which are a data type. Objects are standalone entities that may comprise names, keys, or values. Each of these collections is represented in name:value pairs. These pairs may …

install Java featured image

Installing Java on CentOS and Fedora

In the world of programming, Java has been one of the top programming languages. Java is a high-level programming language that follows the concept of object-oriented programming systems. It’s also a platform-independent language that generates cross-platform applications. Java is everywhere – banking and transactions, web frameworks, games (Minecraft), and even mobile operating systems (Android). In this guide, we will walk …

Flask Application with Docker featured image

Build and Deploy a Flask Application with Docker on Ubuntu 20.04

Introduction Docker is an open-source container platform. It is a lightweight, virtualized, portable, software-defined standardized environment that allows the software to run in isolation from other software running on the physical host machine. Docker offers a lightweight alternative to virtual machines. At the same time, it provides portability, performance, agility, and scalability of applications. For a comprehensive guide about the …

Ansible featured image

Installing and Configuring Ansible on Ubuntu 20.04

If you are a system administrator, it’s important that you have a consistent way of managing all of the servers and computers you are using. Configuration management systems can streamline the process to a great degree. They manage all the systems efficiently from a central location. On Linux, there are multiple configuration management systems available. For example, Puppet, Chef, Ansible, …

Postfix featured image

Installing and Configuring Postfix as a Send-only SMTP Server on Ubuntu 20.04

Postfix is a popular free and open-source software that acts as a mail transfer agent (MTA). The job of Postfix is to route and deliver emails. Besides the classic usage, Postfix can also be configured to send emails by local applications only. This application of Postfix is a useful trick to deploy in various situations. For example, it can be …

How-To-Set-Up-an-NFS-Mount-on-Ubuntu-16.04--01

Setting Up an NFS Mount on Ubuntu 20.04

The Network File System (NFS) is a distributed storage solution. It’s a file system protocol that allows mounting remote directories on the local server and uses it as if it was local storage. NFS allows multiple clients to share remote storage. It is well-suited for environments that regularly require shared resources. NFS is built on the ONC RPC (Open Network …