Forking a git repo with all tags and branches from parent
git clone –mirror git@myhost:mybackup.git mybackup/.git cd mybackup git config –bool core.bare false
git clone –mirror git@myhost:mybackup.git mybackup/.git cd mybackup git config –bool core.bare false
sudo yum clean packages sudo yum clean metadata sudo yum clean dbcache sudo yum clean all sudo yum makecache
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 sudo yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum install -y docker-ce docker-ce-cli containerd.io sudo systemctl enable docker sudo systemctl start docker sudo usermod -aG docker $USER
dnf -y install cockpit firewalld systemctl enable –now cockpit.socket systemctl enable firewalld systemctl start firewalld systemctl status firewalld firewall-cmd –add-service=cockpit –permanent firewall-cmd –reload dnf install -y qemu-kvm virt-manager libvirt virt-install virt-viewer virt-top libguestfs-tools systemctl start libvirtd systemctl enable –now libvirtd systemctl status libvirtd dnf install -y cockpit-machines systemctl restart cockpit systemctl status cockpit
sudo crontab -e */10 * * * * systemctl restart chronyd
ssh-keygen -t rsa cd ~/.ssh cat id_rsa.pub >> authorized_keys
sudo systemctl stop firewalld sudo systemctl disable firewalld sudo yum remove -y firewalld
sudo timedatectl set-timezone America/New_York
sudo systemctl chronyd restart
Determine the device name you want to format, in this case /dev/nvme1n1 Create a directory, in this case /data, and mount it Determine the UUID of your spiffy new mounted device UUID=6a2a2521-8370-4c3b-b952-9c3d7ec10d12 /data ext4 defaults,nofail 0 2 Paste in a line at the bottom of /etc/fstab something like the above: