Magnolia: Difference between revisions

From Wiki RB4
Line 1: Line 1:
==Concept==
Magnolia has a number of concepts:
* usually, Magnolia is set up in such a way that you have one instance running as the '''authoring system''', one as the '''public system'''. This provides flexibility, scalability and security.
* if an instance is author or public is determined by a setting in the Config GUI. Setting isAdmin to true will generally let you edit pages etc.. Set it to false for public instances - see Changing an author instance into a public instance
* to get content from the authoring instance to the public instance(s), you use a mechanism called '''activation''', which is executed from the GUI. Activation pushes content from the source instance (the one you are using when you click activate) to its subscribers
* there can be any number of subscribers. Subscribers are configured through the GUI. Usually, there is one subscriber only, called the '''public instance'''
* Magnolia is delivered as a single war file which per default is set up as "authoring" (note that Magnolia provides also the bundled version (or in form of installer) with Tomcat as an application server including all add-ons. There are also preconfigured war files for WebSphere and WebLogic).
* you control the public instance from the author environment through means of activating content from the author environment to its subscriber(s)
==Installation==
==Installation==
Installation according to [http://documentation.magnolia-cms.com/display/DOCS/Deploying+a+WAR+on+JBoss+AS]:
Installation according to [http://documentation.magnolia-cms.com/display/DOCS/Deploying+a+WAR+on+JBoss+AS]:

Revision as of 20:48, 13 January 2014

Concept

Magnolia has a number of concepts:

  • usually, Magnolia is set up in such a way that you have one instance running as the authoring system, one as the public system. This provides flexibility, scalability and security.
  • if an instance is author or public is determined by a setting in the Config GUI. Setting isAdmin to true will generally let you edit pages etc.. Set it to false for public instances - see Changing an author instance into a public instance
  • to get content from the authoring instance to the public instance(s), you use a mechanism called activation, which is executed from the GUI. Activation pushes content from the source instance (the one you are using when you click activate) to its subscribers
  • there can be any number of subscribers. Subscribers are configured through the GUI. Usually, there is one subscriber only, called the public instance
  • Magnolia is delivered as a single war file which per default is set up as "authoring" (note that Magnolia provides also the bundled version (or in form of installer) with Tomcat as an application server including all add-ons. There are also preconfigured war files for WebSphere and WebLogic).
  • you control the public instance from the author environment through means of activating content from the author environment to its subscriber(s)

Installation

Installation according to [1]:

  • download magnolia-bundled-webapp-5.2.1.war
  • extract to directory magnoliaAuthor.war
  • change property magnolia.home in magnoliaAuthor.war\WEB-INF\config\default\magnolia.properties to <JBOSS_DATA_DIR>\magnolia\
  • create empty file magnoliaAuthor.war.dodeploy
  • copy directory and empty file to <JBOSS_DIR>\standalone\deployments
  • call http://localhost:8080/magnoliaAuthor
  • click 'start installation'
  • saved output to C:\Uwes\Documents\Magnolia\Magnolia Installation.htm
  • extract to directory magnoliaPublic.war
  • change property magnolia.home in magnoliaAuthor.war\WEB-INF\config\default\magnolia.properties to <JBOSS_DATA_DIR>\magnolia\
  • create empty file magnoliaPublic.war.dodeploy
  • copy directory and empty file to <JBOSS_DIR>\standalone\deployments

Configuration according to [2] for JBoss 7:

  • edit <JBOSS_DIR>\configuration\standalone.xml according for JAAS
  • edit <JBOSS_DIR>\bin\standalone.conf to increase java startup parameter for JBoss