Alfresco in the cloud: how to deploy it step-by-step

This is a step-by-step instruction on deploying Alfresco, enterprise 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

1. 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.

2. Click Create environment to set up a new environment in Jelastic.

alfresco hosting

3. In the Environment topology window, select Tomcat 7 as your application server, Maria DB as the database you want to use and type your environment name, for example, Alfresco, and click Create.

alfresco in the cloud

In a minute your environment with both Tomcat and Maria DB will be created and appears in the environments list.

alfresco in cloud

2. Upload Java package

1. Go to Alfresco web-site and download community edition by clicking TRY Alfresco Enterprise Online or Download, click Download Now button for the Document Management.

install alfresco

2. Click Individual Components and Custom Installs.

3. Download the latest version of ZIP archive of Alfresco community edition.

alfresco cms

4. Extract files from this archive and navigate to Alfresco WAR file at alfresco-community-3.4.dweb-serverwebapps.

5. Upload your Java package to the Deployment manager.

alfresco hosting

 

6. Deploy it to the created environment.

alfresco deploying

3. Configure database

1. Once the deployment is finished, click Open in browser button for Maria DB.

open alfresco

2. When you created the environment, Jelastic sent you an email with credentials to the database. Create an account and the database with the application using these credentials.

deploy alfresco


alfresco config
alfresco configs

4. Configure Alfresco

1. Click Config button for Tomcat.

launch alfresco

2.Navigate to webapps/ROOT/WEB-INF/classes/alfresco-global.properties.sample.

3. Rename this file to alfresco-global.properties, so it becomes the production configuration.

alfresco hosted

4. Uncomment a part of file which sets database credentials.

host alfresco

5. Make the database driver and URL to point to your database server.

alfresco configuring

5. Upload required JAR libraries

1. Upload mysql-connector library to the Tomcat’s lib folder.

alfresco options

2. Restart Tomcat.

3. Navigate to the Log tab to make sure you that the deployment was successful and you are ready to open the environment in web browser.

alfresco with tomcat

alfresco tomcat

And here is a video version of the same procedure:

[youtube=http://www.youtube.com/watch?v=KUGErAtiaFI&feature=related]






10 Responses to “Alfresco in the cloud: how to deploy it step-by-step”

  1. Jean Marie PASCAL (@jeanmariepascal)

    I already use this idea and tutorial and works really great to test my android application.

    Add Package Manager and you will be a great choice to host alfresco instance.

    Reply
    • Marina Sprava

      Hi Jean Marie! Adding Package Manager to Jelastic depends on the number of votes, so you can vote for this feature at jelastic.com.

      Reply
  2. Sami Kamal

    I have followed this on the video before and installed Alfresco 4.0 successfully with PostgreSQL database. The difference is you need to Make the database driver and URL to point to your PostgreSQL database by uncommenting the PostgreSQL part instead of mysql, and upload the PostgreSQL connector.
    I tired to deploy share too in the same environment, the login screen shows but unable to login with default “admin/admin”.. can you please explain how can we deploy Share as it so important too..
    thank you

    Reply
  3. Marco

    It’s ok also for the newest 4.0 version ?

    Thanks.

    Reply

Leave a Reply