Linux Servers Useful

Solved! WARNING: [pool ***] server reached max_children, consider raising it

If you encounter such an error in the php logs, then it is time to modify max_children. The php logs are usually located in /var/log/,  and in my case they are in /var/log/php7.4-fpm.log WARNING: [pool ********] server reached max_children setting (8), consider raising it Search for the file where the max_children variable is located, in my case […]

Linux Servers Useful Wordpress

Automatically Kill php-fpm or apache2 process with the High CPU in Linux

Once again I needed a solution to kill php-fpm or apache2 process with the high CPU usage and considering that I am not at the first similar problem I said that it is good to write it again somewhere, not to forget it. And this time the problem appeared with sites in Wordpress, it is a […]

Linux Servers Tools Useful

Disk Partitions Commands in Ubuntu/Debian Server – LINUX Tools

1. fdisk The fdisk command can display the partitions and details like file system type, model, zise. In Ubuntu 20.04 report the size of each partitions, but not in all Linux distributions! @ sudo fdisk -l Disk /dev/nvme0n1: 232.91 GiB, 250059350016 bytes, 488397168 sectors Disk model: Samsung SSD 970 EVO 250GB Units: sectors of 1 […]

Linux PHP Servers

Where is the php.ini configuration and enabled PHP modules? – Ubuntu Server

PHP configuration folders is usually in /etc/php/ and the installed version, in my case is in /etc/php/7.4/ The active version can be found with the following command in Ubuntu (ubuntu 20.04 for my case): @ php -version PHP 7.4.13 (cli) (built: Dec 10 2020 08:08:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) […]

Linux Security Servers Useful

Delete UFW Firewall Rules on Ubuntu & Debian Server – Linux

If you want to delete active rules (filters) from UFW – Uncomplicated Firewall – , find out that it is very simple and there are two methods to do this, but first of all you have to make sure that UFW is installed and active (enabled): @ sudo ufw status If the displayed result is […]

Linux Security Useful

How to Change default SSH Port 22 to Increase Security

By default, the SSH service runs on port 22, but to prevent automated robots and malicious users from brute-forcing into your server, you should consider changing the default 22 SSH port with another randomly selected one.. To prevent incorrect server configuration, you should choose a port from the range of dynamic / private ports (i.e., […]

Linux Useful

Convert Subtitles SRT from ISO-8859-16 to UTF-8 – iconv – Linux

On the current personal NAS server, which is more like a Media Server for a Home Theater, I installed Jellyfin instead of more “popular” but not one of the most suitable for Home Media Center, such as Open Media Vault, or Amahi. The current configuration replaced an older server for which I used OMV (Open Media […]

Linux Useful

How to Remove Files Recursively using Wildcard? – Linux Command Line

A short time ago I had to delete a lot of files created by a script, which I didn’t need anymore, but those files were scattered all over the disk, in many folders and subfolders. After scouring the whole internet, reading all sorts of scripts and commands, I finally found a close solution, which I […]

Linux Tools

Linux ext4-exFat Copy problem with MC (Midnight Commander) file manager

Not lon ago I encountered a rather bizarre situation using MC file manager, an application that I have been using for a long time in Linux, maybe out of nostalgia from the times when I used Norton Commander or Norton Desktop on the MS-DOS operating system . Generally on Linux I use MC because it […]

Apps Linux Servers Wordpress

Add ClassicPress WebApp to HestiaCP Control Panel – Ubuntu 20 Server

Recently I set up a VPS, and for the Control Panel I initially chose VestaCP, but after researching the forums a bit I came to the conclusion that it is preferable to use HestiaCP, a fork of VestaCP. I do not go into detail for all the reasons, but from online reviews it seems that […]