Introduction: Amazon Web Services (AWS) provides a comprehensive set of cloud computing services that allow users to launch and manage virtual servers, known as instances, through the AWS Management Console, AWS CLI, and other tools. Using the AWS Command Line Interface (CLI) is a powerful way to automate the management… Continue Reading How to launch a new AWS instance via CLI?

Introduction: Ubuntu 20.04, codenamed “Focal Fossa,” is the latest Long Term Support (LTS) release of one of the most popular Linux distributions in the world. Released in April 2020, Ubuntu 20.04 builds upon the strengths of its predecessors while introducing several new features and improvements. Step1: Login to the server… Continue Reading How to set up a welcome message for Ubuntu 20.04?

Introduction: The file system of a Linux server plays a crucial role in managing data storage and retrieval efficiently. Among the various file system types available, ext3 and ext4 are widely used due to their stability, reliability, and compatibility with Linux distributions. Step 1: First, We should verify the current… Continue Reading How to convert file system type from ext3 to ext4 for Linux servers?

Introduction: Monitoring memory cache utilization is crucial for maintaining optimal system performance and resource utilization in your IT infrastructure. Nagios, a powerful monitoring system, allows you to track various metrics, including memory cache usage. Prerequisite: Server root login credentials. Step 1: Log in to the Ubuntu or Centos server as… Continue Reading How to set up the custom memory cache monitor on Nagios and clear the memory cache with cronjob?

Introduction: Making the entire filesystem or a specific partition read-only on Ubuntu 20.04 can be a useful security measure or a precautionary step to prevent unintended modifications. The read-only setting ensures that no write operations can be performed on the designated filesystem, safeguarding its integrity and reducing the risk of… Continue Reading How to set up the entire filesystem or a specific partition read-only on Ubuntu 20.04?

Introduction: Password management and policy enforcement are critical aspects of maintaining robust security on an Ubuntu Server 20.04. Establishing strong password policies helps safeguard against unauthorized access and security breaches. Step 1: Set an expiration date on a user’s passwordType¬†chage -l username¬†command to display the expiration date on a user’s… Continue Reading How to Manage passwords and password policies on Ubuntu server 20.04?

Introduction: Logical Volume Management (LVM) is a powerful tool in Linux that allows for dynamic resizing and management of storage space. As data requirements grow, the need to extend Logical Volumes becomes common to accommodate increasing storage demands without disruption. Step 1: Check there is enough free space in the… Continue Reading How to Extend a Logical Volume?

Introduction: Swap space, an extension of physical memory, enables instances to manage memory resources efficiently, preventing performance degradation in situations of high demand. This guide outlines the steps to add swap space to an Amazon EC2 instance Step 1: Connect to EC2 Instance. Step 2: Before adding a swap, check… Continue Reading How do to add a swap space to an EC2 instance?

Introduction: Logical Volume Management (LVM) is a disk management system that allows you to manage disk space using the concepts of logical volumes, physical volumes, and volume groups. It offers flexibility and scalability, enabling dynamic allocation and reallocation of storage in a more efficient manner. Setting up LVM on Ubuntu… Continue Reading How to set up LVM on Ubuntu 20.04?

Introduction: Opening port TCP on CentOS 7 is a common task when you want to allow network traffic to reach a specific service or application running on your server. Port TCP is often used for web applications and web servers, including alternative HTTP ports or application-specific services. In this guide,… Continue Reading How to allow any TCP port via Firewall?