查看服务器时间及所在时区 [root@localhost ~]# date -R Fri, 07 Dec 2018 04:38:28 -0500 修改时区 先使用 tzselect 根据提示选择所在地区,最终生成时区 You can make this change permanent for yourself by appending the line TZ='Asia/Shanghai'; export TZ to the file '.profile' in your home direc
root@localhost ~]# date Wed Oct 16 01:34:16 EDT 2019 [root@localhost ~]# cd /etc/ [root@localhost etc]# ls local locale.conf localtime [root@localhost etc]# ls localtime localtime [root@localhost etc]# ls -l localtime lrwxrwxrwx. 1 root root 38 Oct 2