From 0f2575a2d0a01aa6a4052249c0bfb796163f466f Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Thu, 24 Apr 2025 01:45:55 +0000 Subject: [PATCH] Update Setting up a fresh install of Canopy over Debian 12 Bookworm --- install-debian.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install-debian.md b/install-debian.md index 658d276..c521660 100644 --- a/install-debian.md +++ b/install-debian.md @@ -15,6 +15,7 @@ title: Setting up a fresh install of Canopy over Debian 12 Bookworm + ## Step-by-step procedure for Setting up a fresh install of Canopy over Debian 12 Bookworm: Before installing make sure you have already prepped your [database](mongodb-debian). ## Installation @@ -25,7 +26,7 @@ Before installing make sure you have already prepped your [database](mongodb-deb 5. Fill out the newly copied config with a text editor, don't forget to set your DB password or make up a sessionSecret! ## Canopy as a System Service Setup -1. Create a user named 'canopy' and move the production canopy folder to it's home dir +1. Create a user named 'canopy' and move the production canopy folder to it's home dir, making sure to give it ownership and exclusive permissions 2. Create a new file at `/etc/systemd/system/canopy.service`, and add: ``` [Unit] @@ -43,10 +44,10 @@ WantedBy=multi-user.target ``` 3. Run `sudo systemctl start canopy` to run canopy in the background as a system service -## Reverse-Proxy Setup -###This will be documented once we start public testing, for now development boxes don't need this. +## SSL Setup -###At some point we will document using ngnix as a reverse proxy for canopy. +## Reverse-Proxy Setup +1. Install NGINX `sudo apt install nginx` ## Server-Hardening ###This will be documented once we start public testing, for now development boxes don't need this.