yum -y install epel-release
yum -y install varnish
systemctl start varnish
systemctl enable varnish
cd /etc/varnish
vim default.vcl
vim varnish.params
systemctl restart varnish
semanage port -a -t http_port_t -p tcp 5001
semanage port -m -t http_port_t -p tcp 5001