OpenDocMan is a free open source document management system comes with web-base management, which is written purely in php. It is licensed under GPL.
It provides centralized storage of documents and files, restrict access to files, automated work flow, smart storage using metadata fields for all files stored in system, quick search and browse feature with sorting filter,Â manage and track history, with support of wide range files types. It requires little resources for operations and can run on low hardware.
OpenDocMan comes with automated installation feature and upgrade. Installation:
Enough we discuss the features of OpenDocMan, let’s install this and see this master piece in action :).
Before installing OpenDocMan, you must have working LAMP (Linux, Apache and PHP)Stack.
Please refer to our post
After installing LAMP Stack, Create one database and user for OpenDocMan. Use the following procedure to create database called odmdb and user odmuser (you can use name whatever you like).
Open terminal and login into MySQL as root user using below command:
# mysql -u root -p
Enter Providing password then create database and user as mentioned above:
Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 24 Server version: 5.5.37-MariaDB MariaDB Server Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]create database odmdb; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]GRANT ALL ON odmdb.* TO odmuser@localhost IDENTIFIED BY 'BroExperts'; Query OK, 0 rows affected (0.02 sec) MariaDB [(none)]flush privileges; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | odmdb | | performance_schema | +--------------------+ 4 rows in set (0.00 sec) MariaDB [(none)]SELECT User FROM mysql.user; +---------+ | User | +---------+ | root | | root | | odmuser | | root | +---------+ 4 rows in set (0.00 sec)
# vi /etc/selinux/config
FindÂ SELINUXTYPE parameter and change it as follows
Save & Exit.
Click here to Download latest OpenDocMan tar file.
I copied link and downloading directly on my linux box using wget.
First change directory to root folder of Apache webserver.
# cd /var/www/html # wget http://citylan.dl.sourceforge.net/project/opendocman/opendocman/220.127.116.11/opendocman-18.104.22.168.tar.gz
Untar OpenDocman package
# tar -xzf opendocman-22.214.171.124.tar.gz
rename OpenDocMan extracted directory â€œopendocman-126.96.36.199â€œ into odm.
# mv opendocman-188.8.131.52 odm
Now make one directory which will contain our data files.
# mkdir /web_docs
Set the proper permission and ownership of the data directory, to make sure it will have write access for web server.
# chown apache:apache /web_docs # chmod -R ugo+w /web_docs
Make sure templates_c directory permissions, it should be writable.
# chmod -R ugo+w /var/www/html/odm/templates_c/
Now time to install and setup database connectivity using web installer.
Open browser and point your server ip till OpenDocMan directory.
Below screen will be appear, click on create a configuration file.
On next screen go to bottom of page and click on letâ€™s go button see below screen shot.
Now provide MySQL databasae name, database user, password, DB Server name, administration password for OpenDocMan and Base Url.
See in marked filed I have added all information which I have created above
After providing correct information click submit button.
Next screen may come up with warning like:
â€œSorry, but I can’t write the config.php file. You can create the config.php manually and paste the following text into it.â€
Donâ€™t be worry. We will create config.php file manually and paste all the given code in that file.
# vi /vaw/www/html/odm/config.php
Save & Exit.
Go back to your web installer and click on â€œProceed to installâ€
The next screen is asking to choice New install or upgrade your previous version.
Its clear we are installing OpenDocMan first time, so we will go with the first option starting with â€œNew installation â€
See below screen shot.
The next screen is happy screen:).
We have successfully installed OpenDocMan.
Donâ€™t forget to remove install directory.
# rm â€“fr /var/www/html/odm/install
Now open up browser and navigate main URL again.
then enter username â€œadminâ€ and password â€œBroExpertsâ€
Below screen will be appear after login.
We have covered basic setup and installation of OpenDocMan, To learn more about usage of OpenDocMan please refer to official website.