Step by step minimum installation of XEM base on Mysql
Prerequisites
Java
- Download and install Java 1.5 or more from Java website : http://www.java.com
Mysql
- Download and install Mysql from Mysql website : http://dev.mysql.com/downloads/
Download XEM packages
From the download page, get:- the last XEM distribution package preconfigured (xwiki-enterprise-manager-mysql-<version>.zip).
- the last XEM application xar package (xwiki-enterprise-manager-wiki-administrator-<version>.xar).
Mysql configuration
Follow XWiki Platform mysql installation (Installation My SQL) except for privileges settings. To be able to create new wikis the mysql user will need to have all rights on database. To do this execute :mysql -u root -e "grant all privileges on *.* to xwiki@127.0.0.1 identified by 'xwiki'"XEM web application installation
XEM web application containing XWiki Enterprise web application and XEM plugins which are Application Manager (code:Plugins.ApplicationManagerPlugin) and Wiki Manager (code:Plugins.WikiManagerPlugin). To install it you just need to unpack xwiki-enterprise-manager-mysql-<version>.zip anywhere you want. In the created directoy containing unpacked zip file you will find :- start_xwiki.sh (start_xwiki.bat for Windows system) which a Jetty server containing start XWiki Platform
- stop_xwiki.sh (stop_xwiki.bat for Windows system) which stop the Jetty server containing XWiki Platform
- webapps/xwiki directory which contains XEM web application. You will mostly access:
- webapps/xwiki/WEB-INF/hibernate.cfg.xml which contains database communication hibernate parameters
- webapps/xwiki/WEB-INF/xwiki.cfg which contains xwiki configuration parameters
XEM application xar importation
We now installing XEM application on XWiki Platform (). Run XEM using start_xwiki.sh (start_xwiki.bat for Windows system and import xwiki-enterprise-manager-wiki-administrator-<version>.xar. See Import Export to know how to import a xar package in XWiki Platform. What was just imported contains default users rights configuration so to edit you wiki or access the administration interface you will need to log as user "Admin" with password "admin".[OPTIONAL] Create default XE wiki template
Go to http://localhost:8080/xwiki/bin/view/XemManager/Install and confirm. This will create a wiki called "templatexe" containing an XWiki Enterise wiki and list this wiki as template from which it's possible to create another wiki.
Version 25.1 last modified by ThomasMortagne on 19/02/2008 at 18:13
Comments: 0