User Tools

Site Tools


vps_-_freebsd

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
vps_-_freebsd [2023/09/12 04:51] – created hc9vps_-_freebsd [2024/04/09 23:22] – [System Update] E_N 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 =====
  
-The initial FreeBSD image is version 12.1 which is reaching EOL. To upgrade to a newer version run:+The initial FreeBSD image is version 14.0. To upgrade to a newer version run:
  
 <code> <code>
  
-  $ freebsd-update -r 13.2-RELEASE upgrade+  $ freebsd-update -r RELEASE_NAME upgrade
  
   # This process will take a while, be patient. Answer "yes" to any prompts.   # This process will take a while, be patient. Answer "yes" to any prompts.
Line 151: Line 153:
 ==== SSH Public Key Authentication ==== ==== SSH Public Key Authentication ====
  
-Follow [[:using_ssh_for_connections_transfer_to_from_sdf|these instructions]] to create and add a public SSH key((The basic concepts of [[:ssh_public_key_authentication|SSH Public Key Authentication]].)) to your FreeBSD install. Once done and confirmed working you may disable password based SSH-login by setting ''UsePasswordAuthentication no'' in ''/etc/ssh/sshd_config''.+Follow [[using_ssh_for_connections_transfer_to_from_sdf|these instructions]] to create and add a public SSH key((The basic concepts of [[ssh_public_key_authentication|SSH Public Key Authentication]].)) to your FreeBSD install. Once done and confirmed working you may disable password based SSH-login by setting ''UsePasswordAuthentication no'' in ''/etc/ssh/sshd_config''.
  
 ---- ----
vps_-_freebsd.txt · Last modified: 2024/04/10 03:55 by hc9