How to disable a rule in ModSecurity Apache
To disable a rule in ModSecurity, edit Apache configuration, add This needed to be added after all rules were loaded. On Ubuntu,…
To disable a rule in ModSecurity, edit Apache configuration, add This needed to be added after all rules were loaded. On Ubuntu,…
On a CentOS 7 server, when login as user root on the console, login fails. If I log in as a normal…
cwebp is a command line program used to convert images into webp format. To install cwebp on CentOS 7, run WebP is…
If you have lost the root password of your CentOS 7 system and have access to the console directly or using KVM,…
You can modify a user’s home directory using usermod command in Linux. The syntax for the usermod command is sudo usermod -d…
If ElasticSearh service crash on your server, you can auto restart it by modifying systemd service file. systemctl edit elasticsearch This will…
I want to start Next.js development server on my computer when it starts. Usually, this is done using pm2, I wanted to…
On a CentOS server, cronjob did not work. Checking the log file found the following error message in /var/log/cron Oct 24 18:35:01…
I wanted to block bots from accessing a website. For this, I need to generate a list of all browser User-Agent visiting…
If you forget the root password of a Hetzner dedicated server, you need to boot the server into rescue mode, then mount…
When updating packages on an Ubuntu server, I got the error “Unsafe symlinks encountered in /var/log, refusing.”. root@ip-172-31-45-33:/var# apt upgrade -y Reading…
To split a large CSV file into smaller parts, you can use the split command tail -n +2 access_log.csv | split -l…