rpi dev 1 - Setup a development server with a RPI 3 post
Summary
- install Raspbian Buster Lite:
dd if=2020-02-13-raspbian-buster-lite.img of=/dev/mmcblk0
- setup minimal configuration: from
raspi-config
, setlocale
,keyboard layout
,timezone
,wifi-country
- update it :
apt update && apt upgrade
- secure your RPI: create admin user, remove default pi user, setup ssh
- fix your RPI private @IP: in my case, I do this in the admin section of my router
- buy a domain name from a registrar
- edit your DNS zone from your registrar to add
A record
that will link your domain name and your router public @IP - edit your router DMZ section to redirect incoming traffic to your device, here the RPI. You can make use of NAT rules too and port redirections
- extend RPI File system
- install a GITHUB like app, gitea
- get SSL certificates from let's encrypt
- secure it with firewall rules
- setup smtp
- check logs