Synchronizing your computer time is important because some exchanges won't accept API calls if your clock is incorrect. Unfortunately there are a lot of different distros for Linux, so this guide will use provide a few different examples for how to synchronize your machine's time setting.
Ubuntu: Synchronize time with the settings UI
Step 1: Open the "Settings" app.
Step 2: Ensure that the "Automatic Date & Time" and "Automatic Time Zone" settings are enabled.
(Note: You can also manually set your time to the correct value, but we recommend enabling Network Time so it keeps itself in sync).
Linux Mint: Synchronize time with the settings UI
Step 1: Open the main desktop menu and search to find the "Date & Time" settings app.
Step 2: Click the "Unlock" button if the setting is locked and enter your password. Then make sure the "Network Time" checkbox is enabled.
(Note: You can also manually set your time to the correct value, but we recommend enabling Network Time so it keeps itself in sync).
Linux RHEL: Synchronize time with the command line
Below is a guide to sync your computer time on Linux (RHEL).
Step 1: Verify NTP is installed
You can do so by running ntpstat
# sudo ntpstat
If you get an error, you will need to install ntp
Step 2: Install NTP
# sudo yum install ntp
Step 3: Start NTP
# sudo systemctl start ntpd
Step 4: Enable NTP to run on boot
# sudo systemctl enable ntpd
Step 5: Sync your time with NTP
# sudo ntpdate -q 0.rhel.pool.ntp.org
Step 6: Restart NTP to apply changes
# sudo systemctl restart ntpd