Giter VIP home page Giter VIP logo

mongostead7's People

Contributors

ctf0 avatar reyhansofian avatar taras-budzyn avatar thomasdiluccio avatar zakhttp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mongostead7's Issues

How to connect Robomongo

Hi,
thanks a lot for your script, it have successfully installed mongodb!

Now i'm trying to connect it with Robomongo.

I have made forward port on 27017 and 3000.

But, i'm not able to connect (i tried: 127.0.0.1, 192.168.10.10, localhost)... but nothing.

do you know how to solve this ?

Mongodb.ini is corrupt, not properly referenced in php and nginx conf.d, Class 'MongoDB\Driver\Manager'

The mongodb.ini files should be referenced/linked (ln -s) in the following locations /etc/nginx/conf.d/30-mongodb.ini, /etc/php/7.1/fpm/conf.d/30-mongodb.ini and /etc/php/7.1/cli/conf.d.30-mongodb.ini. However it just gets copied to the location where the script is initialized from. I ended up copying them manually. Also the mongodb.ini in mods-available (location linked from) is also corrupted. With the comment on the first line not showing up as a comment. As a result without these fixes the error Class 'MongoDB\Driver\Manager' was being shown. @zakhttp

Permission problems and not complete mongo installation

I ran into several permission issues:

Line 28/29:

sudo echo "extension = mongodb.so" >> /etc/php/7.0/cli/php.ini;
sudo echo "extension = mongodb.so" >> /etc/php/7.0/fpm/php.ini;

needed to be adjusted to:

sudo sh -c "echo 'extension = mongodb.so' >> /etc/php/7.0/cli/php.ini";
sudo sh -c "echo 'extension = mongodb.so' >> /etc/php/7.0/fpm/php.ini";

I also needed to manually add the mongodb.service file.

Finally I had to install mongo manually after all of this.
sudo apt-get install -y mongodb-org

And now it is running.

For php7.1 the mongodb.ini files are not copied correctly.

The mongodb.ini files should be in the following locations /etc/nginx/conf.d/30-mongodb.ini, /etc/php/7.1/fpm/conf.d/30-mongodb.ini and /etc/php/7.1/cli/conf.d.30-mongodb.ini. However it just gets copied to the location where the script is initialized from. I ended up copying them manually. WIthout it he error being shown was Class 'MongoDB\Driver\Manager' not found.

Cant confirm for php 7.0 as not using it.

Didn't load new MongoDB driver

Something didn't go correctly when I ran the script, I had to remove the inserted code into php.ini, then added it extension=mongodb.so into the following files instead:

  • /etc/php/7.0/fpm/conf.d/20-mongodb.ini
  • /etc/php/7.0/cli/conf.d/20-mongodb.ini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.