Can Linux be used as the server for photos?

Yes. The only stipulation is that the tool used to drop the photo directories onto DBGallery, such as Windows Explorer, uses backslashes ( \ ) instead of forward slashes ( / ).