Responsive Ads Here

Sunday, 7 April 2019

Set the time zone on an Amazon EC2 instance

We can set the timezone on an Amazon EC2 instance to CST by using following steps:
  • Login to your EC2 instance.
  • Execute the command: “sudo su” to become a root user.
  • Execute the command: “timedatectl” to know the current timezone details.
  • Execute the command: “rm /etc/localtime” ( Press Enter).
  • For confirmation type “Y” and Press Enter.
  • Execute the command: “cd /usr/share/zoneinfo” (Press Enter).
  • Execute the command: “ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime” (Press Enter).
  • Now check the timezone by using “timedatectl” command.
  • That’s it. Timezone changed to CST successfully.(No need to reboot)


1 comment:

  1. Play Free Games at Gold Casino
    The game is played by fun88 soikeotot two to six players. Each player has a total of 바카라사이트 £10 per bet. If you bet with more than one bet, betway you win!