#!/usr/bin/env bash

echo
echo "*** Installing webmin... ***"
echo

yum -y install webmin 
#--disablerepo=thirdlane-nightly

#/etc/webmin/stop --kill

rm -f /etc/init.d/webmin

sed -i 's/^ssl=.*$/ssl=0/' /etc/webmin/miniserv.conf 
echo "referer=localhost" >> /etc/webmin/config

systemctl enable webmin
systemctl start  webmin

