{
hosts =>" elasticsearch:9200 "#将logstash的输出到 Elasticsearch here to your own host
}
}
And then we need to start the Kibana.
Write a startup script to wait for Elasticserach to run successfully and start
#!/usr/bin/env Bash
# The Elasticsearch container to be ready before starting.
echo "Stalling for Elasticsearch" while
true; does
nc-q 1 elasticsearch 9200 2>/dev/null break
d
1. Terminology explanation
Cluster: Cluster
Node: Nodes
Index: Database similar to MySQL
Type: Table similar to MySQL
Doccument: Content
Shard: Data fragmentation, Shard maximum default doccument number is 2,147,483,519
Replicas: Number of copies of data, also used when querying, not just backup
2. Installation
(a) Elasticsearch run dependent JRE,JRE installation reference: Ubuntu Install JRE
(b) Download address: https://www.elastic.co/, click on the top right corner downloads
(c) The vers
the root directory under the bin directory
>>./elasticsearch # # Direct Run
>>./elasticsearch-d # # background Run
3.1.3 Test
Open Browser Input: http://127.0.0.1:9200 (or your host IP) can see some basic information of ES. To test again.
On the Linxu.
Curl-xput-h ' content-type ': ' Application/json '-d ' {"name": "John Doe"} ' Localhost:9200/customer/external/1?pretty '
Then the http://127.0.0.1:
] #wsrepwsrep_provider =/usr/lib64/libgalera_smm.sowsrep_cluster_address=gcomm://os6---221,os6-222, OS6---223binlog_format=rowdefault_storage_engine=innodbinnodb_autoinc_lock_mode=2wsrep_node_address= OS6---223wsrep_sst_method=xtrabackup-v2wsrep_cluster_name=singulaxwsrep_sst_auth= "wsrep:wsrep"Start the os6-223 database/etc/init.d/mysql Start | | Service MySQL StartAfter the PXC is installed, the MySQL service is automatically checked for Clustercheck commands and
graphics card, you only need to install the latest driver package with opencl. The following video cards support Double Precision Floating Point: NVIDIA geforce 200 series, 400 series, 500 series graphics cards; amd radeon HD 5800, 5900, 6900 series. The radeon 6900 series does not yet support the official dual-precision floating point number (cl_khr_fp64) extension, so this program also supports cl_amd_fp
Windows
Minimum Configuration:Processor-2.2 GHz Pentium 4/AMD 2400 + or fasterMemory-1 GB of memoryGraphics-geforce 5 and ATI 9800 w/128 MB v memoryWindows XP, Win2k or Windows Vista
Recommended Configuration:Processor-2.0 GHz Core 2 Duo/AMD 3500 + or fasterMemory-1.5 GB or higherGraphics-256 MB geforce 7800 + or radeon x1900 +
Linux
Minimum Configuration:Processor-2.2 GHz Pentium 4/AMD 2400 + or fasterMemory-1 GB of memoryGraphics-128 MB fu
after X starts running. The content of the memory that is managed is used as a display output instead of a different piece of memory.The graphics drivers for the kernel on the current Linux system are called DRM drivers, and on the usual Linux kernel distributions we use the Lsmod command to view the kernel modules and see information similar to the following:Radeon 933054 3TTM 45600 1 RadeonDrm_kms_helper 22468 1 RadeonDRM 162230 5 Radeon,ttm,drm_km
of the hardware is not completed will result in an error. The previous introduction of the scratch register can be added at the end of the command to write a scratch register command, send the command after the drive to poll the scratch register, of course, the use of polling is certainly not appropriate, in fact, the video card can adopt a soft interrupt mechanism, Executing a command like "int xx" After completing the drawing command produces an interrupt, where the GPU is "exact"----when the
interfaces (Sockets), and non-X86 components will be introduced separately. We have selected the 10 best processors, which are listed below:
1, AMD 10-5800k
Spec.: 4 processor cores, power consumption 100W, graphics control chip Radeon hd7660d, clock frequency 3.80GHz, processor slot FM2, two cache 4MB.
Advantages: Moderate CPU performance, you can play some of the performance requirements are not high game.
Disadvantages: Slot limitations, game
Transfer from http://blog.sina.com.cn/s/blog_4e61bf070100bbz8.html
ModelATI's main brand Radeon (RA) series, with its models from the early Radeon Xpress 200 to Radeon (X300, X550, X600, X700, X800, X850) to the recent Radeon (X1300, X1600, X1800 , X1900, X1950) performance in descending order from low to high.The mai
Notebook graphics currently two major camps, respectively, Nvida graphics, AMD graphics card. In addition, Intel and AMD APU processors also have a built-in core graphics card, but the core graphics performance is relatively limited, can not be compared with the notebook independent graphics. Not many, the following table is the May 2015 latest notebook graphics ladder chart.
2015 Notebook Graphics Ladder chart (May 2015 edition)
NVIDIA graphics
AMD Graphics
"). (a).
to (a) should (Filterbuilders.termfilter ("City", "Beijing"));
You can now use the following methods:
Boolquerybuilder Boolquerybuilder = Querybuilders.boolquery ();
Boolquerybuilder.must (Querybuilders.termquery ("name", "John"));
Boolquerybuilder.must (Querybuilders.rangequery ("age"). from (a). to ();
Boolquerybuilder.must (Querybuilders.termquery ("City", "Beijing");
Constantscorequerybuilder QueryBuilder = Querybuilders.constantscorequery (Boolquerybuilder);
2. Deep underst
version, PID, name and other information, elasticsearch default will give the Node a random name (here is Answer):
1
[2016-05-03 17:24:15,032] [INFO] [Node] [Answer] Version [1.7.1], PID [21122], build [b88f43f/2015-07-29t09:54:16z]
To load plug-in information:
1
[2016-05-03 17:24:15,233] [INFO] [Plugins] [Answer] Loaded [Analysis-ik, Marvel], sites [Marvel]
The port for internal node communication is 9300:
1
[2016-05-03 17:24:
Elasticsearch provides developers with a set of restful interfaces based on the HTTP protocol, and only needs to construct a rest request and parse the JSON returned by the request for access to the Elasticsearch server. Elasticsearch API interface is rich in functionality, including clustering, monitoring, deployment management, etc., also contains commonly used documents, index operations, this article is mainly using the Postman tool for document operations related to the API to do the learni
1. Cluster name, default is Elasticsearch:
Cluster.name:elasticsearch
2. Node name, the node name is created automatically when ES starts, but you can also configure:
Node.name: "Franz Kafka"
3. Whether as the primary node, each node can be configured as the primary node, and the default value is true:
Node.master:true
4. Whether the data is stored, that is, the index fragment is stored, the default value is true:
Node.data:true
The simultaneous configuration of master and data produces so
First download the latest Elasticsearch installation version:Elasticsearch download.Download the latest version of Elasticsearch 0.90.1. After the download is complete. Unzip the installation directory.On the cmd command line, go to the installation directory, then go to the Bin directory and run the Elasticsearch.bat command:After successful startup. In the browser, type: http://localhost:9200/
12345678910
{ "OK": true, "status
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.