Jump to content
IPSViet.com
Sign in to follow this  
hellomyfriends

Correcting timezone for IPS 4 | Chỉnh lại giờ, ngày đúng cho IPS 4

Recommended Posts

Bản IPS 4 này không còn chức năng chỉnh timezone như bản 3.x, mặc dù IPS nói là tự động set múi giờ nhưng thực sự không hẳn thế. Mình cài trên 2 server đều bị lệch timezone so với IPS 4.

Sau 1 thời gian nghiên cứu thì phát hiện ra là một số server chưa đồng bộ ngày và giờ với ntp (Network Time Protocol).

Cách thực hiện:

You can sync your system time and date with ntp (Network Time Protocol) over a network or internet. Normally ntp should be installed to your Linux system as default, in case your system does not have ntp, you can easily install ntp package with a simple command.

To install ntp on Ubuntu, Linux or debian based distribitions

Hidden Content

    Give reaction to this post to see the hidden content.

To install ntp on Fedora, Centos or redhat based distribitions

Hidden Content

    Give reaction to this post to see the hidden content.

After you set your timezone correcly, you should be able to synce your date and time with ntp command

Hidden Content

    Give reaction to this post to see the hidden content.

Hope this will help.

 

Credit to

Hidden Content

    Give reaction to this post to see the hidden content.

  • Like 5
  • Thanks 3
  • Sad 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...