How to fix Failed loading plugin “osmsplugin”: No module named ‘librepo’
→ dnf install python3-librepo
Then, error message disappeared.
Create Swapfile on CentOS
adopted from Tutorial of Digitalocean
1. dd if=/dev/zero of=/swapfile count=4096 bs=1MiB
2. chmod 600 /swapfile
3. mkswap /swapfile
4. swapon /swapfile
+ Add「/swapfile swap swap sw 0 0」in /etc/fstab