Error installing Open Source Redis server on ec2

时间:2017-12-18 05:07:27

标签: redis

I am installing Open Source Redis server on ec2. I have successfully connected to ec2 using my pem. I have downloaded Redis. Issued the following commands:

tar xvzf redis-stable.tar.gz > cd redis-stable.

The next step: make && make install is not working.

I am getting the following error:

~/redis-stable$ make && make install The program 'make' can be found in the following packages: * make * make-guile Try: sudo apt install ubuntu@ip-xxx.xx.xx.xx:~/redis-stable$

What is the need to continue with this installation process? I need to complete this installation/build process. I tried the sudo command as well, that is getting an error.

2 个答案:

答案 0 :(得分:1)

Any specific reason why you would want to compile and install redis? If not, you can simply execute below.

sudo apt-get install redis-server

答案 1 :(得分:0)

Give the following command to install the required Dependencies

sudo apt-get update
sudo apt-get install build-essential

After that you can continue the installation with

make && make install