Difference between revisions of "GetSoftwareVersions"

From Request Tracker Wiki
Jump to navigation Jump to search
m (2 revisions imported)
 
(Add 'Configure', add code formatting.)
Line 10: Line 10:


  cat /opt/rt3/lib/RT.pm | grep VERSION
  cat /opt/rt3/lib/RT.pm | grep VERSION
= Configure =
    $ ./configure -V
    RT configure rt-4.4.3-60-g816ad9b68


= Perl =
= Perl =


perl -v
    perl -v
   
   


More correct method for mod_perl users is print '$]' under mod_perl evironment, for eg:
More correct method for mod_perl users is print '$]' under mod_perl evironment, for eg:


echo "<% $] %>" >/opt/rt3/local/html/test.html
    echo "<% $] %>" >/opt/rt3/local/html/test.html


then in browser check [http://example.com/rt/test.html =]
then in browser check [http://example.com/rt/test.html =]
Line 26: Line 32:
= <nowiki>!DBIx::!SearchBuilder</nowiki> =
= <nowiki>!DBIx::!SearchBuilder</nowiki> =


perl -MDBIx::SearchBuilder -e 'print $DBIx::SearchBuilder::VERSION;'
    perl -MDBIx::SearchBuilder -e 'print $DBIx::SearchBuilder::VERSION;'


= Apache =
= Apache =


httpd -v
    httpd -v


= mod_perl =
= mod_perl =


cat /usr/local/apache/logs/error_log | grep mod_perl | grep notice | tail -n 1
    cat /usr/local/apache/logs/error_log | grep mod_perl | grep notice | tail -n 1


= <nowiki>!MySQL</nowiki> =
= <nowiki>!MySQL</nowiki> =


mysql -V
    mysql -V


= <nowiki>!PostgreSQL</nowiki> =
= <nowiki>!PostgreSQL</nowiki> =


postgres --version
    postgres --version

Revision as of 11:03, 20 January 2019

Recent versions

In recent versions of RT, Visit the "Configuration" menu and then click on "Tools". RT has a "Running configuration" status page that lists off just about everything you need to know.

Old versions

Old versions of RT has no such functionality and you have to figure things out yourself.

RT

cat /opt/rt3/lib/RT.pm | grep VERSION

Configure

   $ ./configure -V
   RT configure rt-4.4.3-60-g816ad9b68


Perl

   perl -v

More correct method for mod_perl users is print '$]' under mod_perl evironment, for eg:

   echo "<% $] %>" >/opt/rt3/local/html/test.html

then in browser check =

See ShowPerlVersion

!DBIx::!SearchBuilder

   perl -MDBIx::SearchBuilder -e 'print $DBIx::SearchBuilder::VERSION;'

Apache

   httpd -v

mod_perl

   cat /usr/local/apache/logs/error_log | grep mod_perl | grep notice | tail -n 1

!MySQL

   mysql -V

!PostgreSQL

   postgres --version