Prerequisites - maksudsharif/Armedia-Training-Module GitHub Wiki

#Prerequisites

If you can help yourself, don’t go and start reading the Alfresco’s documentation through its entirety or anything like that. Make sure you understand the following foundation concepts first (or re-familiarize yourself if it’s been awhile since you’ve used these concepts). Alfresco uses all these concepts.

Exercise #1

Spring Framework - http://javabrains.koushik.org/spring.html (Learning Spring Core Courses)

  • Unit 1, Understanding DI
  • Unit 1, Setting Up
  • Unit 1, Understanding Spring Bean Factory
  • Unit 1, Writing Code Using the Bean Factory
  • Unit 1, ApplicationContext and Property initialization
  • Unit 1, Using Constructor Injecting
  • Unit 1, Injecting Objects
  • Unit 1, Bean Autowiring

Exercise #2

HTTP and RESTful Web Services

Exercise #3

MVC Design Patterns

Exercise #4

FreeMarker Template Language (FTL)

Exercise #5

AJAX (Asynchronous JavaScript and XML)

Exercise #6

JSON (JavaScript Object Notation)

Exercise #7

Using JSON and AJAX

Exercise #8

  • Unit 1, Introduction and Setting up Part 1
  • Unit 1, Introduction and Setting up Part 2
  • Unit 1, Understanding Archetypes and pom.xml
  • Unit 1, Maven Build Phases
  • Unit 1, Adding a Dependency

Exercise #9

Understanding Alfresco Architecture

The Alfresco Repository is made up of the following:

  • Database
  • File System
    • Content: Where document files are stored.
    • Index files: Where Lucene or Solr index files are stored.

Exercise #10

Set up Alfresco Manually

There is a 1-click self-extracting executable (or bin) available to install alfresco. You can specify the modules to install, and do advanced configuration also. We will be installing Alfresco manually to gain a better understanding of alfresco installation. I encourage you to do the 1-click self-extracting module also to see how an install there works as well, as it’s quite different!

  • We will be using files in the AlfrescoBasics101.zip file located at - TODO: Insert internal link here
  • TODO: UPDATE FOR 5.0 - We will use Alfresco Enterprise version 4.2.0
  • Make note of the Supported Platforms for Alfresco Enterprise 4.2.x when choosing which versions of software you need to install - http://www.alfresco.com/services/subscription/supported-platforms
  • Install CentOS 6.5 VM (derived from RHEL) - Here were some steps that may need to be done:
    • Make sure your desktop has at least 12 GB RAM (16 is better)
    • Create a new virtual machine running CentOS 6.5 (or higher depending on your preference) (64-bit version) - http://isoredirect.centos.org/centos/6/isos/x86_64/
    • Choose a mirror
    • Get the CentOS-6.5-x86_64-bin-DVD1.iso or appropriate iso for your version
    • This VM will run Alfresco, PostGreSQL, and SOLR. Give it at least 8G RAM, and probably 20G disk space. The VM files should be on a disk drive other than the OS boot drive.
      • NOTE: Make sure to not have dashes in your hostname, some apps don’t like that (i.e. Oracle)
    • Create a root password
    • Create another local user/password
    • Choose "Desktop" Setup
    • Get network connectivity - https://www.centos.org/forums/viewtopic.php?t=7631
    • Install rpmforge repository
    • Run yum update as root
    • Install guest additions as root, install dkms, Development Tools, kernel-devel
    • System etho0 (or enp0s) is manual by default, turn to automatic
    • Add local user as sudoer as root ( in visudo)
    • Install applications as a non-root-user
    • Oracle JDK 7 and 8
    • PostGreSQL 9
    • You will need to create a db user for the alfresco db
  • Alfresco
    • Open up the ASA_StudentGuide_Enterprise_4x_v1_4.pdf document, we will be going through certain sections. Throughout the guide, you may see references to other alfresco versions, let’s go ahead and stick with alfresco version 4.2.0 for any exercises. NOTE: The alfresco-enterprise-4.2.0.zip file (there's a known minor issue with this package, see MNT-9896 for workarounds)
    • Install Alfresco license if you will be doing this training for more than 30 days after installation
    • http://docs.alfresco.com/4.2/tasks/at-adminconsole-license.html
    • TODO: Add links to internal server location for Licenses
    • Work through following sections in Student Guide:
      • Installation
        • All sections
          • When you get to Installing the Alfresco WAR alfresco-global.properties configuration; skip ahead to page 14 and page 15 for some examples of the properties you'll need to enable, like:
            • dir.root
            • db.username
            • db.password
            • db.url
            • ooo.*
            • alfresco.*
            • share.*
        • Explorer alfresco and share applications:
          • Log into http://:/alfresco
          • Log into http://:/alfresco/service/index to see all OOB alfresco web services
          • Log into http://:/share
          • Log into http://:/share/service/index to see all OOB share web services
        • NOTE: Don't do the Installation Module lab, you already worked through the sections itself

Exercise #11

Alfresco AMP structure

Exercise #12

Alfresco’s Java Foundation API

Exercise 13

Alfresco Certified Exam Prep

⚠️ **GitHub.com Fallback** ⚠️