# wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.2.8.tgz
# tar xf mongodb-linux-x86_64-rhel62-3.2.8.tgz
# mv mongodb-linux-x86_64-rhel62-3.2.8/ /mongodb
把安装的MongoDB的bin目录加到PATH路径
#vi /etc/profile
export PATH=/mongodb/bin:$PATH
#source /etc/profile
创建默认数据库目录
# mkdir -p /data/db
启动MongoDB
# nohup mongod &
查看进程监听
# lsof -i:27017
# ps aux |grep mongod