请前往 模块插件 激活 UI Manage 然后刷新
webtechhost

Account Center

Support

  1. Home
  2. Knowledgebase
  3. Commonly tutorials
  4. Change the time of your vps/dedi
Login
Knowledgebase

Change the time of your vps/dedi

It's very easy, you first need to remove the current time file

rm /etc/localtime

and replace it by the new one, you need to search the biggest city in the area you want
Here is the list : https://www.archlinux.org/packages/core/any/tzdata/files/
for the example let's take :

/usr/share/zoneinfo/right/Europe/Amsterdam


you simply need to do the command : ln -s /usr/share/zoneinfo/right/Europe/Amsterdam /etc/localtime
Replace the red text by the line you wish

Here are some examples : 
for Cairo :

ln -s /usr/share/zoneinfo/right/Africa/Cairo /etc/localtime

for Berlin :

ln -s /usr/share/zoneinfo/right/Europe/Berlin /etc/localtime


And then you can check the time with the command : date

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the display language on Windows Server 2012 R2 and Windows Server 2016

If you want to change the display language the following guide will help you to perform this on...

How to check Server hack and exim spamming issues

I am hereby providing some commands to have a basic checking on a server hack issue.  This will...

How to Install CSF in a cPanel server

What is CSF?CSF or Config server firewall is a firewall for Linux operating system. CSF has many...

How do I connect to my VPS/Dedicated server? (SSH) (Linux)

We recommend the program PuTTY for SSH. You can download it here:...

Harden and Secure a Linux/cPanel Server

Here I am describing some easier steps to secure a Linux based server. So of the steps are...