当我试图在我的AWS EC2 Linux实例中安装mongoDb:Ubuntu 12.04.1 LTS,
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
我得到这个以下错误,意味着没有找到deb命令。
$ deb Sorry,command-not-found has crashed! Please file a bug report
at: 07000 Please
include the following information with the report:command-not-found version: 0.2.44
有人可以帮助我找到如何在AWS实例中安装deb?
Deb不是命令。您需要编辑/etc/apt/sources.list文件并添加以下行
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
到文件的结尾。
然后,更新您的系统,然后安装MongoDB。假设mongodb是你需要的包,然后运行这些命令:
sudo apt-get update sudo apt-get install mongodb
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。