Sunday, 3 December 2017

How to Install SeedDMS on RHEL/Centos 7



SeedDMS is a very useful open source document management system. Its features are quite powerful, easy to use, but unfortunately lack of documentation. To install SeedDMS we need to install first a couple of packages in our RHEL/Centos 7.


Prerequisites: In this tutorial we are assuming that Apache/2.2.15, PHP 5.5.38 and MySQL 5.6.22 already install on the server and will install the following dependency packages:

·         php-mysql
·         php-pear
·         php-http-webdav-server
·         php-mbstring
·         php-pdo
·         php-pear-Log
·         php-ZendFramework-Search-Lucene

To install above packages use the below command on Linux terminal:

[root@ linuxcnf ~]# yum install php-mysql php-pear php-gd php-http-webdav-server php-mbstring php-pdo php-pear-Log php-ZendFramework-Search-Lucene php-pear-Image-Text

We use latest SeedDMS (version 5.1.4) which can be downloaded via sourceforge here.
Create a directory dms under /var/www/html/ and put these files into the folder dms.

[root@ linuxcnf ~]# mkdir –p /var/www/html/dms

·         seeddms-5.1.4.tar.gz
·         SeedDMS_Core-5.1.4.tgz
·         SeedDMS_Lucene-1.1.10.tgz
·         SeedDMS_Preview-1.2.4.tgz
·         SeedDMS_SQLiteFTS-1.0.7.tgz
·         README.md
·         seeddms-quickstart-5.1.4.tar.gz

Extract seeddms-quickstart-5.1.4.tar.gz using following command: 

[root@ linuxcnf ~]# tar –xvzf seeddms-quickstart-5.1.4.tar.gz

The file will be extracted with named seeddms51x inside /var/www/html/dms/.

[root@ linuxcnf ~]# mv /var/www/html/dms/seeddms51x/* /var/www/html/dms/

Install SeedDMS Pear packages using below commands:

[root@ linuxcnf ~]# pear install SeedDMS_Core-4.3.13.tgz
[root@ linuxcnf ~]# pear install SeedDMS_Lucene-1.1.5.tgz
[root@ linuxcnf ~]# pear install SeedDMS_Preview-1.1.2.tgz

Change ownership for directory /var/www/html/dms/

[root@ linuxcnf ~]# chown –R apache:apache /var/www/html/dms/

Enable web based installation tool for seed DMS by running following command:

[root@ linuxcnf ~]# touch /var/www/html/dms/conf/ENABLE_INSTALL_TOOL

In browser, access the URL <http://[Server IP]/dms> and follow instruction on the screen to completed the installation.

Fill required information as below:

·         Root directory -> /var/www/html/dms/
·         Http Root -> /dms/
·         Content directory -> /var/www/html/dms/seeddms51x/data/
·         Directory for full text index -> /var/www/html/dms/seeddms51x/data/lucene/
·         Directory for partial uploads -> /var/www/html/dms/seeddms51x/data/staging/
·         Cache directory -> /var/www/html/dms/seeddms51x/data/cache/
·         Extra PHP include Path -> /var/www/html/dms/seeddms51x/pear/

Enter Database settings configuration:

·         Database Type -> mysql
·         Server Name -> localhost
·         Database -> db_dms
·         Username -> <DB username>
·         Password -> <DB user password>

Check Create database table check box and click Apply button to create database file for the first time and Click Apply button again to continue.

Click on the Delete file ENABLE_INSTALL_TOOL link to delete the configuration file post installation

Delete file ENABLE_INSTALL_TOOL

Now the installation is done. Open the URL <http://[Server IP]/dms/> and use following credentials to login on the SeedDMS server: 

Username: admin
Password: admin

3 comments:

  1. Great instructions for version 5.1.4. does not work for 5.1.12. Could you please update for 5.1.12. this install supposedly only uses the seeddms quickstart tarball. I have been beeting my head against a wall for 4 hours. Thanks.

    ReplyDelete
  2. when i try to install the 3 pear packages i get:
    pear install SeedDMS_Preview-1.1.2.tgz
    No releases available for package "pear.php.net/SeedDMS_Preview"
    install failed

    is there something i am missing?

    ReplyDelete
    Replies
    1. Are u sure you copied the pear packages in dmsfolder?

      Delete