OS - RHEL-7 (LINUX)
Solution:
1. Extract ‘Server.tar’ in the desired location on your RHEL system with the USER (hereafter referred as USER) intending to run QPP server.
- Enter the desired location: cd <location>.
- Extract Server.tar in this location.
- Command to extract: tar -xvf Server.tar
2. A directory named 'Server' (hereafter referred as 'Server directory') can be seen in this location now.
3. Make sure ‘Server’ directory and all its contents (subdirectories and files inside them) at least has read and execute permissions for the USER.
4. Create a directory in your system with read, write and execute permissions for the USER.
- This directory will be used as the data folder for the Platform Server where following data will be written by the Platform Server:
a. ‘work’ directory - Tomcat’s work directory
b. ‘PublishingRescueFolder’ directory – contains publishing data in case of publishing failure
c. ‘log’ directory - QPP logs folder where
d. ‘qxpsmcache’ directory – Qxpsm cache folder
e. ‘workspacecache’ directory – workspace temp folder for rendering preview files
f. ‘index’ directory - Lucene indexes directory applicable only for single server deployment
5. Now, cd to Server directory.
6. Run ‘installserverdependencies.sh’ with sudo privileges.
- This will install the following dependencies required by Platform Server:
a. openjdk 8
b. ImageMagick 7.0.9
c. Fontconfig – required by Highcharts and ImageMagick
7. Run ‘setupdatafolder.sh’. This will ask for the writeable folder’s absolute path. Provide the path chosen in step 4. Check that it ran without errors.
- This script will link the Platform Server to the provided writable folder.
- This will enable the Platform Server to write data to this directory.
8. Modify configurations like Database properties, Elastic Search properties in env.properties.
9. Modify configuration files like ManagerConfig.xml, etc. present in conf directory.
10. Open the following ports on your RHEL system:
- Inbound ports - 61400 and activemq port 61401
- Outbound ports – 9300, 1433.
11. Run serverstartup.sh to start the server.
12. Use serverstop.sh to stop the server.
Priyanka Bhotika
Comments