Breaking

Monday, 6 January 2020

Change Time Zone in Ubuntu Server


Ubuntu 18 LTS server



timedatectl list-timezones | grep -i Asia

sudo unlink /etc/localtime

sudo ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

timedatectl

​change time zone for apache tomcat ​ ( for linux )

edit startup.sh in bin directory and below mentioned line.

export JAVA_OPTS="-Duser.timezone=Asia/Kolkata"



No comments:

Post a Comment