查看系統時間:
修改爲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