1. Home
  2. m-Power Administration
  3. Installing m-Power on Ubuntu Server

Installing m-Power on Ubuntu Server

Overview

In this techblog, I wanted to share with you the steps I used to set up m-Power on Ubuntu Server, a popular “flavor” of Linux.

Note: This documentation assumes that you only have command line access. If you have a GUI installed, please enter your terminal window to conduct the following instructions.

Note: This documentation assumes that you have sudo authority. If you do not, please add sudo in front of each command.

Steps

  1. Download m-Power by typing the following command:
    wget https://www.mrc-productivity.com/products/mpower/m-power_linux.zip
  2. Download and install JDK 11: https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html
  3. Verify that the JDK installed correctly by typing java -version and javac -version
  4. Move the m-Power installation from its current directory into the root, using the MV command.
  5. In root, type jar -xf m-power.zip to extract m-Power
  6. Transfer the mrclicense.txt file that was sent to you from mrc into the /m-power/proddata/conf folder, using FTP.
  7. Modify the /m-power/tomcat/conf/server.xml file. Near the end of the file, correct the docBase of each context to point to the correct folder structure on your Ubuntu server. [Usually, this means removing “C:”]
  8. Edit the bash_profile, by keying in:
    vi ~/.bash_profile
  9. Add the following text to the file:
    export JAVA_HOME=PATH_TO_JDK11_GOES_HERE
  10. Set all script files in /m-power/tomcat/bin to be executable by typing the following command:
    chmod +x *.sh

Testing

To start Tomcat, type:
/m-power/tomcat/bin/catalina.sh start

To stop Tomcat, type:
/m-power/tomcat/bin/catalina.sh stop

You can access m-Power by using the following URL: http://Linux_IP_Address:8011/webapp/mrc

Updated on August 7, 2023

Was this article helpful?

Related Articles