Created
July 4, 2013 14:32
-
-
Save ckng/5928286 to your computer and use it in GitHub Desktop.
Install mongodb under Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
$ echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list | |
$ sudo apt-get update | |
$ sudo apt-get install mongodb-10gen | |
$ sudo pecl install mongo | |
$ echo 'extension=mongo.so' | sudo tee /etc/php5/conf.d/mongo.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment