---
title: "Alfresco 4.0安装手把手教程"
author: "IThead"
date: "2012-10-15T14:52:01Z"
tags: []
categories: ["企业架构"]
slug: "alfresco-4-0"
draft: false
lastmod: "2012-10-25T16:54:57Z"
id: 1698557
url: "https://ithead.iteye.com/blog/1698557"
---

**教程见附件**，安装之后，**<span style="color:red">注意事项：</span>**
具体如下：在装好后的文件夹中，找“tomcat\shared\classes\alfresco-global.properties”，修改“database connection properties ”下面内容如下：


```xml
......
### database connection properties ###
db.driver=com.mysql.jdbc.Driver
db.username=root
db.password=root1234
db.name=alfresco_install
db.url=jdbc:mysql://192.168.139.139:3306/alfresco_install?useUnicode=true&amp;characterEncoding=UTF-8
......
```


常见错误二：
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property 
is pointing to the correct data location. 

alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco 下的repository.properties文件中： 
# Change the failure behaviour of the configuration checker 
**system.bootstrap.config_check.strict=true** 
改为： 
# Change the failure behaviour of the configuration checker 
**system.bootstrap.config_check.strict=false** 

修改好之后需要重启服务，cmd - services.msc，找到服务：alfrescoTomcat。

启动存在异常，参考我的另一篇文章： <http://ithead.iteye.com/blog/1697120>