Utilities and Applications
SharpStreamer™ PCIE-7207 Installation and Use (6806800T60F)
97
7.2.4
Setting Linux date and time manually
This section provides a brief description about the commands that are used for manually
setting Linux date and time.
Assuming that you have an NSF mounted
rootfs
or booting from SSD/HD/uSD. It applies to
both SharpServer and SharpStreamer cards.
To set the time zone on host machine:
#
timedatectl set-timezone 'America/Los_Angeles
'
# timedatectl set-ntp yes
# systemctl restart ntpd
If your card does not have remote access, you can set time/date manually using following
command.
#
timedatectl set-time
To set the hardware clock, syncing it with system clock:
#
hwclock -r
Mon Jan 3 15:59:43 2000 -0.781876 seconds
#
hwclock -w
#
hwclock -r
Thu Feb 11 15:37:19 2016 -0.735010 seconds
On SharpStreamer card, the time zone is set in
/etc/profile
. By default, the timezone is set
to MST. You can change the timezone, if required.
[root@pcie7207]#
grep TZ /etc/profile
export TZ=America/Phoenix
[root@pcie7207 artesyn]#
date
Thu Mar 10 14:35:13 MST 2016
[root@pcie7207 artesyn]#
vi /etc/profile
Modify the
/etc/profile
with required timezone. For example, set to America/Los_Angeles.
[root@pcie7207]#
grep TZ /etc/profile
export TZ=America/Los_Angeles
[root@pcie7207 artesyn]#
export TZ=America/Los_Angeles
[root@pcie7207 artesyn]#
date
Содержание SharpStreamer PCIE-7207
Страница 1: ...SharpStreamer PCIE 7207 Installation and Use P N 6806800T60F May 2016 ...
Страница 8: ...SharpStreamer PCIE 7207 Installation and Use 6806800T60F 8 List of Tables ...
Страница 10: ...SharpStreamer PCIE 7207 Installation and Use 6806800T60F 10 List of Figures ...
Страница 16: ...SharpStreamer PCIE 7207 Installation and Use 6806800T60F About this Manual 16 About this Manual ...
Страница 20: ...SharpStreamer PCIE 7207 Installation and Use 6806800T60F Safety Notes 20 ...
Страница 24: ...SharpStreamer PCIE 7207 Installation and Use 6806800T60F Sicherheitshinweise 24 ...
Страница 30: ...Introduction SharpStreamer PCIE 7207 Installation and Use 6806800T60F 30 ...
Страница 54: ...Controls Indicators and Connectors SharpStreamer PCIE 7207 Installation and Use 6806800T60F 54 ...
Страница 76: ...BIOS SharpStreamer PCIE 7207 Installation and Use 6806800T60F 76 ...
Страница 108: ...SSF Installation SharpStreamer PCIE 7207 Installation and Use 6806800T60F 108 ...
Страница 112: ...ViewCheck Installation SharpStreamer PCIE 7207 Installation and Use 6806800T60F 112 ...
Страница 116: ...Related Documentation SharpStreamer PCIE 7207 Installation and Use 6806800T60F 116 ...
Страница 117: ......