Perl
PhP

You're viewing old version number 22. - Current version

Nginx and Redis - September 2014

http://www.saltwebsites.com/2012/install-redis-245-service-centos-6

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04

http://eamann.com/tech/ludicrous-speed-wordpress-caching-with-redis

http://10up.com/blog/2012/eric-mann-joins-10up/

apt-get install redis-server

took only a few seconds to install

http://redis.io/download

Online tutorial at http://try.redis.io

To access the command prompt client, type:

redis-cli

service redis-server stop
service redis-server start
/etc/init.d/redis-server restart

redis-server -t && service redis-server reload

set cleveland "browns"
get cleveland
delete cleveland
set counter 0
incr counter
get counter
setnx something "whatever" (sets a key only if it does not already exist)


http://redis.io/topics/twitter-clone
demo: http://retwis.redis.io
source: https://code.google.com/p/redis/downloads/list

Perl

http://search.cpan.org/dist/Redis/


http://search.cpan.org/~dams/Redis-1.975/lib/Redis.pm

Sep 25, 2014 update: - executed perl -MCPAN -e 'install Redis' and installed DAMS/Redis-1.975


http://search.cpan.org/~dpavlin/Redis-0.0801/lib/Redis.pm

https://github.com/PerlRedis/perl-redis

http://redis.io/clients

http://stackoverflow.com/questions/17224585/using-redis-pm-pipeline-in-perl

PhP

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04

For MySQL

sudo apt-get install php5-mysql

For PhP

sudo apt-get install php5-fpm

Didn't do anything because apparently, it was already installed, but I don't remember when I did that, unless something else installed it. I assume the 'F' part is for FastCGI, and when I installed FastCGI, I guess it already installed this package.

Follow the instructions given at the above Digital Ocean web page for the PhP section.

#blogging - #redis - #cache - #scalability

From JR's : articles
172 words - 1921 chars
created on
updated on - #
source - versions

Related articles
Nginx and Redis - Fall 2014 - Oct 17, 2014



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Jan 12, 2025 - 6:39 p.m. EST