Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Ubuntu deploying Solr (4.4) to Tomcat (7.0.53)     - Ubuntu 14.10 installation SecureCRT 7.3 (Linux)

- Large computer network security policy Experience (Linux)

- Timeout control related to Python threads and a simple application (Programming)

- MariaDB phpMyAdmin installation and configuration issues to resolve under CentOS7 (Database)

- MySQL tmpdir parameter modification (Database)

- Linux system crash (no such file or directory) How to rescue database (Linux)

- Create a project using Android Studio LinearLayout (Programming)

- Source code compiled by the installation program under Linux (Linux)

- Spring Data MongoDB combat (Database)

- 10 Linux in the passwd command examples (Linux)

- Let Ubuntu 14.04 Save screen luminance value (Linux)

- Hadoop 2.6.0 stand-alone / pseudo-distributed installation (Server)

- Linux system security audit tools scan nessus installation tutorial (Linux)

- How to install Bugzilla 4.4 on Ubuntu / CentOS 6.x (Linux)

- DB2 manually create a library (Database)

- The maximum subsequence algorithm and optimization problems (Programming)

- Oracle Data Pump Example (Database)

- Fedora 22 install Adobe Flash Player (Linux)

- Linux open handle limit adjustment (Linux)

- Installation salt-minion on RHEL5 (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: