CentOS 7 Plugin “copr” can’t be imported. No such command: copr.

I met this issue in caddy installation. It requires repo ‘copr’ and get an error in yum importing.I searched on google and find that most of this issue is caused by missing or broken of urllib3 Work: This is to find whether copr repo is installed. If so, here will be the copr.py, copr.pyc and …

Generate and log in SSH with an RSA public key

1. Generate the key. ssh-keygen -t rsa -P 123456 -f host -C ‘key’ -t: key Type {dsa | ecdsa | ed25519 | rsa | rsa1}-P: Passpharse (empty for no passpharse)-f: key Filename/hostname-C: Comment 2. Add it to your server. scp host.pub root@your_server_ip:/root/cat /root/host.pub >> ~/.ssh/authorized_keyschmod 600 ~/.ssh/authorized_keys 3. Edit sshd_config.vim /etc/ssh/sshd_config Edit these configs. RSAAuthentication …

Using Crontab

The software utility cron is a time-based job scheduler in Unix-like computer operating systems. Edit the cron time table with: run every minute: run at the first and 31st minute every hour: run at the first minute of 8-10 a.m. every day: run every 2 days: run scripts in /etc/cron.hourly

Install the Nvidia GeForce Drivers on Centos 8

Step 1: Disable nouveau driver blacklist nouveau options nouveau modeset=0 add the above configs to these files: /lib/modprobe.d/nvidia-installer-disable-nouveau.conf /etc/modprobe.d/nvidia-installer-disable-nouveau.conf Step 2: Rebuild the initial ramdisk image cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak dracut /boot/initramfs-$(uname -r).img $(uname -r) rm /boot/initramfs-$(uname -r).img.bak Step 3: Download the Nvidia drivers and install it you can find them on https://www.nvidia.com/en-us/drivers/unix/and use …