当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Five dimensions to start MySQL optimization
MySql总结
Efficient use of RecyclerView Section 1
Spark学习(2)-Spark环境搭建-Local
Synchronized和volatile 面试简单汇总
自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统
Gorm—Go language database framework
Prometheus之node_exporter性能监控信息采集含义
TRACE32——常用操作
消息队列消息数据存储MySQL表设计
工程水文学试卷
Ubantu专题4:xshell、xftp连接接虚拟机以及设置xshell复制粘贴快捷键
[CUDA study notes] First acquaintance with CUDA
763.划分字母区间——之打开新世界
Jmeter常用的十大组件
Efficient use of RecyclerView Section 3
Unity Shader入门精要学习——透明效果
深入浅出边缘云 | 4. 生命周期管理
网线RJ45接口针脚[通俗易懂]
AVH部署实践 (一) | 在Arm虚拟硬件上部署飞桨模型









