Deploying OpenCMS into Jelastic cloud
This is a step-by-step instruction on deploying OpenCMS, content management system, into Jelastic cloud so you can use it as an inexpensive hosted CMS. Jelastic can natively run any Java application with no code changes required so the procedure below is applicable to most Java applications.
Scroll down to see a video version of the same procedure
1. Create the environment
- Go to jelastic.com and sign up if you haven’t done it yet or log in with your Jelastic credentials by clicking the Sign In link on the page.
- Click Create environment to set up a new environment in Jelastic.
- In the Environment topology window, specify the resource limits, you want to be set for the environment (e.g. 16 cloudlets), select Tomcat 7 as your application server and Maria DB as a database, type your environment name, for example, OpenCMS, and click Create.
- In a minute your environment with both Tomcat and Maria DB will be created and appears in the environments list.
2. Upload Java package
- Go to OpenCMS web-site and download the latest OpenCMS distribution WAR file.
- Upload the downloaded Java WAR package using Deployment manager.
Once the package is in Jelastic, deploy it to the environment you have just created.
- After the deployment is finished, open the application in web browser. You will get the next message:It’s ok but you need to launch OpenCMS startup. To do so, navigate to http://opencms.jelastic.servint.net/setup, come through the Setup Wizard and accept the license agreement to enable OpenCMS.
3. Configure database
- Switch back to Jelastic dashboard and click Open in browser button for Maria DB.
- While you were creating the environment, Jelastic sent you an email with credentials to the database. Create an account and the database with the application using these credentials.
- In OpenCMS Setup Wizard, specify the URL of the database and the credentials, you have just provisioned.Once you have clicked on continue button you get the next message.It’s ok. You need to modify a setting in the database.
- Increase the limit of max_allowed_packed as OpenCMS prompts you to do so.
Restart the database.
- Switch back to OpenCMS Setup Wizard and complete the installation of all components.
4. Start OpenCMS
Finally you can launch OpenCMS and use all its capabilities!
And here is a video version of the same procedure:[youtube=https://www.youtube.com/watch?v=nnaLNMp7cr4&feature=related]