centos上搭建alfresco+mysql-Just do myself-51CTO博客
alfresco是一款目前应用最广泛的开源企业知识管理系统(ECM),为企业提供了日常的文档管理、协同工作、工作记录管理、知识管理、网络内容管理、图片管理等多种功能搭建环境
centos6.4 64位系统
安装方式
1,下载安装mysql
使用mysql来作为alfresco的数据库
首先查看 rpm -qa |grep mysql查看是否安装mysql
安装mysql yum install mysql-server
启用mysql服务并在mysql中建好相应的数据库(alfresco)和用户,密码并授予给alfresco用户alfresco数据库的所有权限
2,准备下载好mysql-connector-java-5.x.x-bin.jar(http://dev.mysql.com/)
我用的是mysql-connector-java-5.1.17-bin.jar(java连接mysql数据库的驱动包)
3,准备下载好alfresco安装包(http://wiki.alfresco.com/wiki/Download_and_Install_Alfresco)
我用的是alfresco-community-4.2.e-installer-linux-x64.bin
4,安装alfresco
chmod +x alfresco-community-4.2.e-installer-linux-x64.bin
./alfresco-community-4.2.e-installer-linux-x64.bin
根据提示选择安装
Language Selection
Please select the installation language
English - English
French - Franais
Spanish - Espaol
Italian - Italiano
German - Deutsch
Japanese - 日本語
Dutch - Nederlands
Russian - Русский
Simplified Chinese - 简体中文
Please choose an option :(个人觉得默认用英语就好)
Installation Type
Easy - Installs servers with the default configuration
Advanced - Configures server ports and service properties.: Also choose optional components to install.
Please choose an option : 2(一定要选择数字2,用高级模式来安装)
Java :Y
PostgreSQL :n(不使用自带的这个数据库,用mysql)
Alfresco : Y (Cannot be edited)
SharePoint :Y
Web Quick Start : N
Google Docs Integration :Y
LibreOffice :Y
Is the selection above correct? : Y
Database Configuration
JDBC URL: : jdbc:mysql://127.0.0.1:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8
JDBC Driver: : org.gjt.mm.mysql.Driver
Database name: : (已创建好的数据库)
Username: []: alfresco(数据库alfresco的用户alfresco)
Password: :cienet
Verify: :cienet(这是密码(*^__^*) 嘻嘻)
Installation folder
Please choose a folder to install Alfresco Community
Select a folder : (这里指定安装路径,我选择的默认)......后面基本跟着提示来安装好就可以
安装完成alfresco以后
查看 service alfresco status 查看服务是否启动
如果启动先关掉 service alfresco stop
然后把事先下载好的mysql-connector-java-5.1.17-bin.jar 拷贝到/opt/alfresco-4.2.e/tomcat/lib路径下
然后重启alfresco服务
打开网页http://127.0.0.1:8080/share就会出现登录页面了
alfresco的基本安装就完成了
/opt/alfresco-4.2.e/tomcat/shared/classes这个路径下面的alfresco-global.properties内容是主要的核心配置文件(个人认为)自己可以看一下
写这篇算是博客吧是上个周开会manager给我布置的一个小任务让我搭建一个先自己研究搭建alfresco系统
所以利用周末下午的时间先自己做了个基本的搭建实验,本人很少写东西,倘若有问题欢迎大家指点交流
页:
[1]