As of January, 2016, we were using RHEL, which updated the software when we run sudo yum update
To check the versions, try https://embedded.eecs.berkeley.edu/options/power/phpinfo
In January, 2016, we were running PhP 5.3.3,
Apache/2.2.15 (Red Hat)
and
MySQL 5.1.3.
PhP 5.3.3 may seem out of date, but yum
shows we are up to date:
[root@moog dists]# yum info php Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is receiving updates from RHN Classic or RHN Satellite. Installed Packages Name : php Arch : x86_64 Version : 5.3.3 Release : 46.el6_6 Size : 3.5 M Repo : installed From repo : rhel-x86_64-server-6 Summary : PHP scripting language for creating dynamic web sites URL : http://www.php.net/ License : PHP Description : PHP is an HTML-embedded scripting language. PHP attempts to make : it easy for developers to write dynamically generated webpages. : PHP also offers built-in database integration for several : commercial and non-commercial database management systems, so : writing a database-enabled webpage with PHP is fairly simple. The : most common use of PHP coding is probably as a replacement for CGI : scripts. : : The php package contains the module which adds support for the PHP : language to Apache HTTP Server.
To check Apache, use ps to see what version of httpd is running, run it with -version
and then check with yum.
[root@moog dists]# ps auxgww | grep httpd root 754 0.0 0.0 103308 864 pts/1 S+ 16:44 0:00 grep httpd webuser 2369 0.2 0.0 445012 42916 ? S 10:31 0:44 /usr/sbin/httpd root 2651 0.0 0.0 333196 34124 ? Ss Jan25 0:06 /usr/sbin/httpd webuser 6456 0.2 0.0 446152 43612 ? S 15:17 0:13 /usr/sbin/httpd webuser 12443 0.2 0.0 438640 38084 ? S 16:14 0:04 /usr/sbin/httpd webuser 14650 0.2 0.0 445008 43416 ? S 14:39 0:15 /usr/sbin/httpd webuser 21692 0.2 0.0 446708 46272 ? S 13:12 0:29 /usr/sbin/httpd webuser 21699 0.2 0.0 447048 44820 ? S 13:12 0:25 /usr/sbin/httpd webuser 25671 0.1 0.0 448216 47952 ? S 12:21 0:27 /usr/sbin/httpd webuser 28806 0.1 0.0 438812 38096 ? S 16:37 0:00 /usr/sbin/httpd webuser 30995 0.1 0.0 447652 45316 ? S 13:53 0:17 /usr/sbin/httpd webuser 31002 0.2 0.0 446512 44644 ? S 13:53 0:21 /usr/sbin/httpd webuser 31003 0.2 0.0 451236 47340 ? S 13:53 0:26 /usr/sbin/httpd webuser 31007 0.2 0.0 444288 44180 ? S 13:53 0:22 /usr/sbin/httpd webuser 31008 0.1 0.0 446364 44068 ? S 13:53 0:19 /usr/sbin/httpd webuser 31011 0.1 0.0 445828 43312 ? S 13:53 0:17 /usr/sbin/httpd webuser 31012 0.1 0.0 442068 41824 ? S 13:53 0:20 /usr/sbin/httpd webuser 31013 0.2 0.0 444664 42496 ? S 13:53 0:24 /usr/sbin/httpd webuser 31019 0.2 0.0 442856 38852 ? S 13:53 0:22 /usr/sbin/httpd webuser 31023 0.1 0.0 446712 44896 ? S 13:53 0:19 /usr/sbin/httpd webuser 31024 0.2 0.0 449032 44492 ? S 13:53 0:22 /usr/sbin/httpd webuser 31031 0.2 0.0 447308 43440 ? S 13:53 0:21 /usr/sbin/httpd [root@moog dists]# ls -l /usr/sbin/httpd -rwxr-xr-x 1 root root 355712 Nov 4 04:19 /usr/sbin/httpd [root@moog dists]# /usr/sbin/httpd -version Server version: Apache/2.2.15 (Unix) Server built: Nov 4 2015 07:18:39 [root@moog dists]# yum info httpd Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is receiving updates from RHN Classic or RHN Satellite. Installed Packages Name : httpd Arch : x86_64 Version : 2.2.15 Release : 47.el6_7.1 Size : 2.9 M Repo : installed From repo : rhel-x86_64-server-6 Summary : Apache HTTP Server URL : http://httpd.apache.org/ License : ASL 2.0 Description : The Apache HTTP Server is a powerful, efficient, and extensible : web server. [root@moog dists]#
yum
, so we
are ok.
To verify, in January, 2016, https://embedded.eecs.berkeley.edu/options/power/phpinfo
says we are runningClient API version
"5.1.73".
That's what yum
says as well:
[root@moog apache]# yum info mysql Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is receiving updates from RHN Classic or RHN Satellite. Installed Packages Name : mysql Arch : x86_64 Version : 5.1.73 Release : 5.el6_6 Size : 2.4 M Repo : installed From repo : rhel-x86_64-server-6 Summary : MySQL client programs and shared libraries URL : http://www.mysql.com License : GPLv2 with exceptions Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL : is a client/server implementation consisting of a server daemon : (mysqld) and many different client programs and libraries. The : base package contains the standard MySQL client programs and : generic MySQL files. [root@moog apache]#
Oracle GlassFish Server 3.1.2.2.
, which was the most recent. The ps
command showed that tomcat
was running the most recent version of java
.
As of January, 2016, we were running apache-tomcat-4.1.40, which was the most recent 4.0, but there are far more recent versions of Tomcat that we should try to update to.
See How do I set up the Wiki System?
If the webserver is currently running, connect to it and see when it was built and what modules were installed: http://embedded.eecs.berkeley.edu/server-status?refresh=5