Centos

From DWIKI

To make it do anything at all:

yum install epel-release


HOWTO

Locales

localectl status
localectl list-locales
localectl set-locale LANG=locale_name

Package: glibc-langpack-*

FAQ

network install url

http://mirror.centos.org/centos/7/os/x86_64

reset root password

http://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/


add module on 7

modprobe --first-time foo


Failed to validate GPG signature for mysql-community-common

Check https://dev.mysql.com/doc/refman/8.0/en/checking-rpm-signature.html

And try

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023


Could not retrieve mirrorlist

Look at

sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
    1. TODO fix the pipe escapes
sed -i 's|#baseurl=http://mirror.centos.org%7Cbaseurl=http://vault.centos.org%7Cg' /etc/yum.repos.d/CentOS-*

and

yum clean all