mysql | it is |
---|---|
databases (database) | index (index Library) |
Table (Table) | type (type) |
row (line) | document (document) |
column (column) | field (field) |
ES installation (local)
(mounted under linux)
1: jdk 1.7 or more
2: You can not run es under the root user (for security)
bin/elasticsearch
Tool curl effect is simulated client transmits information to the server, the feedback information.
We can access the page directly (with the same principle crul)
as shown below:
jps view the process
Error:
max file descriptors [65535] for elasticsearch process is too low
to create a description file permissions too low
1: Check the file size can be created
ulimit -Hn
Temporary change it
ulimit -Hn 66666
Configuration File Description:
config / elasticsearch.yml
#集群的名称
cluster.name: es5-cluster
#集群节点的名称
node.name: es01
#es的数据节点
path.data: /home/es/data1/es5/data
#es的logs的存放节点
path.logs: /home/es/data1/es5/logs
#主节点的ip
network.host: 192.168.43.37
#外部访问端口号
http.port: 9200
#是否应许插件的访问
http.cors.enabled: true
#任何插件多可以访问
http.cors.allow-origin: "*"
#集群通讯ip,集群有多少节点就加上他 ip,
discovery.zen.ping.unicast.hosts: ["192.168.43.37","192.168.43.61","192.168.43.151"]
#内部通讯端口
Transport.tcp.port: 9300
discovery.zen.minimum_master_nodes: 3