Thay đổi Timezone trên CentOS
1. Kiểm tra Timezone
1 |
# date |
2. Thay đổi Timezone theo múi giờ Việt nam
1 2 |
# rm -f /etc/localtime # ln -s /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime |
3. Đồng bộ Network Time Protocol NTP về server Việt Nam
Cài đặt NTP
1 |
# yum install -y ntpdate |
Đồng bộ NTP server Việt Nam
1 |
# ntpdate vn.pool.ntp.org |
Hiện tại chỉ có 4 servers tại Việt Nam nên có thể cân nhắc sử dụng server Asia
1 |
# ntpdate asia.pool.ntp.org |
Danh sách các servers tham khảo thêm tại: NTP Pool Servers
Phản hồi gần đây