Booting CentOS 5.5 in xen DomU

CentOS 5.5
kernel-xen0-*.*.rpm and kernel-xen-*.*.rpm are built with xenblk as a module, so that an attempt to boot into a DomU with the xen0 kernel dies with a message like:
mount: could not find filesystem '/dev/root'

sudo mkinitrd --with=xennet --preload=xenblk /boot/$KERNEL-$DOMNAME.img $KERNEL

Install docker on Centos 7


sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager \
--add-repo \
sudo yum makecache fast
sudo yum install -y docker-ce
sudo systemctl start docker
sudo systemctl enable docker


firewall-cmd --permanent --zone=trusted --change-interface=docker0
firewall-cmd --reload

Protect SSH by fail2ban on centos 7

yum install -y fail2ban
cat >> /etc/fail2ban/jail.d/customisation.local <<EOF
enabled = true
systemctl enable fail2ban
systemctl start fail2ban
fail2ban-client status sshd