llkasun.blogg.se

Change timezone linux centos 7
Change timezone linux centos 7









Make note of the appropriate folder and file for your timezone. For my location, Oklahoma, USA, I actually have two that I can select from: America/Chicago or US/Central. Select the appropriate named timezone for your location. There are a series of time zone files located at /usr/share/zoneinfo. Please note that you have to have root access to be able to make the changes detailed below. Fortunately though, it’s not hard to do with the right directions. Unfortunately, this is not an easy thing to figure out.

change timezone linux centos 7

You check the time from the command line (run date), and find that the timezone is set to US Eastern or some other timezone.

change timezone linux centos 7

You just got your new CentOS dedicated server, and you notice that times in your logs aren’t quite right.











Change timezone linux centos 7