Docs Menu
Docs Home
/
Relational Migrator
/ / /

Install on RHEL

On this page

  • About This Task
  • Steps
  • Next Steps

You can install Relational Migrator on a single Red Hat Enterprise Linux (RHEL)/CentOS 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 RHEL/CentOS:

  • 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 .rpm binary from the release page.

  2. Install Relational Migrator.

    sudo yum install mongodb-relational-migrator-<version_number>-1.x86_64.rpm
  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

Ubuntu