[go: up one dir, main page]

Skip to content

mcgitty/install-alfresco-6x.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

A script to install Alfresco Community 6.x and 7.x

Motivation

Alfresco 6.0 switching to container deployment is a good thing. What's wrong with a well configured stand-alone Alfresco Community? Nothing!

Download Three Files

This Bash script automates the installation of Alfresco ACS Community 6.x and 7.x. It looks for 3 downloaded files in the same folder of the script or a folder specified as the script's first parameter.

and optionally:

The above links are for Tomcat 9.0.37, ACS 6.2.0-ga, Search Services 1.4.3.4 and Share 6.2.2.6. For Alfresco 7.2, use these with Tomcat 9.0.37:

Here are links for older versions:

Run The Install Script

Create an empty folder into which a stand-alone Alfresco Community will be installed. Be sure to set the environment variable JAVA_HOME. Then run the installation script, assuming everything else is in the parent folder:

mkdir 6.2.0-ga
cd 6.2.0-ga
../install-alfresco-6x.sh

The script will install all three archives, create or modify configuration files and startup scripts, download MySQL JDBC driver and the missing PDF renderer for Mac, start Solr6. It also applies the Share module for alfresco.war, which will ask you to press a few keys in between.

Create Your MySQL Schema

The script creates file tomcat/shared/classes/alfresco-global.properties with these MySQL database settings:

  • Schema name: alf620ce
  • User name: alfresco
  • Password: alfresco

Here are the MySQL commands to create the schema:

$ mysql -u root
create schema alf620ce default character set utf8;
create user 'alfresco'@'localhost' identified by 'alfresco';
grant all on alf620ce.* to 'alfresco'@'localhost' with grant option;

Start and Stop Alfresco

./alfresco.sh start
./alfresco.sh jpda start # Start with debug
./alfresco.sh stop

Start and Stop Solr 6

The install script already starts Solr 6 for you. Subsequent start and stop commands are:

search-services/solr/bin/solr start
search-services/solr/bin/solr stop

Host Environments

This install script works in Mac OSX and Ubuntu. It should also work in other flavors of Linux, but it has not been tested in Cygwin or MinGW on Windows.

.

About

A script to install Alfresco Community 6.x and 7.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages