03 2023 档案

摘要:1. redis主从复制原理? 1 从节点1、2 2 127.0.0.1:6379> replicaof 10.0.0.157 6379 3 OK 4 127.0.0.1:6379> config set masterauth 123456 5 OK 6 127.0.0.1:6379> info 7 阅读全文
posted @ 2023-03-03 22:42 张铭扬 阅读(64) 评论(0) 推荐(0)
摘要:1. 搭建chrony服务完成多个主机的时间同步。 [root@centos8 ~]# yum -y install chrony [root@centos8 ~]# vim /etc/chrony.conf [root@centos8 ~]# cat /etc/chrony.conf server 阅读全文
posted @ 2023-03-03 20:09 张铭扬 阅读(86) 评论(0) 推荐(0)