Ubuntu

How to add a PPA repository using Ansible?

To add a PPA repository using Ansible, use Example

How to find all IP address of a Linux server

To list all configured IP addresses on a server, you can use the command To find the main IP, use

How to check old login history with last command

To see login history on a Linux system, you can use the “last” command. -n 10 limit result to last

MariaDB

One of the configured repositories failed (MariaDB100)

On a Cpanel server, when running “yum update”, I got the error message “One of the configured repositories failed (MariaDB100)”.

Out Of Memory (OOM) Error

OOM (Out Of Memory) error happens when a server run out of Memory. When a server runs out of memory,

Odoo ERP

odoo Unable to find Wkhtmltopdf on this system

On an odoo installation, I got the error “Unable to find Wkhtmltopdf on this system”, when generating reports. This error

Ubuntu

apt error doesn’t support architecture ‘i386’

On an Ubuntu server, when running “apt update” command, I got the following error message This error is because the

Failed to mount /sysroot XFS Boot failure

On an Amazon EC2 server, the server won’t boot. On checking the serial console, the server was stuck with an

Rocky Linux

How to install PPTP VPN on Rocky Linux 8

PPTP on Rocky Linux is provided by the EPEL repository, so enable EPEL repo by running Install the pptpd package

Allow PPTP VPN connection on firewalld

To allow PPTP VPN connection when using firewalls, run the following commands. Allow 1723/tcp Allow gre protocol or Enable IP

How to take screenshot with ffmpeg

ffmpeg provides x11grab driver that can be used to take screenshots. You can use the following command to take screenshots,

pvcreate Device /dev/sdb excluded by a filter

When creating LVM physical volume with the command “pvcreate”, I got the following error This disk was previously used as