Adding mongodb PATH in linux systems
When installing the MongoDB you can put the bin folder in the path so you can start it with mongod everywhere on the terminal. Here I put on the end of my ~/.bashrc file so everytime I open my terminal the mongod will work.
export PATH="/home/cassio/mongodb/mongodb-linux-x86_64-2.4.9/bin:$PATH"
Written by Cassio Cabral
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#