Internal PredictionIO Server - N4L/PredictionIO GitHub Wiki

Internal PredictionIO server is on the server 192.168.50.118, which is the VM machine on server 192.168.50.116. Please follow the instructions below to setup the internal PredictionIO server.

  1. Upload all the files in folder PredictionIO into folder /var/PredictionIO.src on the server.
  2. SSH to the server with root credential.
  3. Navigate to /var/PredictionIO
  4. Make a backup copy of /var/PredictionIO/pio-env.sh as /var/PredictionIO/pio-env.sh.back. pio-env.sh has all the configs.
  5. Navigate to /var/PredictionIO.src
  6. Execute command find . -type f -exec dos2unix {} \;
  7. Execute command bash make-distribution.sh
  8. Copy evernt files under folder /var/PredictionIO.src/dist folder to folder /var/PredictionIO
  9. Navigate to /var/PredictionIO
  10. Copy /var/PredictionIO/pio-env.sh.back back to /var/PredictionIO/pio-env.sh.
  11. Execute pio-stop-all, then pio-start-all

If setup a brand new PredictionIO server, please refer the Chef recipes for detailed steps.