1、创建软连接 ln -s mongodb-linux-x86_64-3.0.6 mongod //前面的为源目录,后面的为目标目录 效果如下: mongod -> mongodb-linux-x86_64-3.0.6/