Installing on Ubuntu with AWS EC2
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)
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.
$ sudo service mongod start $ sudo service mongod status
Solve that first and the rest should go well.