Carsten Brandt
11 years ago
2 changed files with 13 additions and 4 deletions
@ -0,0 +1,11 @@ |
|||||||
|
#!/bin/sh |
||||||
|
# |
||||||
|
# install mongodb |
||||||
|
|
||||||
|
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini |
||||||
|
sudo sh -c 'echo "setParameter = textSearchEnabled=true" >> /etc/mongodb.conf' |
||||||
|
cat /etc/mongodb.conf |
||||||
|
|
||||||
|
mongod --version |
||||||
|
|
||||||
|
sudo service mongodb restart |
Loading…
Reference in new issue