Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

MobaXterm Personal 20.3 kv2c2lOpG8 - Bash script to check server load and notify by email

Bash script to check server load and notify by email

Shell scripts are always to handy to do some tasks on a Linux-based server for SysAdmins, they can automate everything they do frequently through a shell script. Here I’m going to share a simple script that I got from Muhammed Fasal to monitor...

select folders - dupeguru – find and remove duplicate files

dupeguru – find and remove duplicate files

DupeGuru is a simple application to locate all the duplicate files on your PC and delete them easily. The hard disk may be filled with duplicate files that are useless and use valuable space. If we try to locate these files manually would be an...

find locate linux - How to find files in Linux using locate or find commands

How to find files in Linux using locate or find commands

In Linux, there are a variety of commands to locate files, each with its own set of advantages and disadvantages. Some are only available in certain distributions, and others are not installed by default. Let’s start with the quickest approach...

MobaXterm Personal 20.3 ByCOPcuqOk - Postfix Configuration settings to prevent incoming SPAM

Postfix Configuration settings to prevent incoming SPAM

In this post, I’ll share the configuration file I use for Postfix installations and highlight some of the directives I use to combat incoming SPAM. If you want to use it, go ahead. nano /etc/postfix/main.cf nano /etc/postfix/main.cf...

image 82 - Flush nscd DNS cache

Flush nscd DNS cache

name service cache daemon (nscd) cache is persistent by default on CentOS 7, to flush it, you need to run: nscd -i hosts -i stands for invalidate. You can also check if nscd‘s cache is persistent by running nscd -g...

image 79 - Change MySQL data directory in PHPMyAdmin

Change MySQL data directory in PHPMyAdmin

In a recent article, I discussed many methods for removing the large ibdata file, one of which involves transferring the MySQL data directory to a different partition. However, if you do so, you must also inform PHPMyAdmin of the location of the...

image 31 - Whitelist Dynamic IP in CSF and cPanel

Whitelist Dynamic IP in CSF and cPanel

In this guide I will use cPanel’s Dynamic DNS feature to create a subdomain, then add that subdomain to CSF to automatically whitelist each IP that calls the URL. #1 Create Dynamic DNS In cPanel go to Dynamic DNS and create a new subdomain...

image 120 - Max retries has been reached, 503!

Max retries has been reached, 503!

503 Service Unavailable error on a shop hosted on shared cPanel server, apache error log: tail /usr/local/apache/logs/error_log 2022-04-29 11:04:21.728438 [T0] [31.32.33.34:49768-H3:3D8F707E6843B0DF-0#APVH_XXXXXX.com:443] Max retries has been...