Virtual TapeServer 8.0 Quick Start Guide

Virtual TapeServer Quick Start Guide | 19
To set the system clock
A. Set the timezone as follows:
1. Enter this command to launch the system-config-date tool:
system-config-date
The Timezone Selection screen is displayed:
2. Use the arrow keys on your keyboard to select the current timezone.
3. To configure the clock to use UTC, press the Tab key and then press the space bar to
select the System clock uses UTC option. An asterisk (*) is displayed in the brackets
when this option is selected.
4. Press the Tab key to select OK and then press Enter.
B. Set the time using this command:
date MMDDhhmm
where MM is the month, DD is the day, hh is the hour (the 24-hour format), and mm is the
minute.
C. To set the hardware clock, enter this command:
hwclock --systohc
D. Configure the Network Time Protocol (NTP) by editing the /etc/ntp.conf file, as follows:
1. Remove this line:
restrict -6 default kod nomodify notrap nopeer noquery
2. Add the servers with which to synchronize:
restrict 0.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 1.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
restrict 2.centos.pool.ntp.org mask 255.255.255.255 nomodify notrap noquery
3. Save and close the file.
E. Enable the NTP service:
chkconfig ntpd on