知道安装目录的直接cd到redis安装目录下
不知道的输入
命令:whereis redis
命令:cd 路径/bin
开启:./redis-server ../conf/redis-6379.conf
查询:ps -ef | grep redis
连接:./redis-cli -h 192.168.23.130
如果连接不上,请注意防火墙是否关闭,安全模式是否关闭,protectmode no
知道安装目录的直接cd到redis安装目录下
不知道的输入
命令:whereis redis
命令:cd 路径/bin
开启:./redis-server ../conf/redis-6379.conf
查询:ps -ef | grep redis
连接:./redis-cli -h 192.168.23.130
如果连接不上,请注意防火墙是否关闭,安全模式是否关闭,protectmode no