我是靠谱客的博主 坚定小虾米,最近开发中收集的这篇文章主要介绍linux 查看git,maven, java,haproxy,mysql,python,ansible等等版本命令汇总,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

git版本

[tom@test ~]$ git --version
git version 1.8.3.1

maven 版本

[tom@test ~]$ mvn -v
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T03:00:29+08:00)
Maven home: /usr/local/maven/apache-maven-3.6.1
Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: /usr/local/java/jdk1.8.0_161/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-862.el7.x86_64", arch: "amd64", family: "unix"

java 版本

[tom@test ~]$ 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)

haproxy版本

[root@haproxy ~]# haproxy -v
HA-Proxy version 1.5.18 2016/05/10
Copyright 2000-2016 Willy Tarreau <willy@haproxy.org>

mysql版本

[tom@test ~]$ mysql -V
mysql  Ver 14.14 Distrib 5.7.22, for Linux (x86_64) using  EditLine wrapper

zabbix版本

zabbix server端:

[root@application-monitor1 ~]# zabbix_server -V
zabbix_server (Zabbix) 4.0.7
Revision 92831 18 April 2019, compilation time: Apr 18 2019 08:00:59

Copyright (C) 2019 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013

zabbix agent端:

[root@test jdk1.8.0_161]# zabbix_agentd -V
zabbix_agentd (daemon) (Zabbix) 4.0.2
Revision 87228 26 November 2018, compilation time: Nov 27 2018 08:25:00

Copyright (C) 2018 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
Running with OpenSSL 1.0.1e-fips 11 Feb 2013

ssh 版本

[tom@test ~]$ ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017

openssl版本

[tom@test ~]$ openssl version
OpenSSL 1.0.2k-fips  26 Jan 2017

python版本
(一台服务器可以安装两个版本python:一般系统自带python2,可自己下个Python-3.5.2.tgz 安装python3)

[root@python ~]# python -V
Python 2.7.5
[root@python ~]# python3 -V
Python 3.5.2

 

ansible版本

[root@test ~]# ansible --version
ansible 2.4.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Nov 20 2015, 02:00:19) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]

mongodb版本

[root@localhost ~]# mongo --version
MongoDB shell version v3.6.9
git version: 167861a164723168adfaaa866f310cb94010428f
OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
allocator: tcmalloc
modules: none
build environment:
    distmod: rhel70
    distarch: x86_64
    target_arch: x86_64

 

 

 

最后

以上就是坚定小虾米为你收集整理的linux 查看git,maven, java,haproxy,mysql,python,ansible等等版本命令汇总的全部内容,希望文章能够帮你解决linux 查看git,maven, java,haproxy,mysql,python,ansible等等版本命令汇总所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(67)

评论列表共有 0 条评论

立即
投稿
返回
顶部