User Tools

Site Tools


vps_-_freebsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
vps_-_freebsd [2023/09/12 05:08] hc9vps_-_freebsd [2023/10/14 00:10] – [System Time] hc9
Line 76: Line 76:
  
   $ pkg install ca_root_nss           # Make sure certs are up to date.   $ pkg install ca_root_nss           # Make sure certs are up to date.
-  $ service ntpd fetch                # Update the leapseconds file. 
-  $ ntpd -gq                          # Force an update of the system time. 
   $ sysrc ntpd_enable="YES"           # Enable the ntpd service.   $ sysrc ntpd_enable="YES"           # Enable the ntpd service.
   $ sysrc ntpd_sync_on_start="YES"    # Set ntpd to sync during boot.   $ sysrc ntpd_sync_on_start="YES"    # Set ntpd to sync during boot.
 +  $ service ntpd fetch                # Update the leapseconds file.
 +  $ ntpd -gq                          # Force an update of the system time.
   $ service ntpd start                # Start the service.   $ service ntpd start                # Start the service.
  
 </file> </file>
 +
 +If ''ntpd'' fails to start with a warning about unknown users or groups run ''/usr/sbin/pwd_mkdb -p /etc/master.passwd'' and then retry the previous command.
  
 ===== System Update ===== ===== System Update =====
vps_-_freebsd.txt · Last modified: 2024/04/10 03:55 by hc9