84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
$ wget http://download.redis.io/releases/redis-3.2.1.tar.gz$ tar xzf redis-3.2.1.tar.gz$ cd redis-3.2.1$ make
上面没有问题
执行到make install语句就报错
sudo make install也不行
麻烦了
sudo ls /root/
sumakeinstall
The displayed information indicates that you do not have permission to create the file/usr/local/bin/redis-server.
First, confirm whether the root user has write permissions and access permissions for the following/usr/local/binfolder.
Confirm whether the file or folderredis-serveralready exists in this directory. Confirm the read and write permissions for this file.
Compile and install as suCreate the installation path first and try it
./configure和make是不需要root身份执行的,但是make install一定要,因为是安装到系统目录。你sudo都不行?发一下sudo make installScreenshot of failure.
./configure
make
make install
sudo
sudo make install
The displayed information indicates that you do not have permission to create the file/usr/local/bin/redis-server.
First, confirm whether the root user has write permissions and access permissions for the following/usr/local/binfolder.
Confirm whether the file or folderredis-serveralready exists in this directory. Confirm the read and write permissions for this file.
Compile and install as su
Create the installation path first and try it
./configure
和make
是不需要root身份执行的,但是make install
一定要,因为是安装到系统目录。你
sudo
都不行?发一下sudo make install
Screenshot of failure.