Solr uses UTF-8 file encoding. That means that we need to ensure
that Apache Tomcat will be informed that all requests and responses made should use that
encoding. To do that, we modified the server.xml file in the way shown in the following code:
The third step is to create a proper context file. To do that, create a solr.xml file
in the $TOMCAT_HOME/conf/Catalina/localhost directory. The contents of
the file should look like the following code:
启动tomcat,可以看到日志信息,确认已经成功启动 打开 http://localhost:8080/solr/
If you see the page with links to administration pages of each of the cores defined, that
means that your Solr is up and running.