GetSoftwareVersions: Difference between revisions
Jump to navigation
Jump to search
m (2 revisions imported) |
(→RT 4) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
= RT = | = RT = | ||
== RT 3 == | |||
cat /opt/rt3/lib/RT.pm | grep VERSION | |||
== RT 4 == | |||
perl -I/opt/rt4/lib -MRT -e'print "$RT::VERSION\n"'; | |||
or | |||
grep VERSION /opt/rt4/lib/RT/Generated.pm | |||
= Configure = | |||
$ ./configure -V | |||
RT configure rt-4.4.3-60-g816ad9b68 | |||
= Perl = | = Perl = | ||
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 | |||
then in browser check [http://example.com/rt/test.html =] | then in browser check [http://example.com/rt/test.html =] | ||
Line 26: | Line 42: | ||
= <nowiki>!DBIx::!SearchBuilder</nowiki> = | = <nowiki>!DBIx::!SearchBuilder</nowiki> = | ||
perl -MDBIx::SearchBuilder -e 'print $DBIx::SearchBuilder::VERSION;' | |||
= Apache = | = Apache = | ||
httpd -v | |||
= mod_perl = | = mod_perl = | ||
cat /usr/local/apache/logs/error_log | grep mod_perl | grep notice | tail -n 1 | |||
= <nowiki>!MySQL</nowiki> = | = <nowiki>!MySQL</nowiki> = | ||
mysql -V | |||
= <nowiki>!PostgreSQL</nowiki> = | = <nowiki>!PostgreSQL</nowiki> = | ||
postgres --version |
Latest revision as of 16:11, 27 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
RT 3
cat /opt/rt3/lib/RT.pm | grep VERSION
RT 4
perl -I/opt/rt4/lib -MRT -e'print "$RT::VERSION\n"';
or
grep VERSION /opt/rt4/lib/RT/Generated.pm
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