Linux tutorials, system administration, web hosting, programming

How to monitor the temperature of your computer hardware during high heat

botond published March 2019, 06, Thu - 27:13 time
In this description, we install a program called lm-sensors, which first detects the temperature sensors available in the computer, and then we can query their current data at any time. Then we will install a program called hddtemp, which will allow us to read the temperature values ​​of the sensors in our hard disks separately. Thus, during the hottest periods, we can regularly monitor the data of our machine so that we can use it optimally. 

Installing Debian 9 (Stretch) LAMP Server v1.0

botond published 2019/06/21, p - 14:10 time
In this tutorial, we build a simple LAMP (Linux, Apache, MySQL / MariaDB, PHP) server based on Debian 9 (Stretch), which can be used to run web pages or even be a great tool for web developers. This page will install the MariaDB database management system and the Apache web server.

Read, write, copy files metadata with ExifTool

botond published 2019/06/15, Sat - 16:38 time
The exiftool command can be used to read or write metadata for different file formats from the command line, which can be especially useful when you need to process automated files in larger quantities. In this description, we will review some of the more general usage examples, as well as test a complete automation shell script that copies IPTC data from JPG files to EPS files.

Enhance SSH protection with additional Fail2Ban filter patterns on Debian 8 (Jessie)

botond published March 2019, 05, Thu - 09:23 time
On your Debian 8 (Jesssie) -based server, even if you use Fail2Ban, you may see log entries that are not recognized by Fail0.8.13Ban filters on your system, version 2, so your system is less protected against attacks that cause these entries. In this description, we will solve the attempt to block attempts with random usernames on our SSH server using another filter pattern in Fail2Ban.

How to move files from our databases to another partition or hard drive

botond published 2019/04/30, k - 17:36 time
When running websites, the size of the databases may reach our free space on the partition, or we may want to migrate our databases to an SSD drive, for example, for performance optimization purposes. Whatever the reason for this, we can learn from this description how to migrate binaries containing databases to another partition or drive.

Rotate and compress log files with Logrotate

botond published Jan. 2019, 04, 17:23 p.m. time
If we run many services on our server, comprehensive and regular scanning of our log files becomes difficult. A useful solution is the logrotate command, which automatically rotates log files generated by various programs, compresses older ones and deletes older ones than the specified time, as well as the ability to send email notifications. With the use of the program, we no longer have to worry about the log files being buried after a few days or weeks of absence, because they are waiting in an orderly state for us to review them. In this description we will get acquainted with the general use of the Logrotate program.

What to do if the Debian 8 (Jessie) APT package manager throws 404 (not found) errors when upgrading

botond published 2019/03/29, p - 13:17 time
On March 2019, 20, Debian moved the entire Debian 7 (Wheezy) repositories and the non-LTS repositories of Debian 8 (Jessie) to archive.debian.org. For Debian 8 (Jesssie), archiving affects the jessie-updates and jessie-backports repositories, so they are no longer available in the Debian main repository, but only in the archive, and no security updates are available for them. In this tutorial we will look at how to configure the APT package manager repositories so that we can continue to upgrade our Debian 8 (Jessie) system smoothly.