Ubuntu设置开机自启redis服务
1.复制/redis/utils/redis_init_script到/etc/init.d/执行复制语句:sudo cp /redis-stable/utils/redis_init_script /etc/init.d/redis2.修改/etc/init.d/redis内容#!/bin/sh## Simple Redis init.d script conceived to w...