centos7 turn off the firewall -selinux- time synchronization commands - executed directly - no script - simple and efficient

systemctl stop firewalld && systemctl disable firewalld && sed -i 's/enforcing/disabled/' /etc/selinux/config && yum install -y ntpdate && ntpdate time.windows.com

Guess you like

Origin blog.51cto.com/3611073/2454972