blob: b1e8af236711fa8efb353f926d88775df56aea00 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<style type="text/css">code{white-space: pre;}</style>
<p>Three instances of OFBiz on the OFBiz demo VM2 at This is the second instance of VM we use hence the 2 in its name.</p>
<p>We currently use a self-signed certificate</p>
<li>trunk: the trunk version</li>
<li>stable: the last stable version (currently 16.11)</li>
<li>old: the previous stable version (currently 13.07)</li>
<p><em>Note</em>: Only run the ofbiz demos using the 'ofbizDemo' user, never run as root.</p>
<pre><code>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 &#39;exit&#39; to exit the ofbizDemo user and return to your normal user.</code></pre>
<p>Also note that the demos are usually updated and started/stopped automatically using the 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.</p>
<p>If you want to restart only a single instance you can respectively use</p>