_winds 发表于 2018-10-25 11:36:05

单片mongoDB

  MongoDB:
  https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/#install-mongodb-community-edition
  一、下载安装
  # curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.2.9.tgz
  或
  # wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.2.9.tgz
  # tar -xf mongodb-linux-x86_64-rhel62-3.2.9.tgz -C /opt/
  # ln -s /opt/mongodb-linux-x86_64-rhel62-3.2.9/ /opt/mongodb
  # cat >>/etc/profile /etc/rc.d/rc.local/sys/kernel/mm/transparent_hugepage/defrag
  # HERE
  七,重启服务访问;
  # service mongod restart
  http://IP:28017/

页: [1]
查看完整版本: 单片mongoDB