Setup new zoneminder ubuntu server 14.04

1. Download Ubuntu Server ISO (choose Bittorent LTS Server)
http://www.ubuntu.com/download/alternative-downloads

2. Install Ubuntu Server (need internet connection, install Basic Server, OpenSSH, LAMP, Samba)
http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.28.0_the_easy_way

3. Install Webmin
http://www.webmin.com/deb.html

4. Configure dedicated HDD storage (optional)
a. List partitions
lsblk
b. List UUID
blkid
c. Configure fstab (using UUID or device path)
http://www.zoneminder.com/wiki/index.php/Using_a_dedicated_Hard_Drive

5. Configure samba (optional)
https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface/Linux%20Terminal%29%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way!

6. Install/Configure ffmpeg (optional, if you want to export video)
https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
http://www.zoneminder.com/wiki/index.php/How_to_export_an_event_as_video

7. Add cameras
http://www.zoneminder.com/wiki/index.php/D-Link#DCS-5010L_and_DCS-5020L
http://www.zoneminder.com/wiki/index.php/D-Link_DCS-5020L_Control_Script
http://www.zoneminder.com/wiki/index.php/SC-3171

8. Enjoy