#Install CDP-Agent echo '[r1soft] name=R1Soft Repository Server baseurl=http://repo.r1soft.com/yum/stable/$basearch/ enabled=1 gpgcheck=0'>/etc/yum.repos.d/r1soft.repo; yum install wget kernel-devel serverbackup-enterprise-agent -y; systemctl enable cdp-agent #Enable auto updating mkdir -p /usr/local/beyondhosting/ wget https://mirror.beyondhosting.net/provisioning/cpanel-automated-provisioning/r1soft/update_r1soft_keys -O /usr/local/beyondhosting/update_r1soft_keys chmod +x /usr/local/beyondhosting/update_r1soft_keys wget -4 http://mirror.beyondhosting.net/provisioning/cpanel-automated-provisioning/r1soft/bh-update-r1soft.service -O /etc/systemd/system/bh-update-r1soft.service wget -4 http://mirror.beyondhosting.net/provisioning/cpanel-automated-provisioning/r1soft/bh-update-r1soft.timer -O /etc/systemd/system/bh-update-r1soft.timer systemctl daemon-reload systemctl enable bh-update-r1soft.service bh-update-r1soft.timer /usr/local/beyondhosting/update_r1soft_keys systemctl start cdp-agent #Add rules to firewalld #firewall-cmd --permanent --zone=public --add-rich-rule=' # rule family="ipv4" # source address="8.29.138.28/32" # port protocol="tcp" port="1167" accept' #service firewalld restart