How to Run Manta Installer as a Non-Root User
The installer, by default, requires root privileges. In some specific scenarios, you won’t be able to install IBM Manta Data Lineage as a root. There is an option to avoid root validation on Linux and install it under the user that will be used for Manta Data Lineage.
Please note that this option has the following limitations.
-
You cannot install Manta Data Lineage as a service if you are not a root user.
-
Manta Installer cannot manage running instances during an update, so you need to manually stop running Manta Data Lineage before every update.
Manta Data Lineage recommends installing Manta Data Lineage under a root user.
Instructions
-
Choose the user and group who will install Manta Data Lineage (and who will start it).
-
Create the directory
/var/opt/mantatools/
. -
Give the chosen user and group permission to create files in the abovementioned directory.
-
Run the installer
mantaflow-42.2.7-linux-x64-installer.run --admin 0
as a chosenuser
. -
Manually install services: If you need to install services manually, the
init.d
script is available in<MANTA_HOME>/server/bin/service.sh
for Manta Server and<MANTA_HOME>/serviceutility/bin/service.sh
for Updater and Configurator.-
Copy the scripts to
/etc/init.d
.-
sudo cp <MANTA_HOME>/server/bin/service.sh /etc/init.d/MantaFlowServer
-
sudo cp <MANTA_HOME>/serviceutility/bin/service.sh /etc/init.d/MantaUtilityTool
-
-
Make it executable.
sudo chmod 755 /etc/init.d/MantaFlowServer /etc/init.d/MantaUtilityTool
-
Reload services.
sudo systemctl daemon-reload
-