Installing m-Power on Ubuntu Server
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.
- Download m-Power by typing the following command:
- Download and install JDK 8:
- Verify that the JDK installed correctly by typing:
java -version and
- Move the m-Power installation from its current directory into the root, using the MV command.
- In root, type jar -xf m-power.zip to extract m-Power
- Transfer the mrclicense.txt file that was sent to you from mrc into the /m-power/proddata/conf folder, using FTP.
- 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:”]
- In /m-Power/proddata/conf, move mrctool.properties to mrctool400.properties
- In /m-Power/proddata/conf, move mrctool400.properties to mrctool.properties
- Edit the bash_profile, by keying in:
- Add the following text to the file:
- Set all script files in /m-power/tomcat/bin to be executable by typing the following command:
chmod +x *.sh
To start Tomcat, type:
To stop Tomcat, type:
You can access m-Power by using the following URL: