main
Mel 3 years ago
parent aca6c98b9f
commit dcdc482146

@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Networks/Tools Server.md", "file": "Networks/Server Tools.md",
"mode": "preview" "mode": "preview"
} }
} }
@ -68,7 +68,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Networks/Tools Server.md", "file": "Networks/Server Tools.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -99,15 +99,15 @@
}, },
"active": "c1cbd199334b4022", "active": "c1cbd199334b4022",
"lastOpenFiles": [ "lastOpenFiles": [
"Networks/Server Tools.md",
"Networks/Configuring Caddy.md",
"Networks/VPS Console Dialogue.md",
"Networks/Tools Server.md", "Networks/Tools Server.md",
"Reading list/@Reading master.md",
"Internet snippets/Mating.md",
"Computer setup/Tutanota.md",
"Computer setup/Privacy & Security.md",
"Computer setup/Email & Communication.md",
"Networks/Cloud Server.md", "Networks/Cloud Server.md",
"Networks/Alias Server.md", "Networks/Alias Server.md",
"Computer setup/Element.md", "Networks/Postfix config.md",
"Computer setup/@Computer Set Up.md" "Networks/Monit config.md",
"Networks/Docker config.md",
"Networks/Caddy config.md"
] ]
} }

@ -66,7 +66,7 @@ Email account | Email provider | Email client
#### Email aliasing #### Email aliasing
In order to protect email addresses, i have an [[Alias Server|alias manager]], [SimpleLogin](https://simplelogin.io), for managing certain subscriptions. In order to protect email addresses, i have an [[Server Alias|alias manager]], [SimpleLogin](https://simplelogin.io), for managing certain subscriptions.
Below is an oerview of existing aliases: Below is an oerview of existing aliases:

@ -12,7 +12,7 @@ Product:
--- ---
Parent:: [[Storage and Syncing]], [[Cloud Server]] Parent:: [[Storage and Syncing]], [[Server Cloud]]
--- ---

@ -72,7 +72,7 @@ Securing [[Email & Communication|emails]] take two main forms:
2. Dedicated services embedding encryption and privacy policies such as [[Tutanota]] 2. Dedicated services embedding encryption and privacy policies such as [[Tutanota]]
In addition, to protect mailboxes online, a email alias provider can be used. [SimpleLogin](https://simplelogin.io), a French tech, allows this easily and gives the option to [[Alias Server|self host]]. In addition, to protect mailboxes online, a email alias provider can be used. [SimpleLogin](https://simplelogin.io), a French tech, allows this easily and gives the option to [[Server Alias|self host]].
   

@ -61,7 +61,7 @@ All tasks and To-dos linked to IT and Computer
- [x] Continue building server capabilities ✅ 2021-09-15 - [x] Continue building server capabilities ✅ 2021-09-15
- [ ] Find a good (&synced) [[IT & Computer#App dependencies|Calendar]] platform - [ ] Find a good (&synced) [[IT & Computer#App dependencies|Calendar]] platform
- [x] Set-up [[Nextcloud]] - [x] Set-up [[Nextcloud]]
- [x] Transfer [[Alias Server|aliases]] - [x] Transfer [[Server Alias|aliases]]
- [x] Computer security: set-up [[IT & Computer#Snort|Snort]] ✅ 2021-09-15 - [x] Computer security: set-up [[IT & Computer#Snort|Snort]] ✅ 2021-09-15
- [x] Find a good downloading platform to replace [[IT & Computer#App dependencies|Vuze]] - [x] Find a good downloading platform to replace [[IT & Computer#App dependencies|Vuze]]
- [x] Find an email Client to replace [[IT & Computer#App dependencies|Spark]] ✅ 2021-09-14 - [x] Find an email Client to replace [[IT & Computer#App dependencies|Spark]] ✅ 2021-09-14

@ -78,16 +78,16 @@ style: number
1. [[Domains]] 1. [[Domains]]
2. [[mfxm Website Scope]] 2. [[mfxm Website Scope]]
2. [[Selfhosting|Self-hosting]] 2. [[Selfhosting|Self-hosting]]
1. [[Alias Server]] 1. [[Server Alias]]
2. [[Cloud Server]] 2. [[Server Cloud]]
3. [[Tools Server]] 3. [[Server Tools]]
3. [[mfxm Website Scope#URL Shortening|URL Shortening]] 3. [[mfxm Website Scope#URL Shortening|URL Shortening]]
3. Tools 3. Tools
1. [[VPS Console Dialogue]] 1. [[VPS Console Dialogue]]
2. [[Postfix config|Postfix]] 2. [[Configuring Postfix|Postfix]]
3. [[Monit config|monit]] 3. [[Configuring Monit|monit]]
4. [[Docker config|docker]] 4. [[Configuring Docker|docker]]
5. [[Caddy config|caddy]] 5. [[Configuring Caddy|caddy]]
   
@ -165,9 +165,9 @@ hide task count
![[Domains#^DomainCost]] ![[Domains#^DomainCost]]
![[mfxm Website Scope#^mfxmWSCost]] ![[mfxm Website Scope#^mfxmWSCost]]
![[Alias Server#^AliasServerCost]] ![[Server Alias#^AliasServerCost]]
![[Cloud Server#^CloudServerCost]] ![[Server Cloud#^CloudServerCost]]
![[Tools Server#^ToolsServerCost]] ![[Server Tools#^ToolsServerCost]]
|<mark class="blue">_**Aggregation**_</mark> | One-off Cost | Subscription p.a. |<mark class="blue">_**Aggregation**_</mark> | One-off Cost | Subscription p.a.

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
--- ---
Parent:: [[Selfhosting]], [[Tools Server]] Parent:: [[Selfhosting]], [[Server Tools]]
--- ---
@ -110,6 +110,10 @@ Caddy will fetch a **SSL certificate** for all sub-domains and addresses present
&emsp; &emsp;
---
&emsp;
#### Caddy configuration file #### Caddy configuration file
Caddy's configuration file is inder: Caddy's configuration file is inder:
@ -129,6 +133,10 @@ Default configuration is:
&emsp; &emsp;
---
&emsp;
#### PHP configuration file #### PHP configuration file
To update php, edit the following file: To update php, edit the following file:
@ -148,6 +156,50 @@ Once this is done, restart php:
&emsp; &emsp;
---
&emsp;
#### Configuring CORS
&emsp;
##### Preliminary CORS code snippet
>(cors) {
> @origin{args.0} header Origin {args.0}
> header @origin{args.0} Access-Control-Allow-Origin "{args.0}"
>}
&emsp;
##### CORS for a sub-domain
> import cors (http://subdomain.tld)
> header Access-Control-Allow-Methods "POST, GET, OPTIONS, PUT"
> header Access-Control-Allow-Headers "*"
&emsp;
---
&emsp;
#### Configuration of a sub-domain suffix
Configuration requires to add the following in the sub-domain definition:
> handle_path /(suffix)\* {
> root * /(path to suffix)
> file_server
> }
&emsp;
---
&emsp;
#### Configuration with the docker network #### Configuration with the docker network
Configuration of a service attached to the docker network is easy: Configuration of a service attached to the docker network is easy:
@ -159,6 +211,10 @@ Configuration of a service attached to the docker network is easy:
&emsp; &emsp;
---
&emsp;
#### Configuring login with a cookie #### Configuring login with a cookie
```ad-info ```ad-info

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
--- ---
Parent:: [[Selfhosting]], [[Alias Server]], [[Tools Server]] Parent:: [[Selfhosting]], [[Server Alias]], [[Server Tools]]
--- ---

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
--- ---
Parent:: [[Selfhosting]], [[Cloud Server]], [[Alias Server]], [[Tools Server]] Parent:: [[Selfhosting]], [[Server Cloud]], [[Server Alias]], [[Server Tools]]
--- ---

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
--- ---
Parent:: [[Selfhosting]], [[Alias Server]], [[Cloud Server]], [[Tools Server]] Parent:: [[Selfhosting]], [[Server Alias]], [[Server Cloud]], [[Server Tools]]
&emsp; &emsp;
@ -241,7 +241,7 @@ Ports (25, 465, 587) need to be opened by the firewall:
##### Networks ##### Networks
Definition of permitted networks to restrict access (in [[Postfix config#Main cf|main.cf]]). Definition of permitted networks to restrict access (in [[Configuring Postfix#Main cf|main.cf]]).
&emsp; &emsp;
@ -258,7 +258,7 @@ Options are coded in the file by default. Uncheck necessary directives.
##### SSL cert ##### SSL cert
Postfix SSL certs need to match that of the server (in [[Postfix config#Main cf|main.cf]]). Postfix SSL certs need to match that of the server (in [[Configuring Postfix#Main cf|main.cf]]).
&emsp; &emsp;

@ -57,7 +57,7 @@ style: number
|---------------|----------|------------ |---------------|----------|------------
| **[[@lebv.org\|lebv.org]]** | Email & family archive | family email service; family archive website | **[[@lebv.org\|lebv.org]]** | Email & family archive | family email service; family archive website
| <p style="color:cyan">**lebastart.fr**</p> | Email | Secure email service ([[Tutanota]]) | <p style="color:cyan">**lebastart.fr**</p> | Email | Secure email service ([[Tutanota]])
| **[[mfxm Website Scope\|mfxm.fr]]** | [[Selfhosting\|Self-hosting]] Tools | [[NextCloud]], [[Alias Server\|Email Alias]], [[mfxm Website Scope#URL Shortening\|URL Shortening]] | **[[mfxm Website Scope\|mfxm.fr]]** | [[Selfhosting\|Self-hosting]] Tools | [[NextCloud]], [[Server Alias\|Email Alias]], [[mfxm Website Scope#URL Shortening\|URL Shortening]]
&emsp; &emsp;

@ -164,7 +164,7 @@ title: Documentation
[Nagios](https://nagios.org) [Nagios](https://nagios.org)
``` ```
Monitoring is implemented through a free and open-source tool called [[Monit config|monit]]. Monitoring is implemented through a free and open-source tool called [[Configuring Monit|monit]].
&emsp; &emsp;

@ -134,7 +134,7 @@ Potentially, the Docker group needs to be defined:
`sudo groupadd docker` `sudo groupadd docker`
``` ```
Currently running [[Docker config|docker]] containers Currently running [[Configuring Docker|docker]] containers
```ad-bug ```ad-bug
title: sl-network title: sl-network
@ -172,13 +172,13 @@ All documentation in this [link](https://certbot.eff.org).
##### Postfix ##### Postfix
Mail Transfer Agent. [[Postfix config|Configuration]] is tailor-made by SimpleLogin to fit their needs. Mail Transfer Agent. [[Configuring Postfix|Configuration]] is tailor-made by SimpleLogin to fit their needs.
&emsp; &emsp;
#### Server-side Monitoring #### Server-side Monitoring
Refer to the [[Monit config|monit section]] for further information on installation and configuration. Refer to the [[Configuring Monit|monit section]] for further information on installation and configuration.
List of monitored services: List of monitored services:
- System - System
@ -263,8 +263,8 @@ Once the change is made, restart the app container:
&emsp; &emsp;
- [ ] [[Alias Server]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15 - [ ] [[Server Alias]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15
- [x] [[Alias Server]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14 - [x] [[Server Alias]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14
- [x] Understand why Gmail does not work - [x] Understand why Gmail does not work
&emsp; &emsp;

@ -180,7 +180,7 @@ In order to restart mysql, the command is:
##### Postfix ##### Postfix
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Postfix config|system]] is required for every server to work correctly. Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Configuring Postfix|system]] is required for every server to work correctly.
&emsp; &emsp;
@ -223,7 +223,7 @@ Firewall management.
#### Server-side monitoring #### Server-side monitoring
[Monit](https://mmonit.com/monit/documentation/monit.html) is a process and daemon monitoring tool. More information on operating the software can be found [[Monit config|here]]. [Monit](https://mmonit.com/monit/documentation/monit.html) is a process and daemon monitoring tool. More information on operating the software can be found [[Configuring Monit|here]].
List of monitored services: List of monitored services:
- System - System
@ -376,8 +376,8 @@ title: Nextcloud tutorial
&emsp; &emsp;
- [ ] [[Cloud Server]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15 - [ ] [[Server Cloud]]: Backup server 🔁 every 6 months on the 1st Tuesday 📅 2021-09-15
- [x] [[Cloud Server]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14 - [x] [[Server Cloud]]: Backup server 🔁 every 6 months on the 1st Tuesday ✅ 2021-09-14
- [x] Set-up landing page - [x] Set-up landing page
&emsp; &emsp;

@ -130,7 +130,7 @@ IP: 17.27.37.x
##### Caddy ##### Caddy
[[Caddy config|caddy]] is the webserver of choice. Refer to the dedicated note for config and parametrisation. [[Configuring Caddy|caddy]] is the webserver of choice. Refer to the dedicated note for config and parametrisation.
```ad-bug ```ad-bug
title: authentication token title: authentication token
@ -167,7 +167,7 @@ With the following parameters:
##### Postfix ##### Postfix
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Postfix config|system]] is required for every server to work correctly. Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Configuring Postfix|system]] is required for every server to work correctly.
&emsp; &emsp;
@ -198,7 +198,7 @@ JavaScript & JS package manager.
| Service | Used value | Service | Used value
|---------|:---------: |---------|:---------:
&emsp; | &emsp; &emsp; | &emsp;
**Network: [[Docker config\|docker]] dedicated** | 17.27.37.x **Network: [[Configuring Docker\|docker]] dedicated** | 17.27.37.x
**IP: pw-manager** | 17.27.37.3 **IP: pw-manager** | 17.27.37.3
**IP: Mininote** | 17.27.37.7 **IP: Mininote** | 17.27.37.7
**IP: Git** | 172.21.0.3 **IP: Git** | 172.21.0.3
@ -252,7 +252,7 @@ The admin panel needs to be set up with an authentication token and is accessed
#### Personal notes #### Personal notes
[MiniNote](https://github.com/muety/mininote) is a FOSS enabling self-hosting with a server-side encryption. [StandardNotes](https://standardnotes.com) is a program enabling self-hosting with a server-side encryption.
&emsp; &emsp;
@ -260,18 +260,54 @@ The admin panel needs to be set up with an authentication token and is accessed
```ad-info ```ad-info
title: service parameters title: service parameters
**IP**: 17.27.37.7:3000 **IP**: 172.22.0.1:2700
**DockerID**: 73d91d338b533c05a4ad15968efb0470e924f780d016fab13c98f8f1dc3820af **DockerNames**: api-gateway, auth-worker, syncing-server-js-worker, auth, syncing-server-js, db, cache
**DockerName**: mininote_mininote_1
--- ---
**Address**: https://notes.mfxm.fr **Address**: https://st-notes.mfxm.fr
``` ```
&emsp; &emsp;
##### Configuration (notes)
2 files are used to configure the service:
`~/standalone/.env`
`~/standalone/docker/auth/.env`
Docs can be found [here](https://docs.standardnotes.com/self-hosting/docker).
&emsp;
##### User management (notes) ##### User management (notes)
No user management per se. [[Caddy config|Caddy]] provides with a layer of authentication to restrict users to access the full service. No user management per se. .env file allows (or not) to restrict new registration.
&emsp;
##### StandardNotes extensions
```ad-info
title: service parameters
**Location**: ~/standardnotes-extensions
**reverse-proxy**: ~/standardnotes-extensions/public
---
**Address**: https://tools.mfxm.fr/extensions/index.json
```
&emsp;
StandardNotes has developped extensions to customise both the skin and editor of the app. It is a paying feature normally but can be self-hosted and free.
One GitHub user is offering a [repo](https://github.com/iganeshk/standardnotes-extensions) for extensions that can be cloned and linked to the application.
* **Configuration file**
`~/standardnotes-extensions/.env`
* **Repository update**
`sudo python3 build_repo.py` In the main folder.
&emsp; &emsp;
@ -348,7 +384,7 @@ Gitea can work on internal mail points through:
#### Server-side Monitoring #### Server-side Monitoring
Refer to the [[Monit config|monit section]] for further information on installation and configuration. Refer to the [[Configuring Monit|monit section]] for further information on installation and configuration.
List of monitored services: List of monitored services:
- System - System
@ -401,7 +437,7 @@ List of monitored services:
&emsp; &emsp;
- [ ] [[Tools Server]]: Backup server 🔁 every 6 months on the 1st Tuesday - [ ] [[Server Tools]]: Backup server 🔁 every 6 months on the 1st Tuesday
- [x] Set-up landing page - [x] Set-up landing page
&emsp; &emsp;

@ -11,7 +11,7 @@ CollapseMetaTable: Yes
--- ---
Parent:: [[Selfhosting]], [[Alias Server]], [[Cloud Server]], [[Tools Server]] Parent:: [[Selfhosting]], [[Server Alias]], [[Server Cloud]], [[Server Tools]]
&emsp; &emsp;
@ -389,7 +389,7 @@ title: Change sub-folder permission in a folder
#### File transfer #### File transfer
Instructions to use rclone for file transfers can be found [[Cloud Server#Cloud2Cloud|here]]. Instructions to use rclone for file transfers can be found [[Server Cloud#Cloud2Cloud|here]].
&emsp; &emsp;

@ -86,7 +86,7 @@ title: sub-domain address
https://emailalias.mfxm.fr https://emailalias.mfxm.fr
``` ```
Server details to be found [[Alias Server|here]] Server details to be found [[Server Alias|here]]
&emsp; &emsp;
@ -116,7 +116,7 @@ title: sub-domain address
https://cloud.mfxm.fr https://cloud.mfxm.fr
``` ```
Server details to be found [[Cloud Server|here]] Server details to be found [[Server Cloud|here]]
&emsp; &emsp;
@ -154,7 +154,7 @@ title: sub-domain address
https://pw-manager.mfxm.fr https://pw-manager.mfxm.fr
``` ```
Server details to be found [[Tools Server#Password manager|here]] Server details to be found [[Server Tools#Password manager|here]]
&emsp; &emsp;
@ -168,10 +168,14 @@ Server details to be found [[Tools Server#Password manager|here]]
```ad-bug ```ad-bug
title: sub-domain address title: sub-domain address
https://notes.mfxm.fr https://st-notes.mfxm.fr
---
Extensions
https://tools.mfxm.fr/extensions/index.json
``` ```
Server details to be found [[Tools Server#Personal notes|here]] Server details to be found [[Server Tools#Personal notes|here]]
&emsp; &emsp;
@ -188,7 +192,7 @@ title: sub-domain address
https://git.mfxm.fr https://git.mfxm.fr
``` ```
Server details to be found [[Tools Server#Git repository|here]] Server details to be found [[Server Tools#Git repository|here]]
```ad-info ```ad-info
title: link to repo title: link to repo

Loading…
Cancel
Save