service iptables stop
chkconfig iptables off
systemctl stop firewalld.service
systemctl disable firewalld.service
if [ -s /etc/selinux/config ]; then
	sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
fi
echo "Port 2425" >> /etc/ssh/sshd_config
sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/g' /etc/ssh/sshd_config
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
if [ ! -f "/etc/yum/yum-cron.conf" ]; then
yum -y install cronie yum-cron
sed -i 's/apply_updates = no/apply_updates = yes/g' /etc/yum/yum-cron.conf
systemctl start crond
systemctl start yum-cron
fi
wget http://download.curseurmum.com/Server/SpeedTest/speedtest.py
chmod +rx speedtest.py
mv speedtest.py /usr/local/bin/speedtest
chown root:root /usr/local/bin/speedtest
reboot