如何保存并退出redis

如何保存并退出redis

本文介绍了如何保存并退出redis.conf?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将按照本教程



Ctrl + x ^ X )进入退出,然后按明显的键保存您的工作:




I'm installing and Configuring Redis on Ubuntu 16.04 in digtalocean, following this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-redis-on-ubuntu-16-04 .

When it goes to 'Save and close the file when you are finished.'I have no idea what's the right command to close and save it.I tried to use :wq ,but it didn't work.

Any friend can give me some advice?

解决方案

The tutorial tells you to use to use nano. If you followed it your screen should look more or less like that:

Press Ctrl+x (^X) to "Exit", then press the obvious key to save your work:

这篇关于如何保存并退出redis.conf?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 04:00