From the mind of a G33k

Generic placeholder image
Install SeedDMS on Debian

1. Install nginx and Mariadb

a. sudo apt install nginx mariadb

2. Check that nginx installed properly

a. visit http://localhost (with your favorite browser)

3. Install PHP-FPM

a. sudo apt install php-fpm

4. Install PHP-MySQL

a. sudo apt install php-mysql

5. Install PHP-Pear

a. sudo apt install php-pear

6. Install PHP-SQLite3

a. sudo apt install php-sqlite3

7. Install PHP-GD

a. sudo apt install php-gd

8. Install PHP-MbString

a. sudo apt install php-mbstring

9. Install HTTP_WebDAV via pear

a. pear install HTTP_WebDAV_Server-1.0.0RC8

10. Install Zend framework via pear

a. Enable Zend Framework -

b. pear uninstall zend/zend

c. pear channel-delete

d. pear channel-discover

e. pear install zend/zend

11. Install Log via pear

a. pear install Log

12. Download SeedDMS (seeddms-quickstart-*.tar.gz


13. Copy and Extract SeedDMS into your web folder

a. cp seeddms-quickstart-* /var/www/html

14. Edit SeedDMS initial configuration

a. cd seeddms51x

b. vim conf/settings.xml (You can use any text editor...)

c. Search file for "sqlite" and change dbDriver="sqlite" to dbDriver="mysql"

d. Search for "/home/www-data/" and change the path to "/var/www/www/html/"

15. Enable PHP on NGINX

a. vim /etc/nginx/sites-enabled/default (You can use any text editor...)

b. Search for "index" and add "index.php" before "index.html"

c. Search for "Location" and uncomment (Note. on Ubuntu please use "fastcgi_pass unix:/run/php/php7.2-fpm.sock")

Location ~ \.php$ {

include snippets/fastcgi-php.conf

fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;


d. Check for errors "nginx -t" you will receive "test is successful" 

e. Now reload NGINX "nginx -s reload"

16. Test your PHP installation

a. Create a test.php file in your webroot "vim /var/www/html/test.php"

b. In this file you need to type "<?php phpinfo() ?>"

c. Now visit http://localhost/test.php and you'll see the php info screen

17. Begin the SeedDMS Installation

a. Visit http://localhost/seeddms51x/seeddms/install

b. Enable Install Tool - "touch /var/www/html/seeddms51x/conf/ENABLE_INSTALL_TOOL"

18. Create database

a. mysql -p (enter your password)

b. now type "create database seeddms;

c. And you need to create a user "GRANT ALL PRIVILEGES ON seeddms.* TO 'seeddms'@'localhost' IDENTIFIED BY 'password';

19. Complete SeedDMS Installation

a. Click "Start installation"

b. Change database to "seeddms"

c. Click "Create database tables"

d. Change your password

e. Disable the Install Tool "rm /var/www/html/seeddms51x/conf/ENABLE_INSTALL_TOOL"

20. You're done! Login by clicking "Default login: admin/admin"

Watch the video for one hidden gem to make your installation even easier to access!

read more

Generic placeholder image
How to turn a folder of images into time lapse video with ffmpeg

On my journey to build my plant feeding device I've ventured down some fun roads.

Here is how I'm taking images and concatenating them into an mp4 with the power of ffmpeg.

ffmpeg -pattern_type glob -i 'grow_tent*.jpeg' timelapse.mp4