Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

image 5 - Add body_check to Proxmox MailGateway

Add body_check to Proxmox MailGateway

By default ProxmoxMG only scans the subject for bad words, but you can also enable body checks. Step 1. First edit the main conf file and include in it the new file with body_check rules that We will add later: nano /etc/postfix/main.cf and to the...

image 2 - Proxmox Mail Gateway Login failed. Please try again.

Proxmox Mail Gateway Login failed. Please try again.

Login failed to Proxmox MailGateway and 595 status code is reported:

To fix simply reset the password:

passwd

and run:

pmgconfig apicert --force 1​
systemctl restart pmgproxy pmgdaemon​

Source: PMG Web login reset

image 36 - [INFO] Timeout - try typing a little faster next time

[INFO] Timeout – try typing a little faster next time

When using FTP from a slow internet connection, files are not fully transferred, and the following error is recorded in the messages log: [INFO] Timeout – try typing a little faster next time To resolve this, edit pureftpd configuration file:...

MobaXterm Personal 20.3 L2R6UCkkiZ - How to backup a VPS from the inside

How to backup a VPS from the inside

Here is how to backup a VPS “from the inside” Create a directory for the container: mkdir /backup Create an archive vpsbackup.tar.gz of all files and place it in this folder: tar -zcvpf /backup/vpsbackup.tar.gz --directory=/ ...

MobaXterm Personal 20.3 BpISlMbEyO - Disabling SELinux

Disabling SELinux

To disable SELinux for this boot:

setenforce 0

To permanently disable SELinux edit the configuration file:

nano /etc/selinux/config

or

nano /etc/sysconfig/selinux

find SELINUX=enforcing and replace it with SELINUX=disabled

then reboot the system.

image - When the AWS EC2 instance was created

When the AWS EC2 instance was created

Here is how to check when an EC2 instance was created: Option 1. Check the Volume attachment time Option 2. Using a Python script import boto3 ec2 = boto3.resource('ec2', region_name='instance_region_name') volume = ec2.Volume('vol-id') print volume...

reboot aws instance - 3 Ways to Reboot AWS Instance EC2

3 Ways to Reboot AWS Instance EC2

Here are 3 different ways to restart EC2 AWS Instance: 1. Reboot EC2 Instance using AWS Console Login into your AWS EC2 ConsoleNavigate to “Instances” and Select instance which you want to restart, right-click on it and then select...

mtr - Run MTR (traceroute) every minute

Run MTR (traceroute) every minute

From time to time I’m experiencing Connection timed out errors in cPanel > Sent Summary and I need a way to run MTR at that exact time to troubleshoot the network problem. For this I can create a new script, mtr.sh: /usr/sbin/mtr -r -c 2...

chrome KRZ656D7Vo - How to Enable/Disable debug mode in CakePHP

How to Enable/Disable debug mode in CakePHP

To enable debug mode in CakePHP go to config folder and open app.php find ‘debug’ => filter_var(env(‘DEBUG’, false), FILTER_VALIDATE_BOOLEAN), and change the value of debug false to true Older CakePHP versions To enable...