In this tutorial, I use latest Ubuntu server 14.10 (Utopic Unicorn) which can be downloaded via Ubuntu official website here and latest SeedDMS (version 4.3.13 ) which can be downloaded via sourceforge here. I assume you already installed Ubuntu and are familiar with Ubuntu environment.
SeedDMS is written in PHP, and uses MySQL or sqlite3 to manage the documents that were uploaded into the application. So, basically you will need:
- A web server which support PHP at least PHP 5.3
- MySQL or sqlite database
- PHP packages such as PHP GD and PHP sqlite
- Several packages to convert document into text (optional, for fulltext search purpose)
- ImageMagic to create preview image
- Zend Framework (optional, for fulltext search purpose)
- Pear framework
- Pear Log package
- Pear HTTP_WebDAV package (optional)
Here we go:
- On your Ubuntu installation, create directory /home/www-data:
sudo mkdir /home/www-data
- Download following SeedDMS files from sourceforge:
SeedDMS_Lucene-1.1.5.tgz SeedDMS_Preview-1.1.2.tgz SeedDMS_Core-4.3.13.tgz seeddms-quickstart-4.3.13.tar.gz
Put these file on /home/www-data directory - Extract seeddms-quickstart-4.3.13.tar.gz using following command:
sudo tar -xvzf seeddms-quickstart-4.3.13.tar.gz
- Install Pear packages:
sudo apt-get install php-pear
- Install additional package:
PHP GD and sqlite
sudo apt-get install php5-gd php5-sqlite
PDF and Doc conversion tool to text
sudo apt-get install poppler-utils catdoc
- Install SeedDMS Pear packages:
sudo pear install SeedDMS_Core-4.3.13.tgz sudo pear install SeedDMS_Lucene-1.1.5.tgz sudo pear install SeedDMS_Preview-1.1.2.tgz
- Install additional Pear packages:
Log
sudo pear install Log
Zend
sudo pear channel-discover zend.googlecode.com/svn sudo pear install zend/zend
- Change /home/www-data ownership
sudo chown -R www-data:www-data /home/www-data
- Create an alias for Seed DMS web application using following command:
Open apache configuration file:
sudo vi /etc/apache2/sites-enabled/000-default.conf
Add following lines after <virtualhost> tag and before </virtualhost> tag
<Directory /> Require all granted </Directory> Alias /seeddms “/home/www-data/seeddms43x/www/“ <Directory "/home/www-data/seeddms43x/www/"> DirectoryIndex index.php AllowOverride All Order deny,allow Deny from all Allow from all </Directory>
So it would be looked like this:
<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory /> Require all granted </Directory> Alias /seeddms “/home/www-data/seeddms43x/www/" <Directory "/home/www-data/seeddms43x/www/"> DirectoryIndex index.php AllowOverride All Order deny,allow Deny from all Allow from all </Directory> </VirtualHost>
You can change /seeddms variable with anything you want. - Enable mod_rewrite module by running following command:
sudo a2enmod rewrite
- Restart apache2 service:
sudo service apache2 restart
- Enable web based installation tool for seed DMS by running following command:
sudo touch /home/www-data/seeddms43x/seeddms-4.3.13/conf/ENABLE_INSTALL_TOOL
- Open your browser, and point it to http://[Ubuntu IP Address]/seeddms/install and follow instruction on the screen.
Fill required information as below:
Root directory -> /home/www-data/seeddms43x/www/
Http Root -> /seeddms/
Content directory -> /home/www-data/seeddms43x/data/
Directory for full text index -> /home/www-data/seeddms43x/data/lucene/
Directory for partial uploads -> /home/www-data/seeddms43x/data/staging/
Extra PHP include Path -> /home/www-data/seeddms43x/pear/
Leave Database settings configuration. I assume you will use sqlite database. If you intend to use mysql instead, fill mysql on Database Type text box, and fill the remaining Database settings text box according to your MySQL database configuration.
Check Create database table check box and click Apply button to create database file for the first time. Click Apply button again to continue.
- Disable web based installation tool for seed DMS by running following command:
sudo rm /home/www-data/seeddms43x/seeddms-4.3.13/conf/ENABLE_INSTALL_TOOL
- Tada.. now your SeedDMS is already installed on your Ubuntu Installation. To begin using it, enter your SeedDMS web address on your browser: http://[Ubuntu IP Address]/seeddms
- Login using following credential:
username: admin
password: admin
Thanks :)
BalasHapusSome typo
BalasHapusAlias /seeddms “/home/www-data/seeddms43x/www/“ >> Alias /seeddms "/home/www-data/seeddms43x/www/"
Thanks, you are a lifesaver
BalasHapusMas Eko, setelah saya ikuti semua langkah, sewaktu memasuki langkah ke 15, keluar pesan :
BalasHapus"The requested URL /seeddms was not found on this server."
Kira-kira dimana yang salah ya ??
Mas Eko, setelah saya ikuti semua langkah, sewaktu memasuki langkah ke 13, keluar pesan :
BalasHapus"The requested URL /seeddms was not found on this server."
Kira-kira dimana yang salah ya ??
New pear channel for Zend.
BalasHapuspear channel-discover pear.dotkernel.com/zf1/svn
have you successful install seeddms on your machine ? Pls help
HapusI have set as your guide seedDMS. But when entering the address "http://localhost/dms/out/out.ViewFolder.php", the result is a blank page. I do not know what the problem.
BalasHapusI have filled to launch web installation i dont know http://[Ubuntu IP Address] what it meens!
BalasHapusIt's your machine IP address. Here are some other references:
Hapushttps://help.ubuntu.com/stable/ubuntu-help/net-findip.html
http://www.howtogeek.com/howto/17012/how-to-find-your-ip-address-in-ubuntu/
Hi all. I finished set up seedDMS. And I do not sign in with user/password default (admin/admin). I received the notice "User or password incorrect.
BalasHapusI guess you should check the error log on /var/log/apache2/error.log
BalasHapusI have set as your guide seedDMS. But when entering the address "http://localhost/dms/out/out.ViewFolder.php", the result is a blank page. I do not know what the problem.
BalasHapusLOG:
[Tue Aug 02 12:50:25.705300 2016] [:error] [pid 13542] [client 127.0.0.1:53888] PHP Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='/var/www/html/::.:/usr/share/php:/home/dms/\n;\n; Windows: \\path1') in /var/www/html/inc/inc.ClassEmailNotify.php on line 20
[Tue Aug 02 12:50:31.623988 2016] [:error] [pid 13472] [client 127.0.0.1:53892] PHP Warning: require_once(Mail.php): failed to open stream: No such file or directory in /var/www/html/inc/inc.ClassEmailNotify.php on line 20
[Tue Aug 02 12:50:31.624042 2016] [:error] [pid 13472] [client 127.0.0.1:53892] PHP Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='/var/www/html/::.:/usr/share/php:/home/dms/\n;\n; Windows: \\path1') in /var/www/html/inc/inc.ClassEmailNotify.php on line 20
[Tue Aug 02 12:50:41.732752 2016] [:error] [pid 13473] [client 127.0.0.1:53894] PHP Warning: require_once(Mail.php): failed to open stream: No such file or directory in /var/www/html/inc/inc.ClassEmailNotify.php on line 20
[Tue Aug 02 12:50:41.732798 2016] [:error] [pid 13473] [client 127.0.0.1:53894] PHP Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='/var/www/html/::.:/usr/share/php:/home/dms/\n;\n; Windows: \\path1') in /var/www/html/inc/inc.ClassEmailNotify.php on line 20
Anybody can help?
Thanks
You should first try to deactivate email notification settings (delete all text from mail settings text boxes= and see if that helps.
BalasHapusAfterwards, you need to see on your box which package contains Mail.php file, cant test right now but I belive it is a PEAR mail package...
Hello !
BalasHapusIn step 13, when I try to access to http://[Ubuntu IP Address]/seeddms/install, I get the following result:
https://www.dropbox.com/s/jzcfdnv1pcd8pnr/Screenshot%20from%202017-08-30%2015-35-05.png?dl=0
Please Help!
Regards!
:)
I am able to follow upto Step 13 without any problem.
BalasHapusIn Step 13, first I tested the if the default page working or not by entering the Ubuntu PC IP address in web browser.
I get the Welcome page. So so far the installation is good.
now when I try Http://My Ubuntu IP/seeddms/install I get
"Not Found
The Requested URL /seeddms/install was not found on this server.
Apache/2.4.25 (ubuntu) server at 172.17.1.183 port 80"
not sure where I am going wrong.
@krish: Same here. Changed the part sudo vi /etc/apache2/sites-enabled/000-default.conf to:
BalasHapusAlias /seeddms /home/www-data/seeddms51x/www
LogLevel debug
AllowOverride None
DirectoryIndex index.php
Require all granted
and added to apache2.conf
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
can we install SeedDMS on Windows machine with XAMP ?
BalasHapusIn not a PHP developer but need to evaluate Seed DMS.
hi can you guide me to install seedms from scratch. intall via window @ ubuntu . do email me at amirul@steventai.com
BalasHapusHi,
BalasHapusSame issue.
Hi all. I finished set up seedDMS. And I do not sign in with user/password default (admin/admin). I received the notice "User or password incorrect.