![Belden Thinklogical TLX48 Скачать руководство пользователя страница 31](http://html.mh-extra.com/html/belden/thinklogical-tlx48/thinklogical-tlx48_product-manual_2725639031.webp)
32
TLX48 2RU KVM Matrix Switch Product Manual
thinklogical
Rev. B, May 2022
Set or Change the Date, Time and Time Zone
Having the clocks set on system devices ensures that the log entries will have accurate timestamps if the system
needs troubleshooting or the logs need to be examined.
1.
Log into the device as
root
.
2.
Check the date, time and time zone by issuing a “
date
” command.
3.
To change the time zone, issue a “
timedatectl set-timezone UTC
” command (for example). For a list of
available time zones, issue a “
timedatectl list-timezones
” command.
4.
To set the date and time, issue the command in the format “
date mmddhhmmyy
” for month, day, hour,
minute, year. For example: “
date
05
03
1638
22
” will set the module for
May
3
,
4:38PM
,
2022
. This sets the
Linux clock. However, this will be lost after repowering the unit.
5.
Check the date, time and time zone again to verify that it is correct.
6.
Set the permanent hardware clock with the following command: “
hwclock --systohc
”.
Note that there is
a space and double hyphen between the parameters.
When Linux boots it will read the H/W clock correctly.
Verify the date & time setting after configuring it. Accidentally changing the date too far in the past will prevent
Linux from booting at all. If this happens, remove and replace the RTC battery to reset the date/time to a
known state, then correct it.