Install Alfresco Content Service 6.0 on ubuntu 16 using distribution zip

  1. Download installation in a dir ‘ALF_INSTALL_DIR’
    1. Alfresco Content ServicesDistribution (alfresco-content-services-distribution-6.0.x.zip
    2. Alfresco Search ServicesDistribution (alfresco-search-services-1.3.x.zip)
    3. Alfresco File Transfer Receiver (Optional)
    4. apache-tomcat-8.5.28.tar.gz
  1. Extract installations
  2. Rename (optional)
    1. alfresco-content-services-community-distribution-6.0.7-ga to ‘acs’
    2. Apache-tomcat-8.5.28 to ‘tomcat’
  3. Move ‘tomcat’ folder to ‘ALF_INSTALL_DIR/acs’ folder
  4. Move ‘alfresco-search-services’ folder to ‘ALF_INSTALL_DIR/acs’ folder
  1. Create ‘amps_share’ directory under ‘ALF_INSTALL_DIR/acs’
  2. Move ‘conf’ directory from ‘ALF_INSTALL_DIR/acs/web-server/’ to ‘ALF_INSTALL_DIR/acs/tomcat’
  3. Move ‘lib’ directory from ‘ALF_INSTALL_DIR/acs/web-server/’ to ‘ALF_INSTALL_DIR/acs/tomcat’
  4. Move ‘shared’ directory from ‘ALF_INSTALL_DIR/acs/web-server/’ to ‘ALF_INSTALL_DIR/acs/tomcat’
  5. Move ‘conf’ directory from ‘ALF_INSTALL_DIR/acs/web-server/’ to ‘ALF_INSTALL_DIR/acs/tomcat’
  6. Move alfresco.war, share.war, ROOT.war from ‘ALF_INSTALL_DIR/acs/web-server/webapps’ to ‘ALF_INSTALL_DIR/acs/tomcat/webapps’
  7. Remove all directories in 'ALF_INSTALL_DIR/acs/tomcat/webapps.
  8. Have a JDBC connector ‘mysql-connector-java-5.1.42.jar’ in ALF_INSTALL_DIR/acs/tomcat/lib
  9. Unzip ‘alfresco-pdf-renderer-1.1-linux.tgz’ from 'ALF_INSTALL_DIR/acs/alfresco-pdf-renderer/
  10. Delete ‘alfresco-pdf-renderer-1.1-win64.tgz’ from ‘ALF_INSTALL_DIR/acs/alfresco-pdf-renderer/’
  11. Create directory ‘modules/platform’ and ‘modules/share’ under ‘ALF_INSTALL_DIR/acs’
  12. Apply amps using ‘./ALF_INSTALL_DIR/acs/bin/apply_amps.sh’
  1. Install MySql
  2. Install ImageMagick
    1. Removing ImageMagick package
$ sudo apt-get remove imagemagick
  1. Installing the build dependencies:
$ sudo apt-get update
$ sudo apt-get install build-essential checkinstall libx11-dev libxext-dev zlib1g-dev libpng12-dev libjpeg-dev libfreetype6-dev libxml2-dev
$ sudo apt-get build-dep imagemagick
  1. Downloading ImageMagick sources:
wget https://ayera.dl.sourceforge.net/project/imagemagick/old-sources/7.x/7.0/ImageMagick-7.0.3-10.tar.xz
  1. Preparing and building:
$ tar -xzvf ImageMagick-7.0.3-10.tar.xz
$ cd ImageMagick-7.0.3-10
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib
  1. Run solr using command form ALF_INSTALL_DIR/acs/alfresco-search-services/
./solr/bin/solr start -a "-Dcreate.alfresco.defaults=alfresco,archive"
  1. Verify alfresco-global.properties
dir.root=ALF_INSTALL_DIR/acs/alf_data
dir.keystore=${dir.root}/keystore

db.username=root
db.password=root

img.exe=convert
img.root=/usr/local/bin

db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco6?useUnicode=yes&characterEncoding=UTF-8&useSSL=false

db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco_acs?useUnicode=yes&characterEncoding=UTF-8

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

alfresco-pdf-renderer.root=ALF_INSTALL_DIR/acs/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

index.subsystem.name=solr6
solr.secureComms=none
solr.port=8983

  1. Start the tomcat ./startup.sh from ‘ALF_INSTALL_DIR/acs/tomcat/bin’

Comments

  1. I want to install alfresco 6.0 on my machine that is windows 10 pro please help me regarding installation. And one more thing how to install alfresco-search-services in windows and ubuntu.

    ReplyDelete
  2. Great Post!!! thanks for sharing this good information with us.
    Applications of Data Science
    Basics of Data Science

    ReplyDelete

Post a Comment

Popular posts from this blog

Alfresco basic authentication

Lucene and fts-search