I have been banging my head against this for a few days now, and need some help ! I have an Ubuntu 12.04 server with media directories containing films and music etc. I have another server which is effectively a mirror of the other for all intents and purposes. What I am trying to do is:
- Use Unison to copy between the servers, and keep the directories in sync using shell scripts
- Create a webpage with links/buttons to the relevant scripts to execute them
So far I have managed to get the shell scripts up and running, which work fine. I have managed to test both that PHP is working on my primary server, and that CGI scripts are able to run. What I cannot figure out is how to create the webpage with the links/buttons. I am getting lost between using PHP / CGi / HTML and getting the output right.
Any help would be appreciated !