Linux tutorials, system administration, web hosting, programming

How to wake up, restart our disabled, software-disconnected (ejected) external storage devices by restarting the USB root hubs

botond published 2021/04/06, k - 22:50 time
If you use external USB drives and storage devices, you can safely disconnect and disconnect them in the graphical desktop environment of your Linux system with a few clicks. Devices issued in this way will no longer be accessible, as the associated block device names will be lost and the hardware will be de-energized. By default, we can only re-use hardware by physically reconnecting it, which requires human intervention. There may be a need to still have access to our software-disconnected, turned-off storage device without having to physically unplug it and then reconnect it. If for any reason you want to be able to access your logically disconnected and unplugged USB storage device, this tutorial will look at how to restart and make available your external HDD, flash drive, or card reader without having to physically reconnect it.

How to troubleshoot a "Not authorized to perform operation" error message when automatically mounting flash drives and other external USB storage devices

botond published 2021/03/30, k - 23:56 time
When you connect an external USB drive or flash drive to your machine, the Linux system will automatically mount its file system for the appropriate user. However, this automatic mount may fail for some reason and you will get a small window with an "Not authorized to perform operation" error message.

How to deal with "Possible attack detected. This action has been logged." error message in our ISPConfig control panel

botond published 2021/03/23, k - 09:19 time
ISPConfig uses a variety of protection systems to keep it secure, including IDS (Intrusion Detection System) technology. However, this setting may be too sensitive and disable us from the control panel as well. In this little troubleshooter, we'll see what we can do if our ISPConfig control panel doesn't allow us, but instead gets a "Possible attack detected. This action has been logged." error message.

What if our Sury.org repository is not updated due to a GPG signing error on our Debian server?

botond published March 2021, 03, Thu - 18:08 time
If you are using custom PHP versions on your Debian server that are updated via the Sury.org repository, you have previously configured this repository, which was still working before, and APT upgraded the packages without any problems. However, an update may cause an error in the package manager and you may not be able to access the latest packages. We will remedy this problem in this short troubleshooter.

Download the perfect server: Debian 10 (Buster) v1.1

botond published 2021/03/06, Sat - 18:46 time
The download page contains a summary of the contents of the newer version of Debian 10 (Buster) Perfect Server (1.1), screenshots, and a download of the VirtualBox image file.

How to automatically clean PHP session files left in the tmp directories of web accounts in an ISPConfig server environment

botond published March 2021, 03, Thu - 04:11 time
PHP sessions are global variables that transmit data stored during web visits across multiple pages, i.e., they are not lost when moving from one page to another. PHP accomplishes this by assigning unique IDs to visits (sessions) and creating files in the server-side file structure associated with those IDs in which it stores the data required for the session. The system places these files in a specific directory, usually tmp, which is normally deleted by the garbage collector after a specified time. However, the situation is sometimes not so obvious. This is because if the PHP environment on the server changes, the garbage collector may not be able to delete these obsolete, unnecessary session files. In this description, we will look at how we can use our own solution to ensure that these session files are deleted when the default cleaning system cannot remove them.

Upgrading your Drupal 9 base system in two ways

botond published March 2021, 02, Thu - 25:23 time
There have been several base system updates for Drupal 9 CMS in recent weeks, so it's worth reviewing its update mechanism as before for the Drupal 8 update. In this description, I'm going to update the Drupal 10 website installed on the Debian 9 (Buster) perfect server from 9.1.2 to 9.1.4, so here we now jump to several versions at once. There are two ways to do this: first with a composer, and then look at the manual update.

Linux Mint 20.1 (Ulyssa) BIOS mode installation with Cinnamon desktop environment

botond published 2021/02/21, v - 15:22 time
On January 2021, 8, Linux Mint announced the release of 20.1, codenamed "Ulyssa," which was made available in a variety of desktop environments. In this description, we will install the version packaged with Cinnamon. We’ve dealt with a Linux Mint 20 (ulyana) based installation before, now let’s look at the latest version of the Linux Mint Linux distribution with the Cinnamon desktop in its original form. This installation is performed on a machine with a 64-bit BIOS system, where the 64-bit system is mounted on a single partition on a hard disk created with an MBR partition scheme.

How to easily install from the backports repository or upgrade your manually installed phpMyAdmin web database management system on Debian 10 (Buster) servers

botond published 2021/02/16, k - 21:14 time
PhpMyAdmin is an essential accessory for LAMP and other more complex servers, allowing us to conveniently manage our databases in a web interface. The phpMyAdmin web database management interface installation package was not previously available in the official Debian 10 (Buster) repository. So when I created the installer description for the Debian 10 LAMP server, I still had to install it manually. Since then, however, Debian has made the phpMyAdmin package available in the backports repository. In this description, in addition to the previous Debian 10 (Buster) LAMP server installation description, we will install our favorite web database manager from the backports repository, among other things, following the changes that have taken place in the meantime.