Filter posts by category

Linux

How do I whitelist an IP address on fail2ban?

This tutorial explains how to whitelist IP addresses using fail2ban and includes instructions for fail2ban installation on Debian and other Linux distributions. Whitelisting an IP address on fail2ban: The fail2ban configuration file is jail.conf. You must not edit this file; instead, copy the jail.conf file into a new one, like <customisation>.local. The command below will […]

How do I whitelist an IP address on fail2ban? Read More

How to Grep for Text in Files

Grep is a command-line utility that can search and filter text using a common regular expression syntax. It is so ubiquitous that the verb “to grep” has emerged as a synonym for “to search.” grep is a useful tool for finding all occurrences of a search term in a selection of files, filtering a log file or

How to Grep for Text in Files Read More

How to Start, Stop, or Restart Apache Server on CentOS 7

Introduction Apache is part of the popular LAMP (Linux, Apache, MySQL, PHP) stack of software. It’s responsible for the function of most of the internet. This guide will show you how to restart Apache service on Linux CentOS 7. Prerequisites Access to a user account with sudo privileges An installed and configured Apache installation Access to a command line /

How to Start, Stop, or Restart Apache Server on CentOS 7 Read More

Linux Directory Structure and Important Files Paths Explained

For any person, who does not have a sound knowledge of Linux Operating System and Linux File System, dealing with the files and their location, their use may be horrible, and a newbie may really mess up. This article is aimed to provide the information about Linux File System, some of the important files, their usability and location. Linux Directory Structure Diagram A standard Linux distribution

Linux Directory Structure and Important Files Paths Explained Read More

Scroll to Top