mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
docs update
This commit is contained in:
@@ -73,14 +73,13 @@ To add a user to access the `nodebb` database, type:
|
|||||||
|
|
||||||
Step 7: Configure MongoDB
|
Step 7: Configure MongoDB
|
||||||
-------------------------
|
-------------------------
|
||||||
|
Modify ``/etc/mongodb.conf``.
|
||||||
MongoDB needs text search enabled. Modify ``/etc/mongodb.conf``.
|
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
# nano /etc/mongodb.conf
|
# nano /etc/mongodb.conf
|
||||||
|
|
||||||
Add ``setParameter=textSearchEnabled=true`` to the end. Also, to enable authentication, uncomment ``auth = true``. Restart MongoDB.
|
To enable authentication, uncomment ``auth = true``. Restart MongoDB.
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user