You could have a look at Zoneminder: https://www.zoneminder.com
It is free and runs on Linux, has capabilities to view and control cameras remotely using a web interface.
You can either add it to an existing Linux build (takes a while to configure) or take the much easier option of downloading a pre-built "LiveCD" linux package with the software already loaded and have it up and running very quickly.