@sebastian-marinescu alternatively you could set defaultPlugins as an environment variable, then run ./nodebb setup [config json]. I'll re-add an actual option for passing in a set of default plugins.
Installing on Ubuntu with AWS EC2
-
Hello everyone,
I've followed the install tutorials that are on https://docs.nodebb.org/installing/os/ubuntu/, I stucked at the part Enable database authorization in the MongoDB configuration file /etc/mongod.conf by uncommenting the line security and enabling authorization. there is said Permission Denied. I am new on VPS. What should i do? others are no problem (not yet)
Thanks. -
What is being denied? When you try to read the file? Did you try
sudo nano /etc/mongod.conf
? -
@yariplus Thanks, i dont use sudo.
But when try mongo -u your_username -p your_password --authenticationDatabase=admin it says login failed. but I've changed with the username and password that I have. So when try to setup nodebb it says cant connect to database -
@pxnji You might find the database is not actually running.
try$ sudo service mongod start $ sudo service mongod status
Solve that first and the rest should go well.
-
I have the same problem
the manual says thisEnable database authorization in the MongoDB configuration file /etc/mongod.conf by appending the following lines:
security:
authorization: enabledWhat exactly is there to do here? the manual does not say
-
@arranka the manual says exactly what to do:
Enable database authorization in the MongoDB configuration file /etc/mongod.conf
Means "edit the file"
by appending the following lines
Means "add the following lines to the end of the file"
Did you do that?
-
I did not find the way, I'm using putty
-
@arranka if you don't know how to edit files from the command line, you're going to have a bad time. Luckily, it's easy to learn with a simple web search.
-
edit that file you do from putty or from ubuntu?
-
@arranka putty connects to ubuntu through ssh. If you edit the file through putty, you're editing from ubuntu.
-
Use vi or nano to edit the file. Nano is probably going to be easier for you.