Overview
I recently had the opportunity to setup m-Power on a Fedora based server (RHEL/Centos). If you find yourself wanting to install m-Power on this operating system (or one similar to it), please check out the below instructions:
Steps
- Change directory to root (cd /tmp) and download m-Power from our servers using this syntax:
wget https://www.mrc-productivity.com/products/mpower/rc/m-power_linux.zip
- Download JDK 17 from Amazon by clicking here to download the rpm. Please install it on your Fedora based server.
- Now that the necessary programs have been downloaded, you will need to give yourself the authority to run each program:
chmod +x m-power.zip
chmod +x java-17-amazon-corretto-devel-17.0.12.7-1.x86_64.rpm
- Next, install the JDK via a local yum install
- Once that completes, you should be able to type in the following commands to verify that the JDK has installed correctly.
java -version
javac -version
- Next, you will need to extract m-Power. You can do this by using the following syntax:
jar -xf m-power_linux.zip
This will create file in /tmp calledInstallmPower.sh
. Run this command it will complete the installation process. - Install your m-Power license file by transferring your mrclicense.txt file to the /mrc/dev/m-power/proddata/conf folder of your Linux server.
- Additionally, install an additional copy of your m-Power license file to the /mrc/dev/m-power/mrcjava folder.
- We will start Tomcat using the catalina.sh within the /m-power/tomcat/bin directory. Before you run this, you will need to grant authority to execute this program. Do this by typing the following:
chmod +x /m-power/tomcat/bin/*.sh
- Start Tomcat by issuing the following command:
/m-power/tomcat/bin/catalina.sh start
- Tomcat can be stopped using this command:
/m-power/tomcat/bin/catalina.sh stop
You can access m-Power by using the following URL:
Troubleshooting
If you cannot connect using the instructions above, there is a good chance that your Linux server is not allowing traffic on m-Power’s default port, 8011. To allow traffic on this port, please do the following:
- Run this command: vi /etc/sysconfig/iptables
- Add the following information:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8011 -j ACCEPT
- Be sure to Save.
- Restart the IPTables by issuing the following command:
/etc/init.d/iptables restart
- Be sure to stop and start Tomcat before accessing m-Power via the web.