Skip to content

Commit 132bdf5

Browse files
committed
Fixing a few more typos
1 parent f3f0270 commit 132bdf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/tutorial/deploy-replica-set.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Issue the following commands, each in a distinct screen window: ::
6060

6161
mongod --port 27017 --dbpath /srv/mongodb/rs0-0 --replSet rs0
6262
mongod --port 27018 --dbpath /srv/mongodb/rs0-1 --replSet rs0
63-
mongod --port 27019 --dbpath /srv/mongodb/rs2-2 --replSet rs0
63+
mongod --port 27019 --dbpath /srv/mongodb/rs0-2 --replSet rs0
6464

6565
These command start members of a replica set named ``rs0``, each
6666
running on a distinct port. Alternatively, if you are already using these
@@ -220,8 +220,8 @@ replica set.
220220

221221
.. code-block:: javascript
222222

223-
rs.add("localhost:27018")
224-
rs.add("localhost:27019")
223+
rs.add("mongodb1.example.net")
224+
rs.add("mongodb2.example.net")
225225

226226
Congratulations, after these commands return you will have a fully
227227
functional replica set. You may have to wait several moments for the

0 commit comments

Comments
 (0)