Hello OpenKM

 

OpenKM 资源

-------------- 

官方地址

    http://www.openkm.com

源码

    http://www.openkm.com/index.pl/download

系统演示

    http://www.openkm.com:8080/OpenKM/

演示密码

    user1, pass1

    user2, pass2

    user3, pass3...

 

 

OpenKM配置

--------------

环境变量

配置JBoss

  我的电脑-->环境变量-->系统环境变量-->新建-->name:JBOSS_HOME,value:jboss目录

  附:JBoss服务配置文件位置

      OpenKM-5.0.3_JBoss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/server.xml

 

配置JDK

新建-->name:JAVA_HOME,value:jdk目录

打开-->name:Path,添加value:%JAVA_HOME%/bin;

  -->这个时候运行 %JBOSS_HOME%/bin/run.bat

  -->键入 http://localhost:8080/OpenKM

  -->user:okmAdmin  password:admin

 

主配置文件

-------------

%JBOSS_HOME%/OpenKM.cfg

 

 

 

 

 

用户组配置

-------------

{JBoss.Home}/server/default/conf/props目录下面,包含三个文件:

openkm-users.properties

openkm_roles.properties

openkm_emails.properties

用户/权限/邮件

 

 

数据库配置

-------------

{JBoss.Home}中找到repository.xml位置打开.此文转载,未具体操作.

<?xml version="1.0"?> <Repository> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> <param name="driver" value="com.mysql.jdbc.Driver"/> <param name="url" value="jdbc:mysql://192.168.1.3/openkm?autoReconnect=true"/> <param name="schemaObjectPrefix" value="rep_"/> <param name="schema" value="mysql"/> <param name="user" value="openkm"/> <param name="password" value="123456"/> </FileSystem> <Security appName="OpenKM"> <AccessManager class="es.git.openkm.core.OKMAccessManager"/> <!-- <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager"/> --> </Security> <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" /> <Workspace name="${wsp.name}"> <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> <param name="path" value="${wsp.home}"/> </FileSystem> <PersistenceManager class="org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager"> <param name="driver" value="com.mysql.jdbc.Driver"/> <param name="url" value="jdbc:mysql://192.168.1.3/openkm?autoReconnect=true"/> <param name="schemaObjectPrefix" value="${wsp.name}_"/> <param name="schema" value="mysql"/> <param name="externalBLOBs" value="false"/> <param name="user" value="openkm"/> <param name="password" value="123456"/> </PersistenceManager> <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> <param name="path" value="${wsp.home}/index"/> <param name="useCompoundFile" value="true"/> <param name="minMergeDocs" value="100"/> <param name="volatileIdleTime" value="3"/> <param name="maxMergeDocs" value="100000"/> <param name="mergeFactor" value="10"/> <param name="bufferSize" value="10"/> <param name="cacheSize" value="1000"/> <param name="forceConsistencyCheck" value="false"/> <param name="autoRepair" value="true"/> <param name="analyzer" value="org.apache.lucene.analysis.standard.StandardAnalyzer"/> <param name="respectDocumentOrder" value="false"/> <param name="textFilterClasses" value=" org.apache.jackrabbit.core.query.lucene.TextPlainTextFilter, org.apache.jackrabbit.extractor.MsExcelTextExtractor, org.apache.jackrabbit.extractor.MsPowerPointTextExtractor, org.apache.jackrabbit.extractor.MsWordTextExtractor, org.apache.jackrabbit.extractor.PdfTextExtractor, org.apache.jackrabbit.extractor.HTMLTextExtractor, org.apache.jackrabbit.extractor.XMLTextExtractor, org.apache.jackrabbit.extractor.RTFTextExtractor, org.apache.jackrabbit.extractor.OpenOfficeTextExtractor" /> </SearchIndex> </Workspace> <Versioning rootPath="${rep.home}/version"> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> <param name="driver" value="com.mysql.jdbc.Driver"/> <param name="url" value="jdbc:mysql://192.168.1.3/openkm?autoReconnect=true"/> <param name="schemaObjectPrefix" value="ver_rep_"/> <param name="schema" value="mysql"/> <param name="user" value="openkm"/> <param name="password" value="123456"/> </FileSystem> <PersistenceManager class="org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager"> <param name="driver" value="com.mysql.jdbc.Driver"/> <param name="url" value="jdbc:mysql://192.168.1.3/openkm?autoReconnect=true"/> <param name="schemaObjectPrefix" value="ver_"/> <param name="schema" value="mysql"/> <param name="externalBLOBs" value="false"/> <param name="user" value="openkm"/> <param name="password" value="123456"/> </PersistenceManager> </Versioning> </Repository>  

 repositionry.xml

----------------------

Jackrabbit的数据仓库配置文件.

详细配置信息地址

  http://jackrabbit.apache.org/jackrabbit-configuration.html

具体翻译:

FileSystem: The virtual file system used by the repository to store things like registered namespaces and node types.

--虚拟文件系统库,用来储存诸如注册命名空间和节点类型的东西

Security: Authentication and authorization configuration.

--认证和授权的配置

Workspaces: Configuration on where and how workspaces are managed.

-- 配置工作区的位置和如何进行管理。

Workspace: Default workspace configuration template.

-- 默认工作区配置模板。

Versioning: Configuration of the repository-wide version store.

-- 配置存储库的全版本存储。

SearchIndex: Configuration of the search index that covers the repository-wide /jcr:system content tree.

-- 配置的搜索索引库,涵盖了全/ JCR的:系统内容树。

Cluster: Clustering configuration.

-- 集群配置。

DataStore: Data store configuration.

-- 数据存储配置。

 

${rep.home}: Repository home directory.

-- 仓库主要目录文件

${wsp.name}: Workspace name. Only available in workspace configuration.

-- 工作区的名称。仅适用于工作区配置。

${wsp.home}: Workspace home directory. Only available in workspace configuration.

-- 工作区的主目录。仅适用于工作区配置。

 

你可能感兴趣的:(mysql,jdbc,jboss,schema,Class,NameSpaces)