From 7c28e70eb4194ade241ff25a38bb788ef4af7fb0 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Wed, 4 Dec 2024 15:42:21 +0100 Subject: [PATCH] new structure checks and fixes - markdown formatting - turn soft-serve.md into soft-serve/README.md --- kralizec/dmzrs/README.md | 34 +++++++++++++------ splintrs/{smtpd.md => smtpd/README.md} | 0 smtpd => splintrs/smtpd/smtp.mk | 2 ++ .../{soft-serve.md => soft-serve/README.md} | 0 4 files changed, 26 insertions(+), 10 deletions(-) rename splintrs/{smtpd.md => smtpd/README.md} (100%) rename smtpd => splintrs/smtpd/smtp.mk (78%) rename splintrs/{soft-serve.md => soft-serve/README.md} (100%) diff --git a/kralizec/dmzrs/README.md b/kralizec/dmzrs/README.md index d2943af..605e255 100644 --- a/kralizec/dmzrs/README.md +++ b/kralizec/dmzrs/README.md @@ -1,26 +1,40 @@ -Add this configuration to ~/.ssh/config file +Add this configuration to `~/.ssh/config` file +``` Host dmzkrovdmzrs12 Hostname veyxphzuqnooc7wb7utfza3joaoopgqgwp6l6d4en5yfmyr7kxvminqd.onion User root IdentityFile ~/.ssh/id_rsa PasswordAuthentication no -Now you can log in by typing: -torsocks ssh dmzkrovdmzrs12 +``` -Install all needed packages +Now you can log in by typing: + + +```bash +torsocks ssh dmzkrovdmzrs12 +``` + +Install all needed packages: + + +```bash apt install rsync git nginx git clone https://gitea.dmz.rs/Decentrala/website +``` -Run updatewebsite.sh script every minute using crontab (run "crontab -e") -This fill automaticlly pull from git repo and regenerate events page +Run `updatewebsite.sh` script every minute using `crontab` (run "`crontab -e`") +This fill automatically pull from git repo and regenerate events page -Add nginx-dmz.rs.conf to /etc/nginx/sites-available/dmz.rs and create a symlink -from /etc/nginx/sites-enabled/dmz.rs to that file +Add `nginx-dmz.rs.conf` to `/etc/nginx/sites-available/dmz.rs` and create a symlink +from `/etc/nginx/sites-enabled/dmz.rs` to that file. You can do this by running: + +```bash ln -s /etc/nginx/sites-available/dmz.rs /etc/nginx/sites-enabled/dmz.rs +``` -Increase server_names_hash_bucket_size to 256 in /etc/nginx/nginx.conf in order to support onion addresses. +Increase `server_names_hash_bucket_size` to 256 in `/etc/nginx/nginx.conf` in order to support onion addresses. -In the nginx configuration /account/ is redirected to luser (https://gitea.dmz.rs/fram3d/luser) instance running at 192.168.1.211 +In the `nginx` configuration /account/ is redirected to the `luser` [instance](https://gitea.dmz.rs/fram3d/luser) running at `192.168.1.211`. diff --git a/splintrs/smtpd.md b/splintrs/smtpd/README.md similarity index 100% rename from splintrs/smtpd.md rename to splintrs/smtpd/README.md diff --git a/smtpd b/splintrs/smtpd/smtp.mk similarity index 78% rename from smtpd rename to splintrs/smtpd/smtp.mk index a3cfece..083b28d 100644 --- a/smtpd +++ b/splintrs/smtpd/smtp.mk @@ -1,6 +1,8 @@ # This make file produces the smtp daemon for the current backup domain: splint.rs # It is missing the cert, so you'll have to make another. +# It hasn't been tested in a few years, and I have no idea how to make a +# containerized test which will check DNS, and SSL certificates. DOMAIN=splint.rs diff --git a/splintrs/soft-serve.md b/splintrs/soft-serve/README.md similarity index 100% rename from splintrs/soft-serve.md rename to splintrs/soft-serve/README.md