Docs Menu
Docs Home
/
Relational Migrator
/ / /

Install on Ubuntu

On this page

  • About This Task
  • Steps
  • Next Steps

You can install Relational Migrator on a single Ubuntu or Debian machine. This installation method uses default settings and binds Relational Migrator to a single IP and port.

Relational Migrator uses the following file locations on Ubuntu and Debian Linux:

  • Configuration file

    ~/Migrator/user.properties

  • Downloaded JDBC Drivers

    /opt/mongodb-relational-migrator/lib/app/lib

  • Log files

    ~/Migrator/Logs/migrator.log

  1. Download the latest .deb binary from the release page.

  2. Install Relational Migrator.

    sudo apt install ./mongodb-relational-migrator_<version_number>-1_amd64.deb
  3. Change the directory to the Relational Migrator app/lib location.

    cd /opt/mongodb-relational-migrator/lib/app/lib
  4. (Optional) To connect to Oracle or MySQL drivers, download and place the drivers into your Relational Migrator directory.

    1. To download and install MySQL, Oracle or DB2 drivers, see the following:

    2. Copy the driver files to /opt/mongodb-relational-migrator/lib/app/lib.

      To copy the driver, use the following example:

      curl https://download.oracle.com/otn-pub/otn_software/jdbc/216/ojdbc11.jar -O -L -b -o
  5. Change the directory to the Relational Migrator /bin location and start the application.

    cd /opt/mongodb-relational-migrator/bin
    ./mongodb-relational-migrator

    Note

    If you start Relational Migrator before you copy the driver files into the Drivers directory, you must restart the application to use the MySQL or Oracle drivers.

  • Create and Manage Projects

Back

Linux