炊きたてのご飯が食べたい

定時に帰れるっていいね。自宅勤務できるっていいね。子どもと炊きたてのご飯が食べられる。アクトインディでは積極的にエンジニアを募集中です。

(Linux) コマンドで各種バージョンの確認方法【CentOS、Apache、MySQL、PHP、Perl、Python】


CentOS

[text]# cat /etc/redhat-release[/text] CentOS release 5.4 (Final)

●OSのbit数

[text]# uname -a[/text] X86_64とかamd64とかが表示されたら、64ビット版のカーネル

Apache

[text]# rpm -qa httpd[/text] httpd-2.2.3-31.el5.centos.2

MySQL

[text]# mysql --version[/text] mysql Ver 14.12 Distrib 5.0.84, for redhat-linux-gnu (i686) using readline 5.1

PHP

[text]# php --version[/text] PHP 5.3.2 (cli) (built: Apr 27 2010 20:28:18) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Perl

[text]# perl --version[/text] This is perl, v5.8.8 built for i386-linux-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Python

[text]# python[/text] Python 2.4.3 (#1, May 24 2008, 13:47:28) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2 Type "help", "copyright", "credits" or "license" for more information.