mongodb

下载对应tgz格式压缩包

在压缩包所在目录下 tar -zxvf 按下tab键

    export PATH=/home/sharkchilli/SharkChilli/MongoDB/mongodb/bin:$PATH
    mongod

    mongod --dbpath=/home/sharkchilli/SharkChilli/MongoDB/data/db --logpath=/home/sharkchilli/SharkChilli/MongoDB/logs/mongod.log

系统环境:Ubuntu 16.04 LTS.

  安装robomongo Robo 3T,运行时报以下错误:

复制代码
jaxu@jaxu-ubuntu:/usr/local/share/robo3t-1.1.1-linux-x86_64-c93c6b0/bin$ ./robo3t
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.
已放弃 (核心已转储)
复制代码

  可以尝试按照以下方法解决:

mkdir ~/robo-backup
mv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/
robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t
原文地址:https://www.cnblogs.com/SharkChilli/p/8118987.html