摘要: fit_mongo.sh和fit_mongo.sh在同一级目录下: MongoDB添加用户: 1、设置权限:mongodb.conf中添加 auth =true 2、启动mongoDB: cd mongo/mongodb-linux-x86_64-rhel62-4.2.3/bin/./mongod 阅读全文
posted @ 2020-08-11 20:00 忧伤还是快乐EL 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: public class DbManager { private static volatile DbManager instance; private static final Logger logger = LoggerFactory.getLogger(DbManager.class); pr 阅读全文
posted @ 2020-08-11 19:55 忧伤还是快乐EL 阅读(2189) 评论(0) 推荐(0) 编辑