If your Linux server does not match the local time, you may experience problems when making date-based configurations. You can make mistakes due to these problems. In this article I will talk about changing the timezone on Centos 7.
First, we are running the following command to find out the server time.
We can list the timezones by going to the following path.
To set the time according to Turkey, we must adjust as follows. You should arrange for your own country.
cp /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
After setting as above, we can see that it has changed by running the date command again.