Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm interested if there is a way to search for all outdated installations of CMS systems on my server ( RHEL). For example, is there a way to automatically search for all old versions of Joomla CMS that would need updating ?

share|improve this question

2 Answers 2

Like, find(1) ?(*) (unless you are using a packaged version. In which case u should not have more than ONE up-to-date version of the software).

(*) As in

find / -path '*/joomla/*' -name 'version.php' | xargs fgrep 'var $RELEASE'
share|improve this answer
    
How would you use find to do this ? –  Iain Mar 5 '12 at 14:28
    
find / -path '/joomla/' -name 'version.php' | xargs fgrep 'var $RELEASE' –  Alien Life Form Mar 5 '12 at 14:55
8  
I found it fascinating that you thought your (non) answer was worth the effort to write. Not everyone would have a solution for this question but many can spot a poor answer when they see one. If you edit your answer to include the find command you put in the comment above then (if they choose to do so) the down voters could remove their votes right now they can't. –  Iain Mar 5 '12 at 15:04
    
I'm not sure I'm getting your point? –  Alien Life Form Mar 5 '12 at 15:46

Doesn't RHEL use RPM as its package manager. In that case you could query RPM for this information. Here's a link to some information about that.

share|improve this answer
    
Well the question was specifically about searching for installations. Presumably the questioner knows whether or not they are the kind of person that installs things via a package manager or not. There are definitely RPMs available for Joomla. I don't see why you think this is a bad answer. –  Dominic Cronin May 24 '12 at 18:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.