diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-14 12:26:35 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-14 12:26:35 -0400 |
commit | e8876fb866c3d89c432dcd04634e9bd2ced18022 (patch) | |
tree | 2c9a51310bd9bd8041e5d7bbb85bbfd010e2b514 /posts/mongodb-arch.md | |
parent | c803e304d959f4926a55068d2b11f64bf4c95607 (diff) |
Switch things back to smu instead of lowdown
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 1b74463..f2d01f5 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. |