Another option is zoneminder. You will need to add the zoneminder repository:
apt-get install software-properties-common python-software-properties
add-apt-repository ppa:iconnor/zoneminder
apt-get update
You will also need apache2 ubuntu-restricted-extras libav-tools x264:
sudo apt-get install apache2 ubuntu-restricted-extras libav-tools x264
Click here for more instructions on how to set up mysql and php.
Then,
Follow the instructions here and be patient with the setup. You will probably have to mess around with the individual camera settings before it will work.
You can set up passwords for security so that not just anybody can see the camera. They will have access to the server through any web browser.
The zoneminder server will auto start when you start ubuntu and it runs in the background.
After you get it set up, you can take note of the URL (using the static ip of your computer) for the camera feed to give to users to access the camera if you like or you can inspect the html to get the feed URL to set up a minimal page of your own on your apache server accessible on the local network.
www.zoneminder.com/wiki/index.php/Main_Documentation
www.zoneminder.com/wiki/index.php/Ubuntu_Server_14.04_64-bit_with_Zoneminder_1.28.0_the_easy_way
www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu