How to deploy XWiki to Jelastic cloud
You can have a XWiki instance up and running within minutes using Jelastic one-click install option.
Just click Get it hosted now, type your email and install XWiki in a minute skipping the steps of manual installation.
Find more details about Jelastic App Packaging at our Solutions page.
Instruction on manual XWiki installation
XWiki is a free wiki software platform written in Java with a design emphasis on extensibility.
Let’s deploy XWiki to Jelastic cloud right now!
A. Create an environment
Log into theJelastic Manager
Ask Jelastic to create a new environment:
In the Environment Topology dialog, pick your application server (for example, Tomcat 6) and the database you want to use (for example MySQL). Then specify your environment name, for example, xwikitest.
It will take just a minute for your environment to be created.
B. Upload a Java package
- Navigate to xwiki.org and select Download & Play > XWiki Enterprise.
Stop the started downloading and copy the link to the package by right-click on the click here line and choosing Copy link address in the opened menu.
Go back to Jelastic and upload the package you have just downloaded to the Deployment manager. For that navigate to URL tab and enter there link you’ve just copied.
- Once the package is in Jelastic, deploy it to your environment.
C. Configure database
- Click the Open in browser button for MySQL.
- When you created the environment, Jelastic sent you an email with credentials to the database. Use these credentials to create a user account and the database with the application.
D. Configure XWiki
Upload MySQL connector to the lib folder.
Pick Config for Tomcat and navigate to hibernate.cfg.xml file (webapps/ROOT/WEB-INF)
Comment the part of file which is responsible for the default database configuration, uncomment MySQL configuration and type the correct database connection URL, your database name and password. Also add following lines in the MySQL part as it is shown in the picture below:
<property name="connection.provider_class"<com.xpn.xwiki.store.DBCPConnectionProvider</property> <property name="connection.pool_size"<2>/property> <property name="statement_cache.size"<2>/property>
Save the changes and restart Tomcat!
E. Start XWiki
Now you can open XWiki in a browser and create your spaces and pages there. Enjoy!
Hope this instruction will be useful for you.