[root@server ~]# yum install chrony -y
[root@server ~]# vim /etc/chrony.conf
将下图中的上一行删掉或注释掉写:
server ntp.aliyun.com iburst
[root@server ~]# systemctl restart chronyd
[root@server ~]# chronyc sources -v
[root@server ~]# timedatectl status
[root@server ~]# vim /etc/chrony.conf
[root@server ~]# systemctl restart chronyd
[root@node1 ~]# yum install chrony -y
[root@node1 ~]# vim /etc/chrony.conf
[root@node1 ~]# systemctl restart chronyd
[root@node1 ~]# chronyc sources -v
[root@node1 ~]# timedatectl status
[root@server ~]# useradd redhat
[root@server ~]# passwd
[root@node1 ~]# ssh-keygen -t rsa
[root@node1 ~]# ssh-copy-id redhat@192.168.176.131
[root@node1 ~]# ssh redhat@192.168.176.131