Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Linux Articles
Found 1,338 articles
Implementing Mandatory Access Control with SELinux or AppArmor in Linux
Linux has built-in support for two types of Mandatory Access Control (MAC) systems: SELinux and AppArmor. Both systems add an additional layer of access control to the default Discretionary Access Control (DAC) that comes with Linux. In this article, we delve into the implementation of both systems, offering practical examples and their respective outputs. Understanding SELinux and AppArmor SELinux (Security-Enhanced Linux) is a Linux kernel security module that provides a mechanism for supporting access control security policies. It is a highly flexible MAC system that assigns labels to every object in the system (files, directories, ports, etc.) and ...
Read MoreInstall and Configure Caching-Only DNS Server in RHEL/CentOS 7
DNS (Domain Name System) plays a crucial role in translating domain names into IP addresses, allowing users to access websites using human-readable URLs. To enhance DNS performance and reduce network latency, implementing a caching-only DNS server can significantly improve the speed and efficiency of DNS lookups. In this article, we will guide you through the process of installing and configuring a caching-only DNS server in RHEL/CentOS 7. Prerequisites Before proceeding, ensure that you have the following − A server running RHEL/CentOS 7. Root or sudo access to the server. Basic knowledge of the Linux command line. ...
Read MoreInstall EHCP in RHEL/CentOS/Fedora and Ubuntu/Debian/Linux Mint
EHCP (Easy Hosting Control Panel) is a powerful and user-friendly web hosting control panel that simplifies the process of managing web servers and hosting websites. It provides a comprehensive set of features and tools to streamline the hosting experience. This article will guide you through the step-by-step process of installing EHCP on both Red Hat-based distributions (RHEL, CentOS, Fedora) and Debian-based distributions (Ubuntu, Debian, Linux Mint). Prerequisites Before we begin, make sure you have the following prerequisites in place − A server or virtual machine running one of the supported Linux distributions. Root access or sudo ...
Read MoreInstall Glances, InfluxDB and Grafana to Monitor CentOS 7
Monitoring the performance and health of your CentOS 7 server is essential for maintaining its stability and optimizing its resources. In this article, we will explore how to install and configure Glances, InfluxDB, and Grafana—a powerful trio of monitoring tools—to gather system metrics, store them in a time-series database, and visualize them in real-time dashboards. Monitoring Stack Architecture Glances Data Collection InfluxDB Data Storage Grafana Visualization ...
Read MoreInstall Guacamole for Remote Linux/Windows Access in Ubuntu
In today's interconnected world, remote access to Linux and Windows machines is essential for efficient system administration and troubleshooting. Apache Guacamole is an open-source clientless remote desktop gateway that allows you to access your machines from anywhere using just a web browser. This tutorial will guide you through installing Guacamole on Ubuntu and configuring it for remote access to both Linux and Windows systems. Prerequisites Before beginning the installation, ensure you have the following prerequisites − A machine running Ubuntu 18.04 or later with administrative privileges A stable internet connection for downloading packages At least 2GB ...
Read MoreLongest Remaining Time First (LRTF) CPU Scheduling Program
Longest Remaining Time First (LRTF) is a preemptive CPU scheduling algorithm that selects the process with the longest remaining burst time to execute next. Unlike Shortest Remaining Time First (SRTF), LRTF prioritizes processes that will take the most time to complete, making it a variant of the Longest Job First (LJF) algorithm. How LRTF Works The scheduler maintains a ready queue and continuously selects the process with the maximum remaining execution time. When a new process arrives, the scheduler compares its burst time with the currently executing process and may preempt if the new process has a longer ...
Read MoreCollectl – Performance Analysis Tool in Linux
In this tutorial, we will explore Collectl, a powerful performance analysis tool for Linux systems. Collectl provides comprehensive monitoring capabilities, allowing us to gather and analyze system performance metrics in real-time. Throughout this article, we will learn how to install Collectl and utilize its features to monitor various system resources, including CPU, memory, disk, and network usage. Installing Collectl To begin, let's install Collectl on our Linux system by following these steps − Step 1 − Open a terminal window on your linux machine. Step 2 − Update the package repository by running the following command ...
Read MoreDeprecated Linux Networking Commands and Their Replacements
Linux is a very popular operating system among developers and system administrators due to its strong and robust command-line interface (CLI). However, some of the networking commands have become outdated over time, making way for newer and more efficient options. In this article, we'll have a look at some of the deprecated commands and their new modern-day replacements to help you keep up with your Linux networking configurations. In this tutorial, we'll go through each of the deprecated commands and their corresponding substitutions. We'll also provide examples of how to use the new commands. By the end of this ...
Read MoreHow to Control Systemd Services on Remote Linux Server?
As Linux users and administrators, we are responsible for managing services on remote Linux servers, which could include web servers like Apache or Nginx, or database servers like MySQL or PostgreSQL. To effectively manage these services, we need to have a strong understanding of the underlying system and service manager for Linux − systemd. Systemd is a robust and feature-rich system and service manager designed for Linux-based operating systems. It takes care of managing the initialization and termination of services, tracks system processes, and oversees system resources. It is widely adopted as the default system and service manager in ...
Read MoreHow to Use Metasploit’s Interface?
In this tutorial, we will explore the powerful capabilities of Metasploit's interface. Metasploit is a popular penetration testing framework that allows security professionals to identify and exploit vulnerabilities in systems. By leveraging its extensive set of modules and functionalities, we can gain insights into potential security weaknesses and strengthen our own defenses. Installing and Setting Up Metasploit To begin our exploration of Metasploit, we need to install and set up the framework. Follow these steps − Start by downloading Metasploit from the official website or via the package manager of your operating system. Install Metasploit by ...
Read More