How to compile Redis so that I can download and run it on shared hosting?

I need to run Redis on my shared hosting account, but I cannot compile it on the server due to the nature of shared hosting. I have SSH access, but my hosting provider told me that I would need to compile Redis first and then upload it to the server.

I am not sure how to do this, and the only person who asked this question here did not receive an answer.

So: how do I compile Redis so that I can download it and run it on my shared hosting account?

+4
source share
1 answer

, redis.

- CentOS 5. 100% , ​​CentOS 5 , ( VMware CentOS 5)

  • redis tcl 8.5

    wget http://download.redis.io/releases/redis-3.0.2.tar.gz
    wget http://prdownloads.sourceforge.net/tcl/tcl8.5.18-src.tar.gz
    
  • tcl 8.5

    tar xfz tcl8.5.18-src.tar.gz
    cd tcl8.5.18/unix
    ./configure
    make
    make test
    make install
    
  • redis

    make CFLAGS="-static" EXEEXT="-static" LDFLAGS="-I/usr/local/include/"
    
  • test redis

    cd src
    ./redis-server
    
  • . src.
+3

All Articles