Author: jleroux
Date: Fri Nov 3 12:54:50 2017 New Revision: 1814176 URL: http://svn.apache.org/viewvc?rev=1814176&view=rev Log: Renames demo sub folder to demos Added: ofbiz/tools/wiki-files/demos/ ofbiz/tools/wiki-files/demos/README.md.html (with props) Removed: ofbiz/tools/wiki-files/demo/ Added: ofbiz/tools/wiki-files/demos/README.md.html URL: http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/demos/README.md.html?rev=1814176&view=auto ============================================================================== --- ofbiz/tools/wiki-files/demos/README.md.html (added) +++ ofbiz/tools/wiki-files/demos/README.md.html Fri Nov 3 12:54:50 2017 @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <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" /> + <title></title> + <style type="text/css">code{white-space: pre;}</style> +</head> +<body> +<p>Three instances of OFBiz run on the OFBiz demo VM2 at https://ofbiz-vm2.apache.org.</p> +<ul> +<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> +</ul> +<p>This is the second instance of VM we use hence the 2 in its domain name. The root of https://ofbiz-vm2.apache.org is the so called bigfiles directory which is actually at /home/ofbizDemo/big-files</p> +<p>We own 3 Apache sub domains</p> +<ul> +<li>https://demo-trunk.ofbiz.apache.org</li> +<li>https://demo-stable.ofbiz.apache.org</li> +<li>https://demo-old.ofbiz.apache.org</li> +</ul> +<p>All demos use a Let's Encrypt certificate. There is currently a bug which prevents Let's Encrypt certificate to renew every 3 months. So we need to do it by hand and you need to have a root access for that. This is how: <a href="http://markmail.org/message/7c3rxrqkn4kkm6dm" class="uri">http://markmail.org/message/7c3rxrqkn4kkm6dm</a></p> +<p>The Puppet configuration is at https://github.com/apache/infrastructure-puppet/blob/deployment/data/nodes/ofbiz-vm2.apache.org.yaml</p> +<blockquote> +<p><em>Note</em>: <strong>Only run the ofbiz demos using the 'ofbizDemo' user, never run as root.</strong></p> +</blockquote> +<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 'exit' 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 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.</p> +<p>If you want to restart only a single instance you can respectively use</p> +<p>trunk-manual-nicely.sh stable-manual-nicely.sh old-manual-nicely.sh</p> +</body> +</html> Propchange: ofbiz/tools/wiki-files/demos/README.md.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/tools/wiki-files/demos/README.md.html ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/tools/wiki-files/demos/README.md.html ------------------------------------------------------------------------------ svn:mime-type = text/html |
Free forum by Nabble | Edit this page |