Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Alfresco Installation Steps

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

3/10/23, 2:16 PM GitHub - ajkr195/AlfrescoCommunityInstallation: Alfresco Community Edition New Installation Steps

ajkr195 / AlfrescoCommunityInstallation Public

Alfresco Community Edition New Installation Steps

1 star 3 forks

Star Notifications

Code Issues Pull requests Actions Projects Security Insights

main Go to file

ajkr195 Add files via upload … on Jul 15, 2021 86

View code

README.md

Alfresco Community Edition 6.2.0


Installation
Alfresco Community Edition 6.2.0 "New Installation"
All-In-One Steps (only HTTP, without SSL configuration)

Ubuntu Mate 20.04.01 LTS is used in this example

Sand-Box Pre-Requisites:

Installed JDK version - 11.x (for ubuntu - sudo apt install openjdk-11-jdk)
Installed Postgresql - 11.x. A new and empty database-name and a dbusername who is the
owner of the database and the password. https://computingforgeeks.com/install-
postgresql-11-on-ubuntu-linux/
https://pgdash.io/blog/postgres-11-getting-started.html

Automated Installation

Entire setup process takes less than 2 minutes + packages download time

https://github.com/ajkr195/AlfrescoCommunityInstallation 1/5
3/10/23, 2:16 PM GitHub - ajkr195/AlfrescoCommunityInstallation: Alfresco Community Edition New Installation Steps

1. Download alfresco_automated_installation.sh from here -


https://github.com/ajkr195/AlfrescoCommunityInstallation
2. Update these line # 8, 9, 10, and 11 as per your environment in your downloaded
alfresco_automated_installation.sh file
3. Run ./alfresco_automated_installation.sh
4. The script will download packages, unzip/untar and configure them. Jump to "System
Start" section after this.

Manual Installation

Download Links for Software Packages:

1. Distribution (ACS):
https://download.alfresco.com/cloudfront/release/community/201911-GA-build-
368/alfresco-content-services-community-distribution-6.2.0-ga.zip
2. Search Services (SOLR6):
https://download.alfresco.com/cloudfront/release/community/SearchServices/1.4.0/alf
resco-search-services-1.4.0.zip
3. ActiveMQ: http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.16.0/apache-
activemq-5.16.0-bin.tar.gz&action=download
4. Records Management (RM):
https://download.alfresco.com/cloudfront/release/community/RM/3.0.a/alfresco-
community.zip
5. Tomcat (WebServer): https://mirrors.sonic.net/apache/tomcat/tomcat-
8/v8.5.60/bin/apache-tomcat-8.5.60.tar.gz

Extract/UNZIP/UNTAR -

Extract #1 in our Alfresco_HOME. Say - /home/user/Documents/alfresco


Extract #2 in our Solr_HOME - Alfresco_HOME/alfrescoss
Extract #3 in our ActiveMQ_HOME - Alfresco_HOME/activemq
Extract #4 in Alfresco_HOME/rm-amps
Extract #5 in our Tomcat_HOME- Alfresco_HOME/tomcat
Extract Alfresco_HOME/alfresco-pdf-renderer/alfresco-pdf-renderer-1.1-linux.tgz in
this directory - Alfresco_HOME/alfresco-pdf-renderer

Files/dirs structure copy/creation steps:

https://github.com/ajkr195/AlfrescoCommunityInstallation 2/5
3/10/23, 2:16 PM GitHub - ajkr195/AlfrescoCommunityInstallation: Alfresco Community Edition New Installation Steps

1. Copy Alfresco_HOME/web-server/conf/Catalina directory in Tomcat_HOME/conf


directory
2. Copy Alfresco_HOME/web-server/shared directory inside Tomcat_HOME like so -
Tomcat_HOME/shared
3. Create a directory "lib" in Tomcat_HOME/shared/ so that you have a path -
Tomcat_HOME/shared/lib
4. Now copy Alfresco_HOME/web-server/lib/postgresql-x.y.z.jar to the directory created
in above step. That is - Tomcat_HOME/shared/lib
5. Empty Tomcat_HOME/webapps directory. That means - Delete everything inside this
directory - Tomcat_HOME/webapps
6. Now copy all .war files from Alfresco_HOME/web-server/webapps/ to
Tomcat_HOME/webapps directory
7. OPTIONAL -
Build and create your ACS REST API Explorer war file using "mvn clean install" from
here - https://github.com/Alfresco/rest-api-explorer
and here
https://github.com/Alfresco/records-management/tree/master/rm-community/rm-
community-rest-api-explorer
OR
Download them from
https://github.com/ajkr195/AlfrescoCommunityInstallation/blob/main/rest-api-
explorer.war and
https://github.com/ajkr195/AlfrescoCommunityInstallation/blob/main/rm-rest-api-
explorer.war
8. OPTIONAL -
Copy above two generated/downloaded war files to Tomcat_HOME/webapps
directory
9. Create directory - Alfresco_HOME/modules
10. Create directory - Alfresco_HOME/modules/platform
11. Create directory - Alfresco_HOME/modules/share
12. Update Tomcat_HOME/conf/catalina.properties file. Search for - "shared.loader=" and
update it like this -
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
13. Download this file -
https://github.com/ajkr195/AlfrescoCommunityInstallation/blob/main/alfresco-
global.properties and place it in this directory - Tomcat_HOME/shared/classes
Make sure you have correct database name and user+password as per pre-requisites
in this file

https://github.com/ajkr195/AlfrescoCommunityInstallation 3/5
3/10/23, 2:16 PM GitHub - ajkr195/AlfrescoCommunityInstallation: Alfresco Community Edition New Installation Steps

Configure Solr6

1. Comment/delete this line - alfresco.port.ssl=8443 in


Solr_HOME/solrhome/templates/rerank/conf/solrcore.properties
2. Change this line - alfresco.secureComms=https to alfresco.secureComms=none in
Solr_HOME/solrhome/templates/rerank/conf/solrcore.properties
3. Save and close Solr_HOME/solrhome/templates/rerank/conf/solrcore.properties file
4. Run this command Solr_HOME/solr/bin/solr start -a "-
Dcreate.alfresco.defaults=alfresco,archive"

Install Share and Records Manager (Governance Services) amp (Alfresco-Module-


Packages) files

1. java -jar Alfresco_HOME/bin/alfresco-mmt.jar install Alfresco_HOME/amps/alfresco-


share-services.amp Tomcat_HOME/webapps/alfresco.war
2. java -jar Alfresco_HOME/bin/alfresco-mmt.jar install Alfresco_HOME/rm-
amps/alfresco-rm-community-repo-3.0.a.amp Tomcat_HOME/webapps/alfresco.war
3. java -jar Alfresco_HOME/bin/alfresco-mmt.jar install Alfresco_HOME/rm-
amps/alfresco-rm-community-share-3.0.a.amp Tomcat_HOME/webapps/share.war

System Start:

1. Run this command - ActiveMQ_HOME/bin/activemq start


2. Run this command - Tomcat_HOME/bin/startup.sh & disown
3. Run this command - Solr_HOME/solr/bin/solr start

URLs:

http://localhost:8080/alfresco
http://localhost:8080/share
http://localhost:8080/rest-api-explorer
http://localhost:8080/rm-rest-api-explorer
http://localhost:8080/alfresco/service/index/all

Default Admin username and password -

admin/admin

System Stop:

Run this command - ps -ef |grep java

https://github.com/ajkr195/AlfrescoCommunityInstallation 4/5
3/10/23, 2:16 PM GitHub - ajkr195/AlfrescoCommunityInstallation: Alfresco Community Edition New Installation Steps

Identify java process ids for tomcat, solr and activemq


i. Kill tomcat instance of java (Required)
ii. Kill solr instance of java (Required)
iii. Kill acativemq instance of java (Optional)

Releases

No releases published

Packages

No packages published

Languages

Shell 100.0%

https://github.com/ajkr195/AlfrescoCommunityInstallation 5/5

You might also like