How to install OpenDocMan on a Linux VPS
OpenDocMan is an open source web-based document management software used for anyone looking to keep their documentation in a centralized repository.
To install and use OpenDocMan on Linux virtual server make sure it has the minimum requirements: Apache 2.x or any other web server that supports PHP, MySQL Server 5.0+ and PHP 5+ compiled with MySQL-Support.
The installation process is very easy and straightforward and it takes less than five minutes to complete:
mkdir /var/www/html/opendocman cd /var/www/html/opendocman
Download the latest version of OpenDocMan from http://sourceforge.net/projects/opendocman/files/ and extract it on your server using the following commands:
wget http://sourceforge.net/projects/opendocman/files/opendocman/188.8.131.52b/opendocman-184.108.40.206b.tar.gz/download tar -xvzf opendocman*.tar.gz
Create a directory for the files to be stored which is accessible to the Apache web server, but not Internet-accessible:
mkdir /home/odm-datadir/ chown apache:apache /home/odm-datadir/
Create a new .htaccess file:
and add the following lines:
order allow,deny deny from all
Create ‘templates_c’ directory:
mkdir /var/www/html/opendocman/templates_c chown apache:apache /var/www/html/opendocman/templates_c
Log in to MySQL console and create a database called ‘opendocman’:
# mysql -u root -p mysql> create database opendocman; mysql> GRANT ALL PRIVILEGES ON opendocman . * TO opendocman@'localhost' IDENTIFIED BY 'xxxxxx' WITH GRANT OPTION; mysql> flush privileges; mysql> quit
Do not forget to change ‘xxxxxx’ with your ‘opendocman’ MySQL user password.
Load the OpenDocMan page in your web browser, for example http://your-domain.com/opendocman/ and follow the prompts: Click on the ‘Create a Configuration File’ button to create a config.php file. On the next page, click the ‘Let’s go!’ button, enter your MySQL database name, username and password, administrator password, data directory (/home/odm-datadir/), base URL where OpenDocMan will be running from and finally click ‘Submit’. On the next page click on the ‘Run the install’ button, then click the ‘New installation of the v220.127.116.11a release of OpenDocMan (Will wipe any current data!)’ hyperlink and write down your admin password.
Remove the ‘install’ directory before proceeding:
rm -rf /var/www/html/opendocman/install/
Log in at https://your-domain.com/opendocman/ as ‘admin’, then open https://your-domain.com/opendocman/admin.php page and edit the site settings, add users, departments, categories, files, etc. That’s it!
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install OpenDocMan for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.