How To Install MariaDB on RHEL 8

Installing MariaDB on Red Hat Enterprise Linux 8 (RHEL 8) is a fairly straightforward process. Here’s an overview of the steps you’ll need to take: Start by adding the MariaDB repository to your system. You can do this by running the following command: sudo dnf config-manager –add-repo https://downloads.mariadb.com/MariaDB/mariadb_repo.cfg Install MariaDB by running the following command: … Read more

How to update OpenSUSE Linux software and kernel using CLI

To update OpenSUSE Linux software and kernel using the command line, you can use the “zypper” command. First, update the package index by running: sudo zypper refresh Then, update all installed packages by running: sudo zypper update You can also update specific packages by specifying their names after the “update” command. To update the kernel, … Read more

Define ssh key per host using ansible_ssh_private_key_file

You can define an SSH key per host using the ansible_ssh_private_key_file variable in Ansible. This variable allows you to specify a different private key file for each host or group of hosts. Here is an example of how you can use the ansible_ssh_private_key_file variable in your inventory file: [web-servers] web1 ansible_host=192.168.1.100 ansible_ssh_private_key_file=~/.ssh/web1.pem web2 ansible_host=192.168.1.101 ansible_ssh_private_key_file=~/.ssh/web2.pem … Read more

How to configure a static IP address on RHEL 8

To configure a static IP address on Red Hat Enterprise Linux (RHEL) 8, you can follow these steps: Open the /etc/sysconfig/network-scripts/ifcfg-interface file, where interface is the name of the network interface you want to configure. For example, if you want to configure the eth0 interface, you would open the /etc/sysconfig/network-scripts/ifcfg-eth0 file. Change the BOOTPROTO line … Read more