This guide will configure a simple secured linux server. In this example, I will configure a raspberry pi.
This section is for preparing an SD card with Raspbian from a Mac. Start by opening a terminal. Start by downloading the latest version of raspbian:
curl -O -J -L https://downloads.raspberrypi.org/raspbian_lite_latest