Bitnami – Set timezone
Having the correct timezone configured on your machine can save you a lot of “math headaches” when you try to comb through the machine’s event logs. It’s a pretty easy thing to configure in the overall scope of all things, yet it is one that is often over looked, even by veteran users. Never fear though… I will show you how you too can update your Bitnami instance to your preferred timezone.
Lets begin by logging in with ‘root’ priviledges to your Bitnami instance.
Once logged in, use the following command to see what timezone you are currently set to use.
date
As you can see in my example, I am currently set to the UTC timezone, also known as Universal Time.
To find our desired timezone and reconfigure this, we need to enter the following command.
sudo dpkg-reconfigure tzdata
Once you’ve entered the command above and hit ‘Enter’ it will launch a menu were we can find and select your desired timezone. I will changing my Bitnami instance to use the ‘Pacific\Honolulu’ timezone, also known as HST.
Once you click ‘OK’, the machine will show you that it has updated it’s clock to use your desired timezone.
You can further verify that your clock is set correctly by running the ‘date’ command again, just as we had at the beginning of this post.
date
Just like that, we have updated the timezone preference in Bitnami. It was simple to do just as i promised. No more “math headaches” for us when we read log timestamps!!!
NOTE: If you are just trying to update your timezone for WordPress that is running on Bitnami, then check out this post of mine: WordPress – Set Timezone