I know this is old but it came up when I was looking for an answer, so for those that come after.....
Redis is already on c9 and its old.
Following is some quick instructions that get it working but please understand i REALLY DONT know what Im doing 😉
The instructions are base off...
Remove the old redis stuff
Do you need to do this?...no idea 😉
$ sudo service redis-server stop
$ sudo dpkg -P redis-server
$ sudo dpkg -P redis-tools
Download and make the new Redis 3.0.x
:~/workspace $ mkdir redis
$ cd redis
tar xzf redis-stable.tar.gz
sudo make install
During the install the default path for where to put the executable s was wrong and I think it was /usr/bin/
Also, select port 16379, because the old redis is still running and Im still not sure how to turn it off properly. But your new one will work fine if you set nodeBB to the new one. I did get rid of it once, but not exactly sure how.
And now you should have a working redis on 0.0.0.0:16379.
Still have the old one running, as I dont know how to get rid of it properly yet.
I tested this with the latest NodeBB and was able to get it to work except I get this error in the console....
WebSocket connection to 'ws://nodebb-c9-paez.c9.io/socket.io/?EIO=3&transport=websocket&sid=Gn4rDgj2XlEILV0FAAAA' failed: Error during WebSocket handshake: Unexpected response code: 400
...and a whole bunch of....
[deprecated] variables.set is deprecated, please use ajaxify.data...
...dont know why and am not likely to find out as Im going to be running it off Openshift, but this hopefully gets someone a little closer....and it does seem to work good enough for theme mucking which is what I wanted the c9 one for.