码迷,mamicode.com
首页 > 其他好文 > 详细

快速搭建Seeddms文档管理系统

时间:2017-03-03 01:31:16      阅读:2697      评论:0      收藏:0      [点我收藏+]

标签:建立   webkit   ide   begin   string   review   打开   redhat   admin   

    Seddms文档管理系统是开源的

环境:

Redhat6.5

lamp

01、LAMP的安装

安装请看:http://www.cnblogs.com/xiaochina/p/6442337.html

###数据库采用mysql

create database seeddms;

grant all on seedms.*  to ‘seeddms‘@‘%‘ identified by ‘123123‘;

grant all on seedms.*  to ‘seeddms‘@‘localhost‘ identified by ‘123123‘;

###数据库采用默认sqlite

yum install -y sqlite sqlite-devel

02、安装seedms查询依赖组件

yum install  -y   php-ZendFramework    php-ZendFramework-Search-Lucene

03、修改默认配置文件

修改seeddms\conf\settings.xml

  • 修改server

  <!-- rootDir: Path to where SeedDMS is located
       - httpRoot: The relative path in the URL, after the domain part. Do not include the
       -           http:// prefix or the web host name. e.g. If the full URL is
      -           http://www.example.com/seeddms/, set $_httpRoot = "/seeddms/".
      -           If the URL is http://www.example.com/, set $_httpRoot = "/".
       - contentDir: Where the uploaded files are stored (best to choose a directory that
       -             is not accessible through your web-server)
       - stagingDir: Where partial file uploads are saved
       - luceneDir: Where the lucene fulltext index i? saved
       - logFileEnable: set false to disable log system
       - logFileRotation: the log file rotation (h=hourly, d=daily, m=monthly)
       - enableLargeFileUpload: support for jumploader
       - partitionsize: size of chunk uploaded by jumploader
       - dropFolderDir: where files for document upload are located
       - cacheDir: where the preview images are saved
    -->

<server 

rootDir="/var/www/html/seeddms/" 

httpRoot="/seeddms/" 

contentDir="/var/www/html/seeddms/data/" 

stagingDir="/var/wwww/html/seeddms/data/staging/" 
luceneDir="/var/www/html/seeddms/data/lucene/" 

logFileEnable="true" logFileRotation="d" enableLargeFileUpload="true" partitionSize="2000000" cacheDir="/var/www/html/seeddms/data/cache/" 

dropFolderDir="/var/www/html/seeddms/data/upload/">
</server>

参数说明

<!-- coreDir: Path to SeedDMS_Core (optional)
       - luceneClassDir: Path to SeedDMS_Lucene (optional)
       - contentOffsetDir: To work around limitations in the underlying file system, a new
       -                   directory structure has been devised that exists within the content
       -                   directory ($_contentDir). This requires a base directory from which
       -                   to begin. Usually leave this to the default setting, 1048576, but can
       -                   be any number or string that does not already exist within $_contentDir. 
       - maxDirID: Maximum number of sub-directories per parent directory. Default: 0, use 31998 (maximum number of dirs in ext3) for a multi level content directory.
       - updateNotifyTime: users are notified about document-changes that took place within the last "updateNotifyTime" seconds
       - extraPath: Path to addtional software. This is the directory containing additional software like the adodb directory, or the pear Log package. This path will be added to the php include path
    -->

 <server coreDir="/var/www/html/seeddms/pear/SeedDMS/" 
 luceneClassDir="/var/www/html/seeddms/pear/SeedDMS/" contentOffsetDir="1048576" maxDirID="0" updateNotifyTime="86400" 
extraPath="/var/www/html/seeddms/pear/" maxExecutionTime="30" cmdTimeout="1"> </server>

修改数据库,sqlite默认的

 <!--
       - dbDriver: DB-Driver used by adodb (see adodb-readme)
       - dbHostname: DB-Server
       - dbDatabase: database where the tables for seeddms are stored (optional - see adodb-readme)
       - dbUser: username for database-access
       - dbPass: password for database-access
    -->   

<database dbDriver="sqlite" dbHostname="localhost" dbDatabase="/var/www/html/seeddms/data/content.db" dbUser="seeddms" dbPass="seeddms" doNotCheckVersion="false">
</database>

如果需要设定mysql数据库可以注释掉sqlite

<database dbDriver="mysql" dbHostname="localhost" dbDatabase="seeddms" dbUser="seeddms" dbPass="123123" doNotCheckVersion="false">

</database

建立install记录文件

在seeddms\conf目录下建一个ENABLE_INSTALL_TOOL

通过http://localhost/seeddms/install/install.php访问到安装界面了。在安装界面里勾上create_table 创建

安装完毕,打开http://localhost/seeddms,就OK,默认登录用户admin/admin

技术分享

 

 

相关文件下载:

    http://pan.baidu.com/s/1jIyVhUQ

官方下载:

   http://www.seeddms.org/index.php?id=7

快速搭建Seeddms文档管理系统

标签:建立   webkit   ide   begin   string   review   打开   redhat   admin   

原文地址:http://www.cnblogs.com/xiaochina/p/6442523.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!