问题描述:
MINIO上传失败后台控制器报错,错误信息如下:
The difference between the request time and the server's time is too large.
原因分析:
系统时区与硬件时区不一致导致的
解决方案:
注意:文件上传时,需要调整一下linux 服务器的时间与windows 时间一致!
第一步:安装ntp服务
yum -y install ntp
第二步:开启开机启动服务
systemctl enable ntp
第三步:启动服务
systemctl start ntpq
第四步:更改时区
timedatectl set-timezone Asia/Shanghai
第五步:启用ntp同步
timedatectl set-ntp yes
第六步:同步时间
ntpq -p
最后可以试试在控制台输入命令 查看是否和windows系统时间
date