Recently when a Linux monitoring script using CURL to monitor a https URL broke when migrated to a VM from Oracle Linux v6.7 to v6.9. This post i will try to explain the root cause of the issue and solution to fix the issue.
Postfix a way to limit the frequency of brute force?
In file /usr/local/etc/postfix/main.cf place something like the following:
# RATE THROTTLING
smtpd_client_connection_rate_limit = 20
smtpd_error_sleep_time = 10s
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 5
To simply view the logs on your system, you can execute the following command:
This will display the logs with the oldest entries first. Although this is simple, it is not very useful since we do not tend to read logs like a book.
By default journalctl displays the logs in a pager. It shows you one page of logs requiring you to hit the space bar to proceed.
Diplaying Logs by Date (more…)
The answer to the question of “how do I upgrade?” is always “it depends”, because everyone’s situation is going to be slightly different. This blog will cover some of the most straightforward ways which should apply in the majority of cases.
Either of the following two methods would work in most circumstances:
Backing up and restoring the existing configuration to a new installation
Maintaining completely separate domain and node directories and pointing the new version to the existing directories (more…)
The maillog is easy enough to follow, but when you understand what all the delay and delays numbers mean then this may help really understand what is going on!
A standard email entry in postfix looks like:
Jan 10 10:00:00 testmtr postfix/smtp: 34A1B160852B: to=, relay=mx1.example.lan[18.104.22.168]:25, delay=0.49, delays=0.2/0/0.04/0.25, dsn=2.0.0, status=sent
Install and configure apache server:
sudo apt-get install apache2 apache2-utils libapache2-mod-php5
Enable auth_digest module for ruTorrent authentication, SSL, and reqtimeout.
sudo a2enmod auth_digest ssl reqtimeout
sudo nano /etc/apache2/apache2.conf
Edit or add the following lines:
Timeout 30 ServerSignature Off ServerTokens Prod
For App to be able to create thumbnails and previews for video and audio files uses ffmpeg.
These instructions are specifically for version 8.0 (Jessie) of Debian/xbian.
Note: the commands in this section must be run as root
Add the following to the bottom of /etc/apt/sources.list:
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free