![]() ![]() ![]() I’m too lazy to type command over and over again so I did shell script for easier setup, you’ll need 2 shell script here.ĭownload shell rs.sh script from gist. I usually test on OSX first to prove it running before try it on Ubuntu server anyway shell script below should be fine on Ubuntu (I hope so) $ brew install mongodb Prepare setup script MongoDB desktop client that enables the user to connect to multiple databases in. And the thing is they tend to use domain name approach which will need to set proxy and/or host configuration! Meh!Īll I need is get 2 replica set working which IP only on my OSX and I’ll mess with domain name/proxy/Docker/Droplet later. ![]() Meh!Įven MongoDB document didn’t provide working copy&paste replication example for newbies. Rename to mongodb directory sudo mv mongodb-macos-x8664-4.2. To better understand about how to config MongoDB for large-scale, I’ll use configuration-file which is YAML just like Docker Compose file.Īnd that’s become another problem, Nearly all examples I can find still use command line instead of config file for some reason. Let’s start learning about how to install MongoDB on Windows machines. MongoDB Installation on the Windows Platform. Seem like I’ve 2 options here, via command-line or configuration file. MongoDB Installation Tutorial Windows Linux Mac OSX from Coding compiler.Here you will learn how to install MongoDB on Windows, Linux and Mac OSX machines. This task should be simple but actually I took a night to figure this out because other tutorials out there was outdated (maybe) due to MongoDB 3 configuration format was changed somehow. This is the first tutorial in MongoDB series and we will learn how to install MongoDB on Mac OS X. I want to say hello world to replication which I never do before. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |