mongodb-setup.sh 260 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/sh # # install mongodb mongod --version echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini # enable text search mongo --eval 'db.adminCommand( { setParameter: true, textSearchEnabled : true})' cat /etc/mongodb.conf