1. Configure the relevant mongodb.conf to ensure that ./bin/mongod --config mongodb.conf can be executed
2. In vi /etc/profile, copy the instructions in 1 and restart the test.
1. Configure the relevant mongodb.conf to ensure that ./bin/mongod --config mongodb.conf can be executed
2. In vi /etc/profile, copy the instructions in 1 and restart the test.