1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-22 18:22:31 +01:00

Fixed list!

This commit is contained in:
Stylix58 2021-08-10 10:56:14 +02:00 committed by GitHub
parent d74c1a8348
commit 5440405dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,20 +22,20 @@ chmod +x setup.sh
1. Edit the file 1. Edit the file
(linux: `/etc/mongod.conf`, macos: ``/usr/local/etc/mongod.conf``, windows: ``<install directory>\bin\mongod.cfg``) and add this to the end: (linux: `/etc/mongod.conf`, macos: ``/usr/local/etc/mongod.conf``, windows: ``<install directory>\bin\mongod.cfg``) and add this to the end:
replication: replication:
replSetName: "rs0" replSetName: "rs0"
2. Restart MongoDB 2. Restart MongoDB
systemctl reload mongod systemctl reload mongod
3. Connect to mongodb 3. Connect to mongodb
mongo mongo
4. Setup replica set: 4. Setup replica set:
rs.initiate() rs.initiate()
#### MongoDB Atlas/Cloud server #### MongoDB Atlas/Cloud server