NodeBB Installation Tutorial Question



  • I'm following the official installation tutorial @: https://docs.nodebb.org/installing/os/ubuntu/

    I'm stuck at: "Enable database authorization in the MongoDB configuration file /etc/mongod.conf by uncommenting the line security and enabling authorization:"

    I COPIED THIS PERFECTLY:

    security:
    authorization: enabled

    I hit ENTER, and get this:

    root@bank:~# security:
    security:: command not found
    root@bank:~# authorization: enabled
    authorization:: command not found
    root@bank:~# security:
    security:: command not found
    root@bank:~# security:
    security:: command not found
    root@bank:~# authorization: enabled

    I tried it several times.

    I posted this question over at github

    And was told:

    "No, you have to edit the file /etc/mongod.conf."

    Well how exactly do I do that now?


  • Global Moderator

    If you don't know how to edit files from the command line you're gonna have a hard time.

    Anyways you can use nano to do it:

    sudo nano /etc/mongod.conf

 

| |