


~]# cp -rv /etc/localtime /etc/localtime-org If your server doesn’t work timedatectl command, then follow belowone.you need to take backup of localtime first and then delete localtime and create symlink for that file. Now check date and time with date command ~]# date Suppose if you want to change to London timezone then ~]# timedatectl set-timezone Europe/LondonĪlso Read -> How to Install Nodejs on Centos 7 timedatectl set-timezone your_desired_zone Now you can change timezone to desired one. You can use the following command to list all the available time zones. Then check with timedatectl command like below ~]# timedatectl First we need to login into the server with root or any other user with sudo previliges.
