赞
踩
Caused by: org.apache.flink.table.api.ValidationException: The MySQL server has a timezone offset (28800 seconds ahead of UTC) which does not match the configured timezone America/Los_Angeles. Specify the right server-time-zone to avoid inconsistencies for time-related fields.
时间、时区显示命令
- [root@hadoop01 ~]# date
- Wed Mar 13 09:06:35 CST 2024
- [root@hadoop01 ~]# timedatectl
- Warning: Ignoring the TZ variable. Reading the system's time zone setting only.
- Local time: Wed 2024-03-13 01:06:39 UTC
- Universal time: Wed 2024-03-13 01:06:39 UTC
- RTC time: Wed 2024-03-13 01:06:39
- Time zone: n/a (UTC, +0000)
- NTP enabled: yes
- NTP synchronized: yes
- RTC in local TZ: no
- DST active: n/a
为Linux 虚拟机设置时区_env tz asia/shanghai 在虚拟机里怎么执行-CSDN博客
通过网上的方法使用tzselect命令选择时区,想改成CST时区的,但是localtime依然不对,显示UTC。
但是软连接后可以了,软连接命令一定要加+f 强制执行,否则依然不生效。
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
时区相关说明文件:
Linux 硬件时间(RTC time)、系统时间(UTC时间、Universal time)、本地时间(Local time)、时区(Time zone)与夏令时(DST)解析-CSDN博客
centos7根目录扩容(根目录在sda3 vgdisplay为空) - 知乎 (zhihu.com)
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl restart network
并在网卡配置文件里写入一行 NM_CONTROLLED="no"
ifconfig
Centos 7 出现2个 inet 解决方法_ens33有两个inet-CSDN博客
4.扩容
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。