cancel
Showing results for 
Search instead for 
Did you mean: 

i'm trying to install alfresco comunity from a distribution zip

KnGod
Champ in-the-making
Champ in-the-making

i think i did well mounting the apache tomcat(at least the share page shows in my explorer) the problem is the database integration i don't know what i have to do to configure a database for alfresco or if i have to. At least i want to be able to create an account externally so i can log in and see if i did everything fine during the process. For the database i have postgres and mySQL just don't know what to do with that

2 ACCEPTED ANSWERS

Vic
Confirmed Champ
Confirmed Champ

You have to manually create a database (or a scheme, depending on the DBMS you use). I. e. in MySQL something like this:

DROP DATABASE IF EXISTS `alfresco`;
CREATE DATABASE `alfresco` DEFAULT CHARACTER SET utf8;

Next step you'll have to create a database account for Alfresco and grant to it all privileges for the created scheme.

Then, in alfresco-global.properties provide all the required parameters

db.username=${alfresco.db.username}
db.password=${alfresco.db.password}
db.driver=${db.driver}
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}?useUnicode=yes&characterEncoding=UTF-8

Replace ${} placeholders with actual values.

That is all that you need to do regarding database configuration. When you start Alfresco it will create all the neccesary tables in the specified database.

View answer in original post

abhinavmishra14
World-Class Innovator
World-Class Innovator

You can disable CSRF by adding following config in share-config-custom.xml, you need to add the following lines:

<config evaluator="string-compare" condition="CSRFPolicy" replace="true">
   <filter/>
</config>

After restart, the error should go hopefully. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

7 REPLIES 7