Re: reinventing the wheel? page checker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jun 21, 2012 at 8:17 AM, Bob Hoffman <bob@xxxxxxxxxxxxxx> wrote:
> Not sure if there is an app like this yet.
> I want to keep tabs on my web applications and thought of using a 'page
> checker'/
>
> I was thinking either running a sum on the directory or each file...but
> thinking a simple date check would
> be fine.
>
> The idea is web application, except the uploads area for photos, never
> has changes to its files except when I change it.
>
> However, if it gets injected or hacked, I would want to know right away.
>
> So thinking of running a script every minute looking for files where the
> date changed since 'x' date or something like that.
>
> Anything out there like that?

One approach is to make the changes on a staging/test server, then
rsync them to the real server.   Then 'rsync -nv --delete' will list
any changed files.   The step beyond that is to commit all changes to
a version control system like subversion, check them out on the
staging box, then push to production with rsync - or update directly
to the tested revision on the production server(s).   The version
control system will have its own commands to show changes from the
repository version.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux