Security improvements on the Raspberry Pi

From Sensors in Schools
Revision as of 06:33, 19 December 2021 by EdmondLascaris (talk | contribs)
Jump to navigation Jump to search

Overview

  • Running a Raspberry Pi computer on your home network can be done securely.
  • There are many ways to improve and maintain security.

Learning Objectives

  • Updating and Upgrading your Raspberry Pi
  • Changing the default password for user pi
  • Make directories and files in the Terminal
  • Install fail2ban
  • Install a firewall

Updating and Upgrading your Raspberry Pi

  • When you update your computer, not only do you get updates to the latest features, but you also get fixes to software bugs and security issues. You can do this process manually and you can also automate this procedure.
  • Open the Terminal on the Pi.
  • Enter the command sudo apt-get update

  • The update takes approximately 30 seconds to one minute.
  • This is the typical output.

Upgrading Raspberry Pi Software

  • Upgrading the Raspberry Pi updates all installed software to the most current version.
  • Do this by entering the command sudo apt-get full-upgrade