operating system :

Centos7 .64 position

=========================================

View the system version and the number of system bits :

[root@localhost /]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@localhost /]# getconf LONG_BIT
64

=========================================

Document preparation :

use pscp.exe copy to linux System fixed folder /installPackage

Download address :nodejs,java1.8,git,es

=========================================

install jdk1.8:

1. cd /installPackage/
2. rpm -ivh jdk-8u161-linux-x64.rpm, install jdk1.8, It's a little time consuming .
3. vi /etc/profile, use :$ Jump to the end of the file , Add the following text . Note that the red italics are modified according to the actual directory of your installation .

JAVA_HOME=/usr/java/jdk1.8.0_161 

JRE_HOME=/usr/java/jdk1.8.0_161/jre

PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib

export JAVA_HOME JRE_HOME PATH CLASSPATH

4. source /etc/profile, Enable environment variables

=========================================

install es:

1. cd /installPackage/
2. rpm -ivh elasticsearch-5.0.2.rpm, install ES, It's a little time consuming .
3. vi /etc/elasticsearch/elasticsearch.yml, use / lookup network.host And modify it . Purpose to make other machines accessible

Change :#network.host: 192.168.0.1 This line , Delete the preceding #, At the same time, the following ip Now linux Systematic IP

4. firewall-cmd --zone=public --add-port=9200/tcp --permanent, open 9200 port

5. firewall-cmd --reload

6. service elasticsearch start, start-up ES service

7. service elasticsearch status -l, Determine whether the current state of the service is started

8. curl 192.168.xx.xx:9200, verification es Install and start . among 192.168.xx.xx For step 3 Modified native IP, Service startup may have to wait , Key step 7 .

=========================================

install ElasticSearch-Head

Please refer to :centos7 install elasticsearch-head

NOTE: installed Git and Nodejs after , After restarting the server , Continue with the installation head

=========================================

Boot up :

Set boot up Elasticsearch service

chkconfig --level 35 elasticsearch on

head The plug-in has not been started yet , To be continued ...

=========================================

Reference resources :

http://blog.csdn.net/u014236259/article/details/53706902

https://www.cnblogs.com/subendong/p/7667558.html

http://www.cnblogs.com/subendong/p/7667496.html

http://www.cnblogs.com/subendong/p/7667443.html

centos7 Environmental installation ElasticSearch More articles about

  1. [ turn ]centos7 Environmental installation rabbitMQ

    Using professional message queuing products rabbitmq And centos7 Environmental installation http://www.cnblogs.com/huangxincheng/p/6006569.html CentOS7 Installation on Rabbit ...

  2. centos7 Environmental installation rabbitMQ

    Using professional message queuing products rabbitmq And centos7 Environmental installation http://www.cnblogs.com/huangxincheng/p/6006569.html [ Source code installation , apply GNOME + ...

  3. Centos7 Lower installation Elasticsearch 5.6.6

    Environmental Science because elasticsearch Yes, it is java Compiling , So you need to install it first JDK ES 5, Installation needs JDK 8 above ES 6.5, Installation needs JDK 11 above ES 7.2.1, Built in JDK 12 install ...

  4. Using professional message queuing products rabbitmq And centos7 Environmental installation

      We will inevitably have the problem of asynchronization when we develop projects , A better solution is to use message queuing , There are many queue products to choose from , Like lightweight redis, Of course, there are also heavyweight professional products rabbitmq,rabbitmq ...

  5. stay centos7 Installation on elasticSearch

    because elasticsearch Yes, it is java Compiling , So you need to install it first JDK: jdk1.8 Installation : Installation instructions elasticsearch Download and install One . download elasticSearch 1. Download address : ht ...

  6. Windows Environmental installation Elasticsearch

    Installation premise : Make sure the computer is installed JDK, Ask for in 1.8 above , And the installation directory cannot contain spaces download Download address :https://www.elastic.co/cn/downloads/elasticsearch choose ...

  7. Centos7 Environment installation initialization

    Install the system Default partition Disk allocation ( With 20G For example ): Boot Partition : The necessary core files to boot the partition system , Suggest 1G Var Partition : Deposit log file , No matter what / Next , Suggest 1G Home Partition : Store user data , It's usually bigger , build ...

  8. Centos7.2 install Elasticsearch 6

    download elasticsearch.6.0.0.tar.gz Migrate files to usr/local in mv elasticsearch-.tar.gz /usr/local/ cd /usr/local tar ...

  9. centos7 Lower installation elasticSearch Error summary ( Single node mode )

    1. First make sure you have installed jdk, Version needs to be 1.8 above 2. Upload elasticsearchjar package , Just configure one file Modify the configuration file config/elasticsearch.yml    network.h ...

Random recommendation

  1. UGUI The advantages of new UI System

    UGUI The advantages of new UI System The first 1 Chapter    new UI System Overview UGUI The advantages of new UI System , new UI Compared to the old system UI In terms of system , It's a huge leap ! It's old UI Developers of system experience , Most of them don't like it at all , So much so that in the past ...

  2. Quick debugging VS Set up

    This is a 2013 year “ Provoke ” Of “ A curse ”. I use it all the time VS2012, Previous debugging was quite convenient , Maybe it was set up by my former colleagues VS, I've never noticed that I stopped debugging ( Stop debugging means : State 1 Debugging status , Change to status 2 To be started ...

  3. Java In this paper, the author introduces the cycle sentence practice 1

    Recently in the fierce review Java, Brush the topic ing. In fact, the process of making a topic is just like moving bricks , Consolidate the most basic work bit by bit , Piece by piece . A good wall can only be built by building it neatly . Okay , Don't say the , I'm going to move the bricks . I won't lie to you , I like math better ...

  4. Contest2037 - CSU Monthly 2013 Oct( Central South University 2013 year 10 The water problem of the monthly contest )

    Problem A: Small change Answer key :http://www.cnblogs.com/crazyapple/p/3349469.html Problem B: Scoop water topic ...

  5. 【 Little knowledge 】DataTable turn List ----------- A drop of water , A trickle of water , It's a vast ocean

    Most of the time we start with ADO All of the data we get from this is DataTable.DataSet data source , However, students with obsessive-compulsive disorder always like to toss , Just convert it to a collection of entities , be supposed to DataTable Inefficient , So it was assimilated . It's necessary to believe ...

  6. ARM Under the architecture linux How to load the device tree

    After introducing the device tree bootloader load DTB Method : 1. Standard method take linux kernel The memory address is <kernel img addr> The memory of the . take DTB The address is <dtb a ...

  7. COJ 2024 Fairyland legend ( 5、 ... and )—— The awakening of a genius Prime sieve

    Organize templates , At the same time memset,for,fill Who on earth is fast ... result :memset The fastest , The second is for,fill The slowest QAQ.... #include<iostream> #include ...

  8. C# Basics : entrust 【 turn 】

    Trust is C# The most common content in . With the class . enumeration . structure . As the interface , Delegation is also a type . A class is an abstraction of an object , A delegate is an abstraction of a function . A delegate represents all functions with the same parameter list and return value . such as : delegate in ...

  9. Arcgis js API Use wmts Mode load GeoWebCache Slice map in ( Reprint )

    Use GeoWebCache The main purpose of is that its independent installation version can be released arcgis The section of . We know , Use openlayer Is to call geoserver The most convenient way , So at the end of the release arcgis After slicing , How to use it? arcgis ...

  10. volatile Some understanding of visibility

    One . Preface volatile The use of key words in JVM It's a clich é in the memory model , This article mainly combines with my own understanding of visibility and some intuitive examples to talk about volatile. The main body of the article is roughly divided into three parts , I'll start with an introduction happe ...