As part of the step by step series, I outlined the steps to install Alfresco Content Services 7.x and Solr6 (Alfresco Search Services 2.x) using distribution package in my previous posts.
I am here with another part of step by step series on ACS installation. We will try to setup Alfresco Content Services-7.2.x Enterprise with Elasticsearch (Search Enterprise-3.x) and all other components. This post will set the background for those who are looking to upgrade from Solr6 (Alfresco search service 2.x) to Elasticsearch (Search Enterprise-3.x) and evaluating.
Let me know in the comments as to why should you upgrade to Elasticsearch from Solr 6.
*** Updated this post to install ACS 7.2.1.3 that contains the patch for a memory leak issue. You can find more details here ***
What we need before we start doing setup?
- ACS-7.2.x package (alfresco-content-services-distribution-7.2.1.3)
- ASE-3.x package (alfresco-elasticsearch-connector-distribution-3.1.1)
- Alfresco Transform 1.5.x package (alfresco-transform-service-distribution-1.5.3)
- Java: Oracle jdk-11.0.13 or later/Open JDK 11.0.13 or later (I will use Oracle jdk-11.0.15 for this post)
- Elasticsearch 7.10
- Tomcat: Tomcat 9.0.62
- ActiveMQ: ActiveMQ v5.16.2.
- DB: PostgreSQL 13
- ImageMagick: ImageMagick v7.1.0
- Libreoffice: LibreOffice v7.0.6
- Windows 10 x64
- ACS, Share, Elasticsearch (Search Enterprise-3.x), and Transformation Service on same machine
- Download Alfresco Content Services Enterprise 7.2.x package from Support Portal. If you have an enterprise license, you can also download the package from alfresco artifacts repository.
- Download Alfresco Transform Service 1.5 package from Support Portal. If you have an enterprise license, you can also download the package from alfresco artifacts repository.
Checkout this GitHub repo for more info on transform core all-in-one project
- Download Alfresco Search Enterprise 3.1.0 package from Support Portal. If you have an enterprise license, you can also download the package from alfresco artifacts repository.
- Download Alfresco model namespace map generator add-on, it can be used for setting up elastic search indexing app.
https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html
Note: Make sure you set the JAVA_HOME environment variable (on windows). It is the installation path of jdk. E.g. JAVA_HOME=C:\Program Files\Java\jdk-11.0.15
https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.62/bin/apache-tomcat-9.0.62-windows-x64.zip
Download ActiveMQ v5.16.2 binary package (used for transformation service):
- All other alternatives: https://downloadarchive.documentfoundation.org/libreoffice/old/
Download and Install PostgreSQL 13.x:
Alternatively you can also download the binary package and extract it. No installation needed. It is useful if you have trouble doing installation on Windows 10.
Download PostgreSQL 13.x binary
Note: Make sure port 5432 is open and not already in use. Port 5432 is default for postgres to get db connection. If you have this port already in use, make sure you select a different port and use the same while configuring alfresco-global.properties.
Optional Alfresco module packages (amps)-Useful for admins/developers: