Created
February 25, 2015 17:48
-
-
Save deepakaryan1988/6af292729a9efc2cc365 to your computer and use it in GitHub Desktop.
Mongo Setup 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
| For mongo extension | |
| 1.pecl install mongo | |
| 3.apt-get install php5-dev php5-cli php-pear | |
| 3.vim /etc/php5/apache2/php.ini | |
| extension=mongo.so | |
| For mongodb installation | |
| 1.apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
| 2.echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'|sudo tee /etc/apt/source.list.d/mongodb.list | |
| 3. apt-get update | |
| 4.apt-get install -y mongodb-org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment