1)配置ntp时间服务器确保客户端和服务端主机同步时间:
vim /etc/chrony.conf
第三行修改为:server ntp.aliyun.com iburst
systemctl restart chronyd
2)配置ssh免密登录,能够实现客户端主机通过服务端的redhat账户基于公钥验证方式的远程连接:
服务端创建账户:
客户端生成公私钥对,将公钥传给服务器,最后验证免密登录
[root@node1 ~]# ssh-keygen -t rsa
[root@node1 ~]# ssh-copy-id root@192.168.150.128
[root@node1 ~]# ssh root@192.168.150.128
ctivate the web console with: systemctl enable --now cockpit.socket
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Mon Jul 17 16:31:14 2023