At Cloud VPS service, if you get a different Time Zone from your server, it can be changed by following the following commands:
To OS Centos Step 1
- Enter your Cloud VPS using SSH or Putty
- Then, please type in the following command :
cd /etc
rm localtime
HTML
- Next, please copy the folder timezoneit is, like an example if you choose to use WIB, you can use the following command :
ln -s /usr/share/zoneinfo/Asia/Jakarta localtime
HTML
- If it's finished, please you check back in time and timezone You, whether or not to use the following command :
date
HTML
- If successful it will show like this :
To OS Centos Step 2
- Enter your Cloud VPS using SSH or Putty
- Next, please type the following command to do a check:
timedatectl
HTML
- Then it will show like this :
- Then, to see a list of time zones could use the following command :
timedatectl list-timezones
HTML
- If successful, it will display like this :
- If you have, change the time zone to your location. As an example you will use Jakarta time, type the following command :
timedatectl set-timezone Asia/Jakarta
HTML
- If you are finished, please check your time and timezone again, whether or not to type the following:
date
HTML
- If successful, it will display like this :
To OS Ubuntu 14.04
- Enter your Cloud VPS using SSH or Putty
- Next, please type the following command :
sudo dpkg-reconfigure tzdata
HTML
- Then choose according to your time zone
- If you have, please check back time and timezone You, whether or not to type the command :
date
HTML
- If successful then it will show as follows