Security improvements on the Raspberry Pi: Difference between revisions

From Sensors in Schools
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
* Open the '''Terminal''' on the Pi.
* Open the '''Terminal''' on the Pi.
* Enter the command '''sudo apt-get update'''
* Enter the command '''sudo apt-get update'''
[[File:Screen Shot 2021-12-19 at 5.28.58 pm.png]]
* The update takes approximately 30 seconds to one minute.
* This is the typical output.
[[File:Screen Shot 2021-12-19 at 5.30.24 pm.png]]
== 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'''
[[File:Screen Shot 2021-12-19 at 5.33.19 pm.png]]

Revision as of 06:33, 19 December 2021

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