redis.conf为配置文件
根目录下创建一个myredis文件,把redis.conf复制到myredis文件下
修改myredis文件下的配置文件 vim redis.conf
把daemonize no改为daemonize yes
当ping后为PONG说明启动成功