Sha256: da590f54f0347761dd9b92c13f548645aadc005741f75b1b2d6cc55307fbe5cb

Contents?: true

Size: 886 Bytes

Versions: 22

Compression:

Stored size: 886 Bytes

Contents

# 
# install_redis.sh
# Sun Nov 22 20:46:43 -0200 2009
#

apt-get install -y cronolog
gem install rspec

# cd /usr/src
# git clone git://github.com/ezmobius/redis-rb.git
# cd redis-rb
# rake redis:install
# # rake install

cd /usr/src
wget -q http://redis.googlecode.com/files/redis-1.02.tar.gz
tar xzvf redis-1.02.tar.gz
cd redis-1.02/
make -j
cp redis.conf /etc
ln -s /usr/src/redis-1.02/redis-server /usr/bin/redis-server
ln -s /usr/src/redis-1.02/redis-cli /usr/bin/redis-cli

echo "
daemonize no
logfile stdout" >> /etc/redis.conf
echo "nohup /usr/bin/redis-server /etc/redis.conf | /usr/bin/cronolog /var/log/redis/redis.%Y-%m-%d.log 2>&1 &" > /etc/init.d/redis.sh

chmod +x /etc/init.d/redis.sh

#setsid bash -c "nohup /usr/bin/redis-server /etc/redis.conf | /usr/bin/cronolog /var/log/redis/redis.%Y-%m-%d.log 2>&1 &"

sed -i "s/loglevel debug/loglevel notice/g" /etc/redis.conf

Version data entries

22 entries across 11 versions & 1 rubygems

Version Path
stackfu-0.1.8.1 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.8.1 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.8 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.8 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.7 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.7 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.6 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.6 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.5 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.5 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.4 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.4 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.3 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.3 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.2.2 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.2.2 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.2.1 stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.2.1 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.1 test/fixtures/stack/stackfu-installer/script/redis_installation.sh.erb
stackfu-0.1.1 stackfu-installer/script/redis_installation.sh.erb