run-mongodb.sh
#!/bin/bash mongod --dbpath /usr/local/mongodb/data1 --logpath /usr/local/mongodb/log1/mongodb.log chmod +x run-mongodb