At present, online about solr6.+ There are few installation tutorials for , There are some 6.0 The previous tutorial applies to 6.+ There are a lot of problems in the version of , So I specially sorted out this article , Hope to give you some help ！
Rarely write articles , If there is something wrong , Also hope to give more guidance .
One 、window Environmental Science
solr 6.6.0 Download address http://apache.fayea.com/lucene/solr/6.6.0/
jdk 1.8 tomcat 8.0
This machine tomcat Environmental Science ：E:\Java\tomcat\apache-tomcat-8.0.26-windows-x64\webapps
Native decompression path ：E:\Java\components\solr-6.6.0
Two 、 Deploy solr
Because I learn to use in a local environment , So download window Version of zip package
1, First, make sure that jdk 、tomcat、 And downloaded solr-6.6.0.zip
2, take solr-6.6.0.zip decompression , find E:\Java\components\solr-6.6.0\server\solr-webapp\webapp, And will webapp Copy folder to tomcat Of webapps Next , And changed its name to solr（ It can be any name ）
3, Copy solr-6.6.0\server\lib\ext Under the jar Package to tomcat Under the webapps\solr\WEB-INF\lib Under the path
Copy solr-6.6.0\dist Under the solr-dataimporthandler-6.6.0.jar、solr-dataimporthandler-extras-6.6.0.jar Package to tomcat Under the webapps\solr\WEB-INF\lib Under the path
Copy solr-6.6.0\server\lib Under the metrics At the beginning 5 individual jar To tomcat Under the webapps\solr\WEB-INF\lib Under the path
4, Copy solr-6.6.0\server\ The next path solr Put the contents of the folder in a non Chinese directory , My own catalog （D:\solr-home）
5, modify tomcat Under the webapps\solr\WEB-INF\web.xml, To specify the solr/home
Search for ：
take /put/your/solr/home/here Change it to your own solrhome route （D:\solr-home）
6, stay tomcat Of webapps\solr\WEB-INF Create under path classes Folder , And then solr-6.6.0\server\resources Under folder log4j.properties Copy the past
7, Remove authority , Or visit solr There will be an unauthorized error , open webapps\solr\WEB-INF\web.xml, find 168 That's ok （ My environment is this line number ）, Add notes
for example ：
<web-resource-name>Enable everything but TRACE</web-resource-name>
8, start-up tomcat, Enter the address in the browser ：http://127.0.0.1:8080/solr/index.html
Only this and nothing more ,solr Set up
- Solr One of the studies -------- Environment building
One . The preparation of the instruments download Solr, With the latest version solr-6.1.0 For example Get ready servlet Containers ,Tomcat,Jetty,Resin And so on . With Tomcat7 For example Two . start take solr Unpack , stay sol ...
- Python The construction of the environment for basic learning
Python Today, it has become the preferred learning language for zero basic programming enthusiasts , This sum Python Language itself is powerful and easy to learn . Today we will lead Python Beginners with zero basics complete the first step of getting started —— Environment building . In this paper, we will first distinguish several in P ...
- Maven Learning notes ( One ) Basic environment construction
stay Java In the world of , Project management and construction , There are two common tools , One is Maven, The other is Gradle, Of course , There's another one that's fading out Ant.Maven and Gradle They're great tools , Excluding personal preferences , Which tool should I use ...
- know Python& Basic environment construction
Preface As .NET Coder Probably .NET Core Is the primary learning direction at this stage , But it's true Core I really don't have a cold . There are several reasons : 1. A branch library needed at the bottom of the company's project ,Core Not yet . 2. The same needs ,.NET ...
- （ One ）Hyperledger Fabric 1.1 Installation and deployment - Basic environment construction
In learning and development hyperledger fabric When I met some pits , Now some of my summary and experience are as follows , In order to help you . The host environment used this time :ubuntu, edition :Ubuntu 16.04.3 LTS ...
- HyperLedger Fabric 1.4 Basic environment construction （7）
After learning the theoretical knowledge of the previous chapters , This chapter begins with the introduction of practical operation , Let's first introduce Fabric Basic environment construction , The operating system used is Centos 7 64 position , Introduction in turn Docker install .Docker-Compose install .GO Locale installation . ...
- Spark Introduction to actual combat series --2.Spark Compile and deploy （ On ）-- Basic environment construction
[ notes ] 1. This series of articles and how to use the installation package / Test data Can be in < I'd like to give you a big gift --Spark Introduction to actual combat series > obtain : 2.Spark Compilation and deployment will take CentOS 64 Bit operating system based , Mainly considering the practical application ...
- EXT Basic environment construction
EXT The basic environment is built and used Sencha CMD Download address https://www.sencha.com/products/extjs/cmd-download/ Sencha CMD Common commands API ...
- IOS The development of the basic environment to build
One . Purpose The purpose of this paper is windows Next IOS The basic development environment is introduced , You can follow the steps of the document mac The deployment environment : Two . Install virtual machine Download the green version of the virtual machine installation file , Click on the following file to install Get installation package : ...
- Homework three : Code specification 、 Code review 、PSP
branch ) Whether code specification is needed or not , Please consider the following arguments and refute / Support : These specifications are generated under the bureaucratic system, wasting everyone's programming time . Affect people's development efficiency , Things that waste time . I'm an artist , artisans , I have my own norms and principles . Norms cannot ...
- ASP.NET MVC Operation mechanism of --url The global analysis of
overall situation First, let's look at a picture First , User pass Web Browser sends a message to server url request , Here's the request url No more xxx.aspx Format , It is http://HostName/ControllerNam ...
- To acquaint you with CSS float
One . Conceptual understanding float : As the name suggests, floating before moving , Floating objects float first , Get out of your place ( It's also called breaking away from the document stream ), Backward motion means , The element behind it will move to its original position . Two . matters needing attention 1. When an element has floating attributes , ...
- Multithreading or Multi process ？[ turn ]
stay Unix There is a long-standing dispute over whether to use multithreading or multiprocessing in programming , This kind of dispute is most common in C/S On the selection of server concurrency technology in communication , such as WEB In server technology ,Apache yes Adopt multi process (perfork Pattern , Each customer connection corresponds to a ...
- Java Gather them together Map Interface
Map Use key value pairs to store data , Mapping keys to value objects , A map cannot contain duplicate keys , Each key can only be mapped to at most one value .Map The concrete implementation class of the interface :HashMap,Hashtable,TreeMap,LinkedHashM ...
- Recommend some C# Related websites 、 Resources and books （ Reprinted from http://www.cnblogs.com/jiangxiaofan/p/3808316.html）
Recommend some C# Related websites . Resources and books ( Reprinted from http://blog.csdn.net/chinacsharper/article/details/17514923) One . Website 1.http://m ...
- Spring classPath： usage
http://blog.csdn.net/xing_sky/article/details/8228305 Refer to the article address : http://hi.baidu.com/huahua035/item/ac8 ...
- Junit-4.1.2 @Test Use
Learn to use Junit-4.1.2 @Test To do unit tests 1. download jar package download junit-4.12.jar download hamcrest-core-1.3.jar 2. stay External Libraries in ...
- Source code installation Nginx Add TCP Reverse proxy module
explain : The installation method is source code compilation and installation , So install the dependency first , Otherwise, the report will be wrong . yum -y install gcc* patch openssl openssl-devel Installation steps : download nginx Source package : wg ...
- matplotlib figure Images -【 An old fish matplotlib】
If we want to display multiple images , It's a bit like the concept of multi window image display , You'll use plt.figure() Direct example : import numpy as np import pandas as pd import ...