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

for the example let's take :


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

Click Here to view the video tutorial for doing this.

  • change server time, server time change, time change in server, command for changing time
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

How To Install and Use Docker on Ubuntu 16.04

Introduction Docker is an application that makes it simple and easy to run application processes...

Change Main IP of the server :: Vesta Panel

If we are changing the main IP of a server installed with Vesta panel, we can use the following...

cPanel: Apache-FastCGI Data Timeout Error

If you are using a cPanel server and have FastCGI enabled in Apache, you might be facing the...

Domainkey installer in cPanel

You can use the following cPanel script to install domainkey for an account...

Email issues :: Common Troubleshooting Steps

Here I will discuss some common errors and their solution: We are using a mail relay setup for...