查看系统时间:
修改为CST时区:
-
[root@localhost ~]# mv /etc/localtime /etc/localtime.bak
-
[root@localhost ~]# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
-
[root@localhost ~]# date
查看系统时间:
修改为CST时区:
[root@localhost ~]# mv /etc/localtime /etc/localtime.bak
[root@localhost ~]# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
[root@localhost ~]# date