各组件查看版本

系统+安全 Liemer_Lius 38℃
# Nginx:
> Nginx: ./nginx -V
nginx version: openresty/1.9.7.4

# Redis
> redis-server --version
> redis-server -v

# Logstash
> logstash --version

# Elesticsearch
> curl -XGET localhost:9200  # 有时候报错
> cd /path/to/es_install/lib
> pwd
/mnt/elasticsearch-2.4.1/lib  # 当然,一般都是带版本号的
> ls elasticsearch-2.4.1.jar     # 看jar的版本

# CentOS
> cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core) 
> cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core)

# Rabbitmq
> rabbitmqctl status | grep rabbit
Status of node rabbit@iZ25j138nazZ ...
     [{rabbitmq_management,"RabbitMQ Management Console","3.5.3"},
      {rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.5.3"},
      {rabbitmq_delayed_message_exchange,"RabbitMQ Delayed Message Exchange",
      {rabbitmq_management_agent,"RabbitMQ Management Agent","3.5.3"},
      {rabbit,"RabbitMQ","3.5.3"},

 

转载请注明:skelchina.com » 各组件查看版本

喜欢 (4)