Many programs may have time zone errors, so how do you adjust the VPS time zone to the current time zone? 1. Check system time date Will display: Tue Apr 1 16:27:26 CEST 2014 2. Change the time zone cd /usr/share/zoneinfo/ The following will be displayed: Search for your country or region. For China, select Asia. /usr/share/zoneinfo/Asia The following areas are displayed: Of course we chose Chongqing or Shanghai. cp /usr/share/zoneinfo/Asia/Chongqing /etc/localtime This changes the time zone to China. 3. Synchronize time Install ntp. Installation on Ubuntu and Debian: apt-get update && apt-get install ntp Installation on Fedora, Centos, and RedHat: yum install ntp Sync time: ntpdate pool.ntp.org |
<<: Srvify: $9.71/month/512MB/100GB space/1TB traffic/XEN
>>: nationserver: $7/year/128MB/10GB space/250GB bandwidth/OpenVZ
Limenex is a Singapore hosting company establishe...
Alibaba Cloud has some discounts for its develope...
WindowsVPS, an American hosting provider, seems t...
Uovz, a Chinese hosting company, has many data ce...
OwOCloud is a cloud service provider from Shenzhe...
Server Information: CPU model : Intel(R) Xeon(R) ...
Details : GigsGigsCloud: $5.8/month/512MB memory/...
PieLayer, old and stable. Black Friday deals are ...
DGCHost is a Singapore hosting provider under Dig...
Kuai Che Dao is a Chinese business that mainly pr...
Requirements : monthly payment less than US$5 and...
Event page: https://cloud.tencent.com/act/pro/lig...
SneakyGorilla, a hosting provider founded in 2010...
eLite Server Management, a foreign merchant, was ...
Asiahostonline, a foreign hosting provider, was e...