06-09-2021 05:15 AM
Hello,
I am starting with installation alfresco-content-services-community-distribution-7.0.0 from .zip.
I follow instruction on the page https://docs.alfresco.com/content-services/6.2/install/zip/
and I cann't find alfresco-pdf-renderer into .zip distribution.
Can You suggest some direction about this.
I read about Install Transform Service on the page https://docs.alfresco.com/transform-service/latest/install/#install-with-zip but prerequisits are the same include alfresco-pdf-renderer.
This is from installation tutorial.
In a non-containerized environment you need to install the following software before installing Transform Services:
Thanks in advanced
06-09-2021 06:09 PM
From legacy tansformation was deprecated in previous version and now removed from acs7. So for local installation also you have to use the transformation service. Just installing the components aren't enough. Properties have also change in new version.
If you are installing acs using distribution package and planning to use transformations then use transformation service.
There are two options:
1- Launch transformation service (tranform-core-aio + activemq docker images) on docker and keep the host and port accessible to your local installation. Use the following properties in local alfresco-global.properties
messaging.broker.url=tcp://localhost:61616 localTransform.core-aio.url=http://localhost:8090/
local.transform.service.enabled=true [True by default, Just for FYI here]
messaging.subsystem.autoStart=true [True by default, Just for FYI here]
e.g.:
version: "2" services: transform-core-aio: image: alfresco/alfresco-transform-core-aio:2.4.0
mem_limit: 1536m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" ports: - 8090:8090 activemq: image: alfresco/alfresco-activemq:5.16.1 mem_limit: 1g ports: - 8161:8161 # Web Console - 5672:5672 # AMQP - 61616:61616 # OpenWire - 61613:61613 # STOMP
2- Install the activemq, imagemagick, libreoffice, pdf renderer and tranform all in one boot project jar file and start transform-core-aio boot app with following params:
java -DPDFRENDERER_EXE="<alfresco-pdf-renderer_installation_dir>/alfresco-pdf-renderer" -DLIBREOFFICE_HOME="<libreoffice_installation_dir>" -DIMAGEMAGICK_ROOT="<imagemagick_installation_dir>" -DIMAGEMAGICK_DYN="<imagemagick_installation_dir>/lib" -DIMAGEMAGICK_EXE="<imagemagick_installation_dir>/bin/convert" -DACTIVEMQ_URL=failover:(tcp://server:61616)?timeout=3000 -jar alfresco-transform-core-aio-boot-x.y.z.jar
example:
java -DPDFRENDERER_EXE="/usr/local/acs70ga-community/alfresco-pdf-renderer/alfresco-pdf-renderer" -DLIBREOFFICE_HOME="/usr/local/acs70ga-community/libreoffice" -DIMAGEMAGICK_ROOT="/usr/local/acs70ga-community/imagemagick" -DIMAGEMAGICK_DYN="/usr/local/acs70ga-community/imagemagick" -DIMAGEMAGICK_EXE="/usr/local/acs70ga-community/imagemagick/convert" -DACTIVEMQ_URL=failover:(tcp://localhost:61616)?timeout=3000 -jar alfresco-transform-core-aio-boot-2.4.0.jar
Windows 10 example:
java -DPDFRENDERER_EXE="c:\\acs70ga-community\\alfresco-pdf-renderer\\alfresco-pdf-renderer.exe"
-DLIBREOFFICE_HOME="c:\\acs70ga-community\\libreoffice"
-DIMAGEMAGICK_ROOT="c:\\acs70ga-community\\imagemagick"
-DIMAGEMAGICK_DYN="c:\\acs70ga-community\\imagemagick"
-DIMAGEMAGICK_EXE="c:\\acs70ga-community\\imagemagick\\convert.exe"
-DACTIVEMQ_URL=failover:(tcp://localhost:61616)?timeout=3000
-jar alfresco-transform-core-aio-boot-2.4.0.jar
Global properties:
messaging.broker.url=tcp://localhost:61616 localTransform.core-aio.url=http://localhost:8090/
local.transform.service.enabled=true [True by default, Just for FYI here]
messaging.subsystem.autoStart=true [True by default, Just for FYI here]
Download activemq:
https://archive.apache.org/dist/activemq/5.16.1/apache-activemq-5.16.1-bin.tar.gz
https://archive.apache.org/dist/activemq/5.16.1/apache-activemq-5.16.1-bin.zip
Download libreoffice:
Windows:
Download imagemagick:
Repo: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Windows:
https://imagemagick.org/script/download.php#windows
Download pdf renderer:
Windows:
Transform core all in one project:
Download Transform core all in one jar:
Here you can find detailed steps for installing using distribution package but it is for ACS 6.x but may be helpful if you are installing from scratch:
https://javaworld-abhinav.blogspot.com/2020/12/setup-acs62-ga-and-ass14-distribution-stepbystep.html
06-09-2021 06:09 PM
From legacy tansformation was deprecated in previous version and now removed from acs7. So for local installation also you have to use the transformation service. Just installing the components aren't enough. Properties have also change in new version.
If you are installing acs using distribution package and planning to use transformations then use transformation service.
There are two options:
1- Launch transformation service (tranform-core-aio + activemq docker images) on docker and keep the host and port accessible to your local installation. Use the following properties in local alfresco-global.properties
messaging.broker.url=tcp://localhost:61616 localTransform.core-aio.url=http://localhost:8090/
local.transform.service.enabled=true [True by default, Just for FYI here]
messaging.subsystem.autoStart=true [True by default, Just for FYI here]
e.g.:
version: "2" services: transform-core-aio: image: alfresco/alfresco-transform-core-aio:2.4.0
mem_limit: 1536m environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" ports: - 8090:8090 activemq: image: alfresco/alfresco-activemq:5.16.1 mem_limit: 1g ports: - 8161:8161 # Web Console - 5672:5672 # AMQP - 61616:61616 # OpenWire - 61613:61613 # STOMP
2- Install the activemq, imagemagick, libreoffice, pdf renderer and tranform all in one boot project jar file and start transform-core-aio boot app with following params:
java -DPDFRENDERER_EXE="<alfresco-pdf-renderer_installation_dir>/alfresco-pdf-renderer" -DLIBREOFFICE_HOME="<libreoffice_installation_dir>" -DIMAGEMAGICK_ROOT="<imagemagick_installation_dir>" -DIMAGEMAGICK_DYN="<imagemagick_installation_dir>/lib" -DIMAGEMAGICK_EXE="<imagemagick_installation_dir>/bin/convert" -DACTIVEMQ_URL=failover:(tcp://server:61616)?timeout=3000 -jar alfresco-transform-core-aio-boot-x.y.z.jar
example:
java -DPDFRENDERER_EXE="/usr/local/acs70ga-community/alfresco-pdf-renderer/alfresco-pdf-renderer" -DLIBREOFFICE_HOME="/usr/local/acs70ga-community/libreoffice" -DIMAGEMAGICK_ROOT="/usr/local/acs70ga-community/imagemagick" -DIMAGEMAGICK_DYN="/usr/local/acs70ga-community/imagemagick" -DIMAGEMAGICK_EXE="/usr/local/acs70ga-community/imagemagick/convert" -DACTIVEMQ_URL=failover:(tcp://localhost:61616)?timeout=3000 -jar alfresco-transform-core-aio-boot-2.4.0.jar
Windows 10 example:
java -DPDFRENDERER_EXE="c:\\acs70ga-community\\alfresco-pdf-renderer\\alfresco-pdf-renderer.exe"
-DLIBREOFFICE_HOME="c:\\acs70ga-community\\libreoffice"
-DIMAGEMAGICK_ROOT="c:\\acs70ga-community\\imagemagick"
-DIMAGEMAGICK_DYN="c:\\acs70ga-community\\imagemagick"
-DIMAGEMAGICK_EXE="c:\\acs70ga-community\\imagemagick\\convert.exe"
-DACTIVEMQ_URL=failover:(tcp://localhost:61616)?timeout=3000
-jar alfresco-transform-core-aio-boot-2.4.0.jar
Global properties:
messaging.broker.url=tcp://localhost:61616 localTransform.core-aio.url=http://localhost:8090/
local.transform.service.enabled=true [True by default, Just for FYI here]
messaging.subsystem.autoStart=true [True by default, Just for FYI here]
Download activemq:
https://archive.apache.org/dist/activemq/5.16.1/apache-activemq-5.16.1-bin.tar.gz
https://archive.apache.org/dist/activemq/5.16.1/apache-activemq-5.16.1-bin.zip
Download libreoffice:
Windows:
Download imagemagick:
Repo: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Windows:
https://imagemagick.org/script/download.php#windows
Download pdf renderer:
Windows:
Transform core all in one project:
Download Transform core all in one jar:
Here you can find detailed steps for installing using distribution package but it is for ACS 6.x but may be helpful if you are installing from scratch:
https://javaworld-abhinav.blogspot.com/2020/12/setup-acs62-ga-and-ass14-distribution-stepbystep.html
06-27-2021 10:28 AM
@Damir-Kovacevic checkout this post for reference: Local Transformation Service Setup
Explore our Alfresco products with the links below. Use labels to filter content by product module.