Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Ubuntu deploying Solr (4.4) to Tomcat (7.0.53)     - rsync server set up (Server)

- Django 1.8 TEMPLATE_DIRS configuration and STATICFILES_DIRS (Server)

- To access an Oracle database using Instant Client (Database)

- The difference between statement and preparedStatement of the jdbc (Database)

- Go powerful development server simple example (Server)

- A summary of Java multi-threaded programming - acquaintance multithreading (Programming)

- Analysis JavaBean (Programming)

- Ten to improve the efficiency of the Linux bash tricks (Linux)

- How to override the plain text files and directories soft connection in linux (Linux)

- Using IntelliJ IDEA Import Spark Spark latest source code and compile the source code (Linux)

- Java regular expression syntax (Programming)

- How to install Git client in Ubuntu (Linux)

- Slice MyCAT common fragmentation rules of enumeration (Database)

- Json Applications of FastJson (Programming)

- Linux Troubleshooting: How to save the status of the SSH session is closed (Linux)

- How to Install Node.js in CentOS 7 (Linux)

- Python Django direct implementation of sql statement (Programming)

- MySQL separation Amoeba achieve literacy (Database)

- 10 example of the detection memory usage free Linux commands (Linux)

- OpenSSL for secure transmission and use of skills of files between Windows and Linux (Linux)

 
         
  Ubuntu deploying Solr (4.4) to Tomcat (7.0.53)
     
  Add Date : 2018-11-21      
         
         
         
  The main steps are as follows:

1. Download solr-4.4.0.tgz

2, in the / home / wujiaqi / directory, decompress solr-4.4.0.tgz

tar -xzvf solr-4.4.0.tgz

3. Copy ./example/ webapps solr directory / solr.war to the tomcat webapps directory

cp /home/wujiaqi/solr/example/webapps/solr.war / home / wujiaqi / apache-tomcat / webapps /

4. Create a new bin inside tomcat solr directory

cd / home / wujiaqi / apache-tomcat / bin /

mkdir solr

5. Copy collection1 solr.xml solr directory and the example / solr solr directory to the directory tomcat's bin directory

cd / home / wujiaqi / solr / example / solr /

cp -r collection1 / solr.xml / home / wujiaqi / apache-tomcat / bin / solr

6. Copy all jar package solr of example / lib / ext / under the tomcat / webapps / solr / WEB-INF lib directory

cd / home / wujiaqi / solr / example / lib / ext

cp * .jar / home / wujiaqi / apache-tomcat / webapps / solr / WEB-INF / lib

7. In tomcat / webapps / solr / WEB-INF / classes under a new directory, copy the file solr for example / resources down to the classes directory

8, modify tomcat / webapps / solr / WEB-INF / web.xml file, as follows: