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.
About This Task
Relational Migrator uses the following file locations on RHEL/CentOS:
Configuration file
~/.mongodb/relational-migrator/user.propertiesDownloaded JDBC Drivers
~/.mongodb/relational-migrator/DriversLog files
~/.mongodb/relational-migrator/migrator.log
Steps
Download the latest
.tar.gzbinary from the release page.Install Relational Migrator.
tar -xvzf relational-migrator-<version_number>-linux-amd64.tar.gz -C /opt Note
You can extract the installation to a location other than the
/opt/directory.(Optional) To connect to Oracle or MySQL drivers, download and place the drivers into your Relational Migrator directory.
To download and install MySQL, Oracle or DB2 drivers, see the following:
Copy the driver files to
~/.mongodb/relational-migrator/Drivers.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
Change the directory to the Relational Migrator
/binlocation and start the application.cd /opt/mongodb-relational-migrator-<version_number>/bin ./mongodb-relational-migrator Note
If you start Relational Migrator before you copy the driver files into the
Driversdirectory, you must restart the application to use the MySQL or Oracle drivers.