AppBridge does not provide a custom installer for MongoDB on Linux. However, customer are free to install and configure it using the standard Linux installation methods.

Install MongoDB using terminal (ver. 3+)

  1. Import public key:  

     sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

  2. Create a list file for MongoDB

    -Ubuntu 12.04-

     echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list


    -Ubuntu 14.04-

     echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

  3. Refresh local package db:

     sudo apt-get update

     

  4. Install MongoDB:

    sudo apt-get install -y mongodb-org=3.2.3 mongodb-org-server=3.2.3 mongodb-org-shell=3.2.3 mongodb-org-mongos=3.2.3 mongodb-org-tools=3.2.3
     

Configure MongoDB

There are two main steps in configuring your MongoDB data source provider. First, you must add a Mongo user as there are no users added by default. Next, you must configure your database to be referenced externally.

Step 1. Add a Mongo User

  1. Start the Mongo Database

     sudo service mongod start



  2. Connect to the MongoDB admin database:

     mongo admin

  3. Create the user account within the admin database with global rights across all MongoDB databases:

    db.createUser(

    {

        user: "username",

        pwd: "password",

        roles: [

                   "readWriteAnyDatabase"

        ]

      }

    )

Step 2: Allow the Database to be Referenced Externally 
 

  1. Navigate to the Mongo configuration file.  The default location is: /etc/mongod.conf

  2. Open the file and change the following text: 

    # Listen to local interface only. Comment out to listen on all interfaces.

    From: bind_ip = 127.0.0.1

    To: #bind_ip = 127.0.0.1


  3. Save and exit the configuration file.
     

  4. Verify that the DB is running by entering the following command:

    sudo service mongod start

Next: Installation - Transformation Platform (Windows)