views:

37

answers:

1

Hello,

I've written a web cgi application in perl and before I start to distribute it to clients, I'd like to provide an option for future updates.

I would like to know what are the standard approaches for that using free Linux tools. It is OK for the server to be stopped during updating.

Thank you,

Spasski

+1  A: 

If you have separated code from configuration and data, then the easiest way is to tar/zip the new files and unpack them onto the existing installation. If you need to update the data files, then you could include a script that makes the necessary changes.

Take a look at th bugzilla upgrade guide. I've used this process many times without a hitch.

http://www.bugzilla.org/docs/tip/en/html/upgrade.html

ar