Install IPLM Web
Overview
IPLM Web does not have a dependency on Java, but does need the IPLM RPM repository to be configured as under ‘Configure Repositories’ for IPLM Server.
On a production system, it is recommended that IPLM Web is installed on its own machine. On a small test environment, it is possible to run it on the same server as Neo4j, IPLM Server and IPLM PiForce.
Step 1: Install IPLM Web
To install IPLM Web, run the following command:
sudo yum install iplm-web
Step 2: Configure IPLM Web
After installing IPLM Web, configure it.
-
If IPLM Server is on a different machine (recommended), then the URI for both the PIAPI and PIAPI_DOCS needs to be updated to point at the IPLM Server host.
-
Update the URI for PIFORCE if you plan to install and use PiForce.
Edit the /etc/mdx/piweb.conf file:
PIWEB_USER=root
PIWEB_PORT=80
PIWEB_LOG_LEVEL=warn
#the value of PIAPI_URI should be set to the IP address or Hostname on
#which the Pi API Server is being run.
PIAPI_URI=http://localhost:8080
#the url to access Pi API Docs
PIAPI_DOCS_URI=http://localhost:8080/public-api-doc.html
#if PiForce is being used, then uncomment and configure that here:
#PIFORCE_URI=http://piforce-server:8088
Step 3: Start IPLM Web
After this has been done, it is time to start the IPLM Web Server by running the following command:
sudo systemctl start piweb
As with the other services, it should also be enabled to automatically start at boot time:
sudo systemctl enable piweb
The server will run on the PIWEB_PORT configured in the piweb.conf file.
Step 4: Test IPLM Web
IPLM Web is relatively easy to test. Point a web browser at the server running IPLM Web and you should see a login page. You should then be able to login to IPLM Server using a suitable username and password. If you want to test it from the command line, then you can run:
curl http://localhost/config
This should return JSON showing some of the IPLM Web configuration options.
Next steps
Once you have completed the IPLM Web installation, follow the instructions to install IPLM PiForce.