当前位置:网站首页>Linux查看redis版本(查看mongodb版本)
Linux查看redis版本(查看mongodb版本)
2022-07-31 15:07:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
快半年没有在Linux中使用redis了,命令有些生疏了,网上很多博文也不对,不知道博主是否直接复制的来的。
以下为重新整理资料,便于忘记时候复习
首先进入 cd /usr/local目录不用说了
我把redis安装到了redis文件夹中了,在bin目录下找到redis-server
使用 ./redis-server –version 查看版本信息
[[email protected] local]$ ls
bin games jdk libexec nginx nginx-1.8.0.tar.gz redis-3.0.4 sbin src zookeeper-3.4.6
etc include lib mysql nginx-1.8.0 redis redis-3.0.4.tar.gz share tomcat zookeeper-3.4.6.tar.gz
[[email protected] local]$ cd redis
[[email protected] redis]$ ls
bin
[[email protected] redis]$ cd bin/
[[email protected] bin]$ ls
dump.rdb redis-benchmark redis-check-aof redis-check-dump redis-cli redis.conf redis-sentinel redis-server
[[email protected] bin]$ ./redis-server --version
Redis server v=3.0.4 sha=00000000:0 malloc=jemalloc-3.6.0 bits=32 build=abc958d7473f641f
[[email protected] bin]$ 发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/128356.html原文链接:https://javaforall.cn
边栏推荐
猜你喜欢
随机推荐
Use of el-tooltip
Kubernetes原理剖析与实战应用手册,太全了
UnityShader入门学习(一)——GPU与Shader
svn安装及使用(身体功能手册)
R language ggplot2 visualization: use the ggboxplot function of the ggpubr package to visualize the grouped box plot, use the ggpar function to change the graphical parameters (caption, add, modify th
RecyclerView的高效使用第一节
Nuget package and upload tutorial
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
Prometheus之node_exporter性能监控信息采集含义
Getting started with UnityShader (1) - GPU and Shader
Sentinel限流和异常处理
c语言hello world代码(代码编程入门)
DeepLab系列学习
高等数学——常用不定积分公式
2021 OWASP TOP 10 漏洞指南
Small test knife: Go reflection helped me convert Excel to Struct
R语言的画图代码及差异性分析[通俗易懂]
MySql总结
OpenShift 4 - 定制 RHACS 安全策略,阻断生产集群使用高风险 Registry
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东









