centos安装redis出错
我想大声告诉你
我想大声告诉你 2017-04-25 09:03:27
0
3
696

$ 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/

su
make
install

我想大声告诉你
我想大声告诉你

reply all (3)
我想大声告诉你

The displayed information indicates that you do not have permission to create the file/usr/local/bin/redis-server.

  1. First, confirm whether the root user has write permissions and access permissions for the following/usr/local/binfolder.

  2. 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

      習慣沉默

      ./configuremake是不需要root身份执行的,但是make install一定要,因为是安装到系统目录。
      sudo都不行?发一下sudo make installScreenshot of failure.

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!