How to modify the time zone of the server

Stop vos mbx mysql (how to stop starting the service, please refer to the problem corresponding number)

Modify server time zone

Select time zone

Tzselect

Edit /etc/sysconfig/clock Modify ZONE to select time zone

ZONE=”Asia/Shanghai”

UTC=false

ARC=false

Rm /etc/localtime

Ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

Time change

Date -s 13:12:00

Clock -w

Start vos mbx mysql

No need to restart the server

Leave a Reply

Your email address will not be published. Required fields are marked *