How to disable a plugin from command line for Joomla 3.x

Disabling a plugin in Joomla 3.x from the command line can be done using the following steps:

Navigate to the root directory of your Joomla installation.

Type the following command to open the MySQL command prompt:

mysql
use username_database;

Replace username_database with the name of your Joomla database.… Read the rest

How to disable swap partition

To see your swap usage run the following:

free -m

To disable swap without reboot and just temporary run the following:

sudo swapoff -a

This will wipe out used swap space and disable it

To get this enabled again run next:

sudo swapon -a

To disable swap permanently you need to edit /etc/fstab as root and comment out a line related to swap

For example:

cat /etc/fstab |grep swap

# swap was on /dev/nvme0n1p6 during installation
#UUID=d10c1d70-bb88-43fc-bbe2-e17592b660ba none swap sw 0 0

Then reboot your machine to apply the change or try to run next:

mount -a

To reboot run:

reboot

Enjoy!… Read the rest

How to fix exim Could not complete sender verify

Check if you can reach a remote server

dig a gmail.com

If this timeouts then try over one of dns resolver directly

[~]# dig @8.8.8.8 a gmail.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.2 <<>> @8.8.8.8 a gmail.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

Timeout means DNS resolver is dead

[~]# cat /etc/resolv.conf
Read the rest