在虚拟机Linux上安装Redis
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
在虚拟机上安装Cent OS 6.5
安装成功后登陆root用户进入opt目录,下载Redis。
注意:普通用户进入opt目录中,没有权限导致下载失败。
下载Redis
下载命令:$ wget http://download.redis.io/releases/redis-4.0.8.tar.gz
解压命令:tar zxvf redis-4.0.8.tar.gz
进入目录: # cd redis-4.0.8
在redis-4.0.8 目录中执行:make命令。
如果在执行make命令时,出现:gcc命令未找到,说明没安装gcc,
查看gcc版本
执行命令:make install
Linux的树状目录结构:
进入bin目录:cd /usr/local/bin
复制redis-4.0.8 目录下的redis.conf到myredis目录下。
执行命令:cp redis.conf /myredis/

编辑redis.conf文本,
查看redis服务是否启动,命令:ps -ef|grep redis
切换到bin目录下,启动redis服务:redis-server /myredis/redis.conf
并设置端口号:redis-cli -p 6379
检查redis是否启动或链接成功用:ping
关闭redis服务命令:shutdown
exit

A beautiful web dashboard for Linux
最近提交(Master分支:4 个月前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)