One, install the JDK1.rpm-qa | grep JDK detects if JDK is installed2.rpm-e--nodeps The name of the existing JDK to uninstall3.TAR-ZXVF jdk-7u71-linux-i586.tar.gz Decompression JDK4.MV jdk-7u71-linux-i58//usr/local/src/java/jdk1.7 moved
Build a framework from scratch Ssm+redis+mysql (ii) MAVEN project setupNonsense not to say, direct to the steps!!!1. Create the main project: Ncc-parentSelect maven to create the project, note in the Create project,packing select pom, which
I. The introduction of NoSQL1. What is NoSQL
NoSQL = not-only SQL
Non-relational database
2. Why Use NoSQL
High performance-highly concurrent read and write
Huge Storage-efficient storage and access to massive data
Installation of Redis1. Upload redis-4.0.8.tar.gz to/usr/local/src folder2. Unzip the tar xzf redis-4.0.8.tar.gz3. CD redis-4.0.84, compile make (because the source code to download, need to compile)After compiling, you can see the corresponding SRC
01Redis IntroductionREmote DIctionary Server (Redis) is a Key-value storage system written by Salvatore Sanfilippo.Redis is an open source API that is written in ANSI C, adheres to the BSD protocol, supports networks, can be persisted in memory, key-
Record the installation steps under Linux, or the more complex1. Download redis-2.8.19.tar.gz:FTP upload to linux01;Extract:
TAR–ZXVF redis-2.8.19.tar.gz
2. Install related software
Command: Yum install wget make gcc
1.java Code Public classRedisTest01 { Public Static voidMain (string[] args) {//Connect Redis ServerJedis Redis =NewJedis ("127.0.0.1", 6379); //first clear the original keys in RedisRedis.del ("name"); Redis.del ("Age"); //storing elements into set
Tag: INF Port this operation Alt. class share CTI FileIntroduce dependencies:To add a redis dependency in the Pom file: org.springframework.boot Spring-boot-starter-data-redis Configure the data
All of the above is the direct operation of Redis in the database command line, now learning to use Python Redis package to operate Redis, I installed redis==2.10.6, not familiar with redis command line operation of Friends, please refer to:Redis
Development tools1.Eclipse IDE: Using MAVEN project management, modular.2. Code generation: Through the interface mode simple configuration, automatically generate the corresponding code, currently includes three ways to generate (add and revise):
Pure memory access, Redis puts all of the data in memory, and memory response time is approximately 100 nanoseconds, which is an important foundation for Redis's access to universal levels per second.
Non-blocking Io,redis uses epoll as the
Because the test environment does not have a password to connect to Redis, the service is normal! Send to the production log in the system, in the processing function when the old error, check the error is connected redist failure, view Redis
Online Mall Combat 2Today's mission
Complete the function of the classification module
Complete the function of the commodity module
1.1 Function of Classification module: the function of 1.1.1 query classification:1.1.2 The code
(1) php windowns extension Download URL: https://windows.php.net/downloads/pecl/releases/(2) ctrl+f Query the extension you want to downloadNote: The extended version should correspond to your computer and the PHP versionPHP and the configuration of
Redis Master-Slave mode must have a single point of issue, so Redis's sentinel mechanism is to compensate for this problem, next we configure the Redis sentinel in the Windows environment.1. Download the Windows version of Redis address:
Tag: SIM indicates flush--gets SWA port starts SETNX Packagecom.daxin.jedis_datastructure;ImportOrg.junit.After;ImportOrg.junit.Before;Importorg.junit.Test;ImportRedis.clients.jedis.Jedis;/*** Unit test for simple App.*/ Public classapptest {Jedis
keywords: Redis occupies C-disk, Windows Redis, 64-bit Windows Redis Mania occupies the C-disk space, andRedis creates a Redisqfolk_****.dat file after booting. redis-server.exe redis.windows.conf. Paging file,Appdata\local\redis,heapdir.
Installation under Redis installation window:https://github.com/MSOpenTech/redis/releases.Redis supports 32-bit and 64-bit. This need according to the actual situation of your system platform choice, here we download redis-x64-xxx.zip compressed
Linux under Redis installation link: go toRedis is a key-value storage system. Similar to memcached, it supports storing more value types, including string (string), list (linked list), set (set), Zset (sorted set-ordered collection), and hash (hash
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