执行命令
echo "redis-server /root/MyApp/Redis3/redis-3.0.0/redis.conf" >> /etc/profile # 放命令到profile文件末尾,开机会执行该命令
查看服务状态
ps aux | grep redis
执行命令
echo "redis-server /root/MyApp/Redis3/redis-3.0.0/redis.conf" >> /etc/profile # 放命令到profile文件末尾,开机会执行该命令
查看服务状态
ps aux | grep redis