mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
try mongodb without sudo
This commit is contained in:
@ -2,10 +2,12 @@
|
||||
#
|
||||
# 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
|
||||
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
|
||||
# version 2.6 has this enabled by default
|
||||
#sudo sh -c 'echo "setParameter = textSearchEnabled=true" >> /etc/mongodb.conf'
|
||||
cat /etc/mongodb.conf
|
||||
|
||||
#sudo service mongodb restart
|
||||
|
||||
Reference in New Issue
Block a user