Last active
January 24, 2017 14:21
Revisions
-
kucaahbe revised this gist
Feb 11, 2013 . 2 changed files with 4 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ add dotdeb repository: http://www.dotdeb.org/instructions/ sudo aptitude install redis-server # for stable sudo aptitude -t stable install redis-server # for testing This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +0,0 @@ -
kucaahbe revised this gist
Feb 11, 2013 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ /etc/apt/apt.conf : APT::Default-Release "stable"; cat /etc/apt/sources.list.d/unstable.list !!!check the country!!! deb http://http.US.debian.org/debian unstable main contrib non-free sudo aptitude update sudo aptitude -t unstable install -
kucaahbe created this gist
Feb 1, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ wget redis cd redis make # make test # sudo aptitude install sudo aptitude install tcl8.5 in order to run tests sudo make install # /target -> /usr/local/bin sudo mkdir /etc/redis/ sudo cp redis.conf /etc/redis/6379.conf sudo cp utils/redis_init_script /etc/init.d/redis-server #! /bin/sh ### BEGIN INIT INFO # Provides: skeleton # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Example initscript # Description: This file should be used to construct scripts to be # placed in /etc/init.d. ### END INIT INFO sudo update-rc.d redis-server defaults sudo update-rc.d redis-server enable TODO daemonize redis check pid and port in config file and init script create user logging