1
0
Fork 1

mongodb install

main
jebba 2021-12-22 13:32:10 -07:00
parent ddf29e8753
commit 848d439b64
1 changed files with 34 additions and 1 deletions

View File

@ -366,8 +366,36 @@ these dependencies:
### Install MongoDB
Install MongoDB thusly:
Install MongoDB thusly.
Note, they don't have a Debian Bullseye repo, but the Debian
Buster repo works.
```
# Get APT Key
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
# Add Repository
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
# Update Apt
sudo apt update
# Install MongoDB Server
sudo apt install mongodb-org
# Be clean
sudo apt clean
# Start mongodb server
sudo systemctl start mongod.service
# Enable mongodb server on boot
sudo systemctl enable mongod.service
# Logs are here:
sudo tail -f /var/log/mongodb/mongod.log
```
### Install Node
Install MongoDB thusly:
@ -395,12 +423,15 @@ vim ./src/main/resources/application.conf
csrf.origin = "https://deepcrayon.fish"
```
# Configure
Configure thusly...
# Use
Use thusly...
# Misc
Potentially include items such as:
@ -417,3 +448,5 @@ Potentially include items such as:
* Disable IPv6.
* Lila secrets & salts.
* Turn off unneeded services.