Setting up Redis on Webfaction

后端 未结 3 834
暗喜
暗喜 2021-01-29 20:19

What are the steps required to set up Redis database on Webfaction shared hosting account?

3条回答
  •  春和景丽
    2021-01-29 20:59

    FYI, if you are installing redis 2.8.8+ you may get an error, undefined reference to __sync_add_and_fetch_4 when compiling. See http://www.eschrade.com/page/undefined-reference-to-__sync_add_and_fetch_4/ for information.

    I've pasted the relevant portion from that page below in case the page ever goes offline. Essentially you need to export the CFLAGS variable and restart the build process.

    [root@devvm1 redis-2.6.7]# export CFLAGS=-march=i686
    [root@devvm1 redis-2.6.7]# make distclean
    [root@devvm1 redis-2.6.7]# make
    

提交回复
热议问题