<div dir="ltr">Hello Arash,<div><br></div><div>Installing OpenCms via a package manager would certainly be convenient, but I've managed to install it via the command line with a few tweaks.</div><div><br></div><div><div>
<ol><li>First I filled in all the necessary data that would have been populated via the wizard in opencms.properties. This is stuff like database information, etc.<br></li><li>I created and ran the appropriate database table creation script to get everything that OpenCms needs.</li>
<li>I tweaked cmssetup.txt to import the necessary modules for the workplace, etc. This took a bit of searching to align them in the correct order for dependencies.</li></ol><div>For archival purposes, if anyone needs to apply these tweaks to cmssetup.txt, just put these lines between 'setSiteRoot "/sites/default"' and 'importModulesFromSetupBean.</div>
</div></div><div><br></div><div>---</div><div><div>importModule "packages/modules/org.opencms.workplace_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.workplace.administration_8.5.2.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.categories_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.explorer_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.workplace.galleries_8.5.0.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.handler_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.workplace.help_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.help.de_8.5.0.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.help.en_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.accounts_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.cache_8.5.0.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.tools.content_8.5.1.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.database_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.galleryoverview_8.5.0.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.tools.history_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.link_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.modules_8.5.0.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.tools.projects_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.publishqueue_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.scheduler_8.5.1.zip"</div>
<div>importModule "packages/modules/org.opencms.workplace.tools.searchindex_8.5.1.zip"</div><div>importModule "packages/modules/org.opencms.workplace.tools.workplace_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.editors_8.5.2.zip"</div>
<div>importModule "packages/modules/org.opencms.editors.codemirror_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.editors.editarea_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.editors.fckeditor_8.5.1.zip"</div>
<div>importModule "packages/modules/org.opencms.editors.tinymce_8.5.3.zip"</div><div>importModule "packages/modules/org.opencms.languagedetection_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.locale.de_8.5.2.zip"</div>
<div>importModule "packages/modules/org.opencms.locale.es_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.locale.it_8.5.0.zip"</div><div>importModule "packages/modules/org.opencms.locale.ru_8.5.0.zip"</div>
<div>importModule "packages/modules/org.opencms.jquery_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.gwt_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.config_8.5.2.zip"</div>
<div>importModule "packages/modules/org.opencms.ade.containerpage_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.contenteditor_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.editprovider_8.5.2.zip"</div>
<div>importModule "packages/modules/org.opencms.ade.galleries_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.postupload_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.properties_8.5.2.zip"</div>
<div>importModule "packages/modules/org.opencms.ade.publish_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.sitemap_8.5.2.zip"</div><div>importModule "packages/modules/org.opencms.ade.upload_8.5.2.zip"</div>
</div><div>---</div><div><br></div><div>With these tweaks I've been able to write the proper templates for chef and will be spending a bit of time this week trying to get a cookbook up for OpenCms. In the future I'd like to have this configurable for which database you want to use, which http server you want to use, and which servlet engine (tomcat, jetty, etc) you'd like to use, and optionally to make them configurable for a remote machine. Optional modules such as a "opencms:demo" would install the demo content, etc.</div>
<div><br></div><div>Thanks for for you input and help though!</div><div><br></div><div>Cheers,</div><div>Andrew </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 18, 2013 at 5:45 AM, Arash Kaffamanesh <span dir="ltr"><<a href="mailto:ak@cloudssky.com" target="_blank">ak@cloudssky.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra">Hi Andrew,<br><br></div><div class="gmail_extra">I was working on a similar issue to provide an Apache CloudStack VM template and an Amazon Machine Image (AMI) or Eucalyptus EMI for OpenCms multi node Installations with zero configuration. Last year by OpenCms Days we presented the installation approach on CloudStack and as I was told by Alkacon, that they are also working to improve and provide an alternate installation method to the web based installation approach.<br>
<br></div><div class="gmail_extra">One more idea which we had was to get OpenCms for instance into Ubuntu apt PPA and run:<br><br>apt-get install opencms<br><br></div><div class="gmail_extra">or<br><br></div><div class="gmail_extra">
yum install opencms<br><br></div><div class="gmail_extra">and call <a href="https://servername/system/login" target="_blank">https://servername/system/login</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
On a single server installation on a physical server or on a VM someone should expect that Tomcat, MySql and Apache shall get configured automatically with a self signed certificate. In a network based installation, where in general the DB resides on a different DB Server, you should be asked to provide the DB servername and the credentials.<br>
<br></div><div class="gmail_extra">For a multi node installation on a private or public cloud infrastructure, someone should need only to take a SnapShot from the VM and create a template and run an instance from it and update the LoadBalancer config file to point to the new IP of the newly created instance.<br>
<br></div><div class="gmail_extra">And now I guess all this can be provided through a Chef cookbook for a multi node installation, right?<br><br></div><div class="gmail_extra">Thanks,<br>Arash<br><br>-- <br><div><div><font color="#0000ff"><font color="#0000ff"><a href="http://cloudssky.com/en/cloud_products/cloudsites.html" target="_blank">CloudSites empowered by Metamesh's OpenCms Cloud eXtensions (OCCX)</a></font></font><br>
<font color="#0000ff"><font color="#0000ff"><a href="http://opencms-days.org" target="_blank">Visit us at OpenCms Days Conference</a></font></font></div></div><p style="color:rgb(34,34,34)">
</p><p style="color:rgb(34,34,34)">
<span style="color:rgb(0,0,0)"><span style><font><b>________________</b></font><font><b>____________</b></font><b> </b><b> </b></span></span></p><p><span style><b>Arash Kaffamanesh</b><span style="font-family:arial,sans-serif"><b><span style="font-size:13px;font-family:arial,sans-serif"><br>
Clouds Sky GmbH<span></span><br></span></b></span></span></p><p><span style><span style="font-family:arial,sans-serif"><b><span style="font-size:13px;font-family:arial,sans-serif">Im Mediapark 4C</span></b></span></span></p>
<p><span style><span style="font-family:arial,sans-serif"><b><span style="font-size:13px;font-family:arial,sans-serif">50760 Köln<br></span></b></span></span></p><span style><span style="font-family:arial,sans-serif">
<a value="+13145187189">+49 221 370 90 680</a></span><br><span style><a href="http://www.cloudssky.com/" target="_blank">www.cloudssky.com</a><b><br>_________________</b><font><b>___________</b></font></span></span><br>
</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 16, 2013 at 9:27 AM, Andrew Adams <span dir="ltr"><<a href="mailto:adamsar@gmail.com" target="_blank">adamsar@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
<div dir="ltr">I believe I have posted this in haste. If anyone searches for this in the future, you can install from the command line with:<div><br><div>sh cmsshell.sh -script=setupdata/cmssetup.txt </div><div><br><div>
from the WEB-INF directory</div>
</div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 16, 2013 at 4:17 PM, Andrew Adams <span dir="ltr"><<a href="mailto:adamsar@gmail.com" target="_blank">adamsar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello y'all,<div><br></div><div>I'm trying to write a Chef cookbook to install opencms on a server, and was curious if anyone knew of a way to install OpenCms without the troublesome browser-based wizard? My only thought thus far have been possibly using the cmsshell.sh which has a importModulesFromSetupBean method, but this method is a no-op in the code. </div>
<div><br></div><div>Any help would be appreciated!</div><div>Thanks,</div><div>Andrew Adams</div></div>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br></blockquote></div><div><div style="font-family:arial;font-size:small"><div><span style><span style><font><b></b></font></span><span style="color:rgb(11,83,148)"><b><span style="color:rgb(0,0,0)"></span> </b></span></span><p style="color:rgb(34,34,34)">
<span style="color:rgb(11,83,148)"></span><font> </font></p></div></div></div>
</div></div>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>