AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to change timezone linux rhel 62/17/2023 Ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime If our server was running in China, then we would use the "Asia/Shanghai" time zone: rm -rf /etc/localtime You can modify it to any time zone as you wish, but using the local timezone of the server's physical location is a best practice. Input the following command in your terminal: dateĪs you see, the Vultr CentOS 6 圆4 OS uses the UTC time by default. I assume that you have deployed a CentOS 6 圆4 Vultr server instance from scratch and have logged in as root. In this article, I will show you how to set the time zone and how to synchronize the time using NTP on a CentOS 6 圆4 server. Second, for communication purposes, you can also use NTP (Network Time Protocol) to synchronize the time of your servers and remote NTP servers, keeping the time on your machines in perfect order. To avoid these undesirable issues, first, you need to set a reasonable time zone on your server, giving your server a relatively precise local time. Wrongly configured time will cause chaos within the server environment, such as data inconsistency, data synchronization failures, and job scheduling problems. For server administrators, it's important to set and maintain the time on servers correctly.
0 Comments
Read More
Leave a Reply. |