mongodb-setup.sh 265 Bytes
Newer Older
Carsten Brandt committed
1 2 3 4 5 6 7 8 9 10 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