Archivo de la categoría: Nix

Fix rpmdb: Thread died in Berkeley DB library

Symptoms If you see rpmdb errors during package management (during yum/rpm operations), like this: rpmdb: Thread/process 277623/140429100390144 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 – (-30974) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.verbose.cli.yumcompletets:Yum Error: Error: rpmdb… Leer más »

How to Install and Configure MongoDB on CentOS 8

MongoDB is a NoSQL database that provides high performance, high availability, and automatic scaling. NoSQL database means that, unlike MySQL or PostgreSQL, it does not support SQL (Structured Query Language) to retrieve or manipulate the stored data. MongoDB does not store data in tables. Instead, it stores data in a «document» structure similar to JSON… Leer más »

Error: It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch. php

dnf module enable php:7.4 Last metadata expiration check: 2:17:55 ago on Tue 23 Nov 2021 10:48:04 PM GMT. Dependencies resolved. The operation would result in switching of module ‘php’ stream ‘7.2’ to stream ‘7.4’ Error: It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch. It is… Leer más »

RHEL 8 / CENTOS 8 – Ansible – Failed to validate GPG signature for …

fatal: [localhost]: FAILED! => {«changed»: false, «msg»: «Failed to validate GPG signature for remi-release-8.4-1.el8.remi.noarch»} remi site says RPM-GPG-KEY-remi is for Fedora <= 25 and EL <= 7 This works for me (on RHEL8): – hosts: localhost tasks: – rpm_key: state: present key: https://rpms.remirepo.net/RPM-GPG-KEY-remi2018 – rpm_key: state: present key: https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 – name: Install epel repo. yum: name: «https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm» state:… Leer más »

How to Install Ansible on RHEL8 /Centos8

Enable epel repository dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm First, update the DNF package repository cache with the following command: Now, install Ansible with the following command: Install git Playbook LEMP example:

How To Install Linux, Nginx, Mariadb 10.x, PHP (LEMP) stack On RHEL/CentOS 8

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm on RHEL 8 it is required to also enable the codeready-builder-for-rhel-8-*-rpms repository since EPEL packages may depend on packages from it: subscription-manager repos –enable «codeready-builder-for-rhel-8-$(arch)-rpms» Installing MariaDB Server 10.4 o deploy MariaDB Community Server 10.4 on RHEL 8 or CentOS 8, first download and use the mariadb_repo_setup script to configure the MariaDB repositories for… Leer más »

How To Install Linux, Nginx, Mariadb 10.x, PHP (LEMP) stack On CentOS 7

Add the CentOS 7 EPEL repository, run the following command: Installing MariaDB Server 10.4 o deploy MariaDB Community Server 10.4 on RHEL 7 or CentOS 7, first download and use the mariadb_repo_setup script to configure the MariaDB repositories for YUM: $ sudo yum install wget $ wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup $ chmod +x mariadb_repo_setup $ sudo ./mariadb_repo_setup To install… Leer más »

Install PHP 7.4, 7.3, 7.2 on Amazon Linux 2

Confirm that the amazon-linux-extras package is installed: If the command doesn’t return any output, then install the package that will configure the repository: Install PHP 7.4, 7.3, 7.2 on Amazon Linux 2 Let’s confirm that PHP 7.x topic is available in our Amazon Linux 2 machine:https://ba81e333c7babb426e39b458bb330c84.safeframe.googlesyndication.com/safeframe/1-0-38/html/container.html As we can see all PHP 7 topics, in this example… Leer más »

What SREs Can Learn from Facebook’s Largest Outage

sauce: https://rootly.io/blog/what-sres-can-learn-from-facebook-s-largest-outage?utm_source=reddit&utm_medium=blog SRE (Site Reliability Engineer).- Is an engineer whose main role is maximizing the reliability of IT systems. Facebook’s October 2021 outage was the type of event that gives SREs nightmares: A series of critical business apps crashed in minutes and remained unavailable for hours, disrupting more than 3.5 billion users around the world and costing… Leer más »