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
sed -i 's/#Port 22/Port 2425/g' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/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.myladder.pro/Server/SpeedTest/speedtest.py
chmod +rx speedtest.py
mv speedtest.py /usr/local/bin/speedtest
chown root:root /usr/local/bin/speedtest
reboot