redis使用命令

[root@localhost redis-4.0.8]# pwd       当前目录
/root/redis-4.0.8/redis-4.0.8

[root@localhost redis-4.0.8]# ./bin/redis-server ./etc/redis.conf     后台启动redis
14839:C 24 May 07:40:09.976 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14839:C 24 May 07:40:09.976 # Redis version=4.0.8, bits=64, commit=00000000, modified=0, pid=14839, just started
14839:C 24 May 07:40:09.976 # Configuration loaded

[root@localhost redis-4.0.8]# ps -aux | grep redis       查看redis是否后台启动成功
root      14840  0.0  0.2 141816  2020 ?        Ssl  07:40   0:00 ./bin/redis-server *:6379
root      14845  0.0  0.0 112724   988 pts/0    R+   07:40   0:00 grep --color=auto redis
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值