Ubuntu 15.04

1. Enable ssh
sudo apt-get install openssh-server


2. Since Ubuntu is pre-installed with a tiny version, the arrow keys cannot be used in the editing state, and the backspace key cannot be deleted.
sudo apt-get remove vim-common
sudo apt-get install vim

3. Install gcc
sudo apt-get install gcc

4.cd /opt/redis/src
make all

make PREFIX=/opt/redis install

5 run utils/install_server.sh

6 ./redis-server /opt/redis/conf/6379.conf &

7 ./redis-cli shutdown

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326974499&siteId=291194637