tree: 44c74117cf811751a1f61ce802fab787e5cb9f14 [path history] [tgz]
  1. .nanorc
  2. .selected_editor
  3. README.MD
  4. README.md.html
  5. RUN-DEMOS-AS-ofbizDemo-USER-ONLY-NOT-ROOT
  6. all-manual-nicely.sh
  7. all-manual.sh
  8. branch12.4-demo.patch
  9. branch13.7-demo.patch
  10. check-svn-update.sh
  11. ofbizDemo.crontab
  12. old-manual-nicely.sh
  13. old-manual.sh
  14. pandoc.bat
  15. stable-manual-nicely.sh
  16. stable-manual.sh
  17. trunk-manual-nicely.sh
  18. trunk-manual.sh
tools/demo-backup/README.MD

Three instances of OFBiz on the OFBiz demo VM2 at https://ofbiz-vm2.apache.org. This is the second instance of VM we use hence the 2 in its name.

We currently use a self-signed certificate

  • trunk: the trunk version
  • stable: the last stable version (currently 16.11)
  • old: the previous stable version (currently 13.07)

Note: Only run the ofbiz demos using the ‘ofbizDemo’ user, never run as root.

To do this sudo to the ofbizDemo user:

sudo -s -u ofbizDemo -H

sudo uses OTP (One Time Password), so you not only need to be registered as a sudoer (ask Infra) but also to use a tool like Donkey on Ubuntu (jleroux: I use that) to generate the OTP
Then you can start/stop as required.

To check if the demos are being run as the ofbizDemo user:

ps aux | grep ofbizDemo

The first column on the left tell you the username the demo is
being run as - it should say ofbizDemo (UID) or 9997 (GID) !

Type 'exit' to exit the ofbizDemo user and return to your normal user.

Also note that the demos are usually updated and started/stopped automatically using the check-svn-update.sh script in this directory, it is run by an ofbiz cron job every 24 hours at 3 AM. You should therefore only need to start/stop manually if there is a problem.

If you want to restart only a single instance you can respectively use

trunk-manual-nicely.sh stable-manual-nicely.sh old-manual-nicely.sh