我按照mongodb提供的说明 。
但似乎包mongodb – 10gen是不存在的。
vagrant@m1:~$ sudo apt-get install -y mongodb-10gen Reading package lists... Done Building dependency tree Reading state information... Done Package mongodb-10gen is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'mongodb-10gen' has no installation candidate
我如何安装官方提供的mongodb?
您错过了全部或部分“configuration包pipe理”步骤的说明。 您需要按照这些步骤将官方的Mongo apt版本库添加到您的系统中,然后更新您的本地软件包列表。 这样做后,你应该能够安装。