Linux常用软件版本怎么看(mysql、nginx、php、java、python等)

2018-02-27 10:50:02来源:https://www.jianshu.com/p/6409c569c00d作者:胡晓的简书人点击

分享


1、nginx
root@aliyun2:~# nginx -V
nginx version: nginx/1.10.3 (Ubuntu)
built with OpenSSL 1.0.2g 1 Mar 2016


2、apache
root@aliyun2:~# apachectl -v
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02


3、mysql
root@aliyun2:~# mysql --version
mysql Ver 14.14 Distrib 5.7.21, for Linux (x86_64) using EditLine wrapper


4、Java
root@aliyun2:~# java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)


5、php
root@aliyun2:~# php -v
PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS )


6、python、pip
root@aliyun2:~# python -V
Python 2.7.12
root@aliyun2:~# pip -V
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)








最新文章

123

最新摄影

闪念基因

微信扫一扫

第七城市微信公众平台