Mongdb sets up automatic startup at boot in linux environment

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.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326946455&siteId=291194637