Introduction
This article provides the procedure to set a server's time zone from the command line.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- List the available timezones.
timedatectl list-timezones
- Note the full text for the desired timezone.
Please note that the timezone setting is case-sensitive. - Set the timezone.
timedatectl set-timezone UTC
Please note that "UTC" must be replaced with the desired timezone.
Comments
0 comments
Article is closed for comments.