Home: http://redis.io/Download the installation:Redis is very easy to install, already has a ready-made makefile file, run the make command directly.$ cd/tmp$ wget http://download.redis.io/releases/redis-2.8.19.tar.gz$ tar xzf redis-2.8.19.tar.gz$
IntroducedThe Redis client is being modified in the recent project use. Just read the following document, summarize and share a bit.DirectoryOne: Protocol specificationII: Basic CommunicationThree: Status commandFour: set, get commandV: Pipelines,
The environment of this article is as follows:Operating system: UBUNTU-14.04.1-DESKTOP-AMD64redis:2.8.19If you use a virtual machine, set each network as a bridge, or they can connect to each other, and the LAN is not connected.System DesignI.
The latest version of Redis is 2.8.19Cd/data/app_software/wget http://download.redis.io/releases/redis-2.8.19.tar.gzTar zxvf redis-2.8.19.tar.gzMakeMkdir-p/data/app_platform/redis/{bin,conf}CP src/redis-server/data/app_platform/redis/bin/CP
The redis-search4j is a Redis-based search component. Characteristics1. Redis-based, high performance2. Updating indexes in real time3. Support suggest prefix, pinyin lookup (AutoComplete function)4. Support Single or multiple word search5. Can sort
In the previous section we wrote about the data persistence of Redishttp://blog.csdn.net/wtyvhreal/article/details/42916503With the persistence feature, Redis guarantees that there will be no loss (or small loss) of data even if the server is
1. The NoSQL family2. What is Redis(1) abbreviation for REmote DIctionary server(2) Key-value type Memory Database(3) Rich data structure (String,hash,list,set,zset)3. Multifunctional GoddessRedis server-side command processing uses single-threaded
1. Redis installation tutorial under Linux(1) Installation# Tar xf redis-2.6.14.tar.gz#cd redis-2.6.14#make# Make install(2) configurationModifying the redis.conf configuration file # CP redis.conf/etc/ # vi/etc/redis.conf # run in daemon mode
By learning from Redis (i), it is now possible to apply the Redis, which is mainly about PHP redis!The test is as follows:First, install the Redis extension for PHP: Php_redis.dll (version: Php5.2_redis)my: Http://pan.baidu.com/s/1gdzRTHhPut the
Redis Command SummaryCommands related to connection operations
Quit: Close connection (connection)
Auth: simple Password Authentication
Persistence of
Save: Synchronize data to disk
Bgsave: Asynchronously saving data
The code is as follows:# Chkconfig:234590 10# Description:service of Redis for start and stop add by Tomener PATH=/usr/local/bin:/sbin:/usr/bin:/Binredisport=6379EXEC=/usr/local/redis/bin/redis-serverredis_cli=/usr/local/redis/bin/redis-CLI Pidfile=/
Commands related to connection operations
Quit: Close connection (connection)
Auth: simple Password Authentication
Persistence of
Save: Synchronize data to disk
Bgsave: Asynchronously saving data to disk
Lastsave:
About Redis
Redis is an open source API that is written in ANSI C, supports the web, can be persisted in memory, key-value databases, and provides multiple languages.Redis is a key-value storage system. Similar to memcached, it supports storing
Redis's information, including the Redis Getting Started Guide, Redis design and implementation, Redis in Action, others ' blogs, etc., have been watching for some time and feel the need to comb it.As for how the command is used, it is not said here,
Pick up a Redis Ruby client learning (ii)For the five data types of Redis: string, hash (Map), list, collection (sets) , and ordered collection (sorted sets), the previous article describes the string.1, hash (MAP)
Hset. Sets the value of
How does a Redis container in Docker operate on a connection? 1. Login Putty has the following information:Public virtual IP (VIP) address42.159.156.115Internal IP Address10.205.178.22IP Address for eth0:10.205.178.22IP Address for docker0:172.17.42.
Note: For details about how to configure redis in Windows and Linux, refer to this article: discuz! Redis Architecture Design in NT
Currently, there are some C # client tools linked to apsaradb for redis on the Internet. Here we will
Ubuntu redis and Ubuntu redis
Home: http://redis.io/
Download and install:
The installation of redis is very simple. There are ready-made Makefile files, and you can directly run the make command.
$ cd /tmp$ wget
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service