diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-20 12:13:49 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-20 12:13:49 -0400 |
commit | b810d9a0b47dd49a90cc8ec7bf1b05f59ff945b3 (patch) | |
tree | d4e70797a7c1237a7e8a9be0d025e878d2601160 /posts/mongodb-arch.md | |
parent | f39a84524d77bcc2a83adfab01716c67cc7e983b (diff) |
Crude testing with blogrb
Diffstat (limited to 'posts/mongodb-arch.md')
-rw-r--r-- | posts/mongodb-arch.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/posts/mongodb-arch.md b/posts/mongodb-arch.md index f2d01f5..1b74463 100644 --- a/posts/mongodb-arch.md +++ b/posts/mongodb-arch.md @@ -12,16 +12,16 @@ So I thought I would share my process of setting up an older version of MongoDB You will need to target the specific version of MongoDB using the very awesome AUR packages: -```sh +~~~sh yay -S mongodb34-bin -``` +~~~ Follow the instructions and you'll be good to go. Don't forget to create the `/data/db` directory and give it proper permissions: -```sh +~~~sh mkdir -p /data/db/ chmod -R 777 /date/db -``` +~~~ ## What About My "Tools"? @@ -29,16 +29,16 @@ If you plan to use MongoDB, then you most likely want to utilize the core databa So, you'll have to build from source locally: -```sh +~~~sh git clone https://github.com/mongodb/mongo-tools cd mongodb-tools ./make build -``` +~~~ Then you'll need to copy the built executables into the proper directory in order to use them from the terminal: -```sh +~~~sh cp bin/* /usr/local/bin/ -``` +~~~ And that's it! Now you can run `mongod` directly or use `systemctl` to enable it by default. Hopefully this helps anyone else curious about running older (or even outdated!) versions of MongoDB. |