Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Ubuntu deploying Solr (4.4) to Tomcat (7.0.53)     - Oracle Linux 7.1 install Oracle 12C RAC (Database)

- Java reflection technology explain (Programming)

- Linux SSH remote connection service slow Solutions (Linux)

- Linux system Perl Lite netstat (Linux)

- Linux / Unix: chroot command examples to explain (Linux)

- MyEclipse configuration necessary (Linux)

- cp: omitting directory error solutions under Linux (Linux)

- Getting Started with Linux: Learn how to upgrade Docker in Ubuntu (Server)

- findmnt- Looking mounted file system (Linux)

- Rman Oracle database backup and recovery plan (Database)

- Installation configuration CUDA under Ubuntu 14.04 (Linux)

- Install Ruby on Rails in Ubuntu 15.04 in (Linux)

- Migu online music player for Linux (Linux)

- SVN common commands (Linux)

- Upload the project to GitHub, synchronous remote repository Github (Linux)

- Five kinds of IO Model under Linux (Programming)

- Ceph tuning --Journal and tcmalloc (Server)

- Repair fatal error in Linux: lame / lame.h: No such file or dir Error (Linux)

- impdp error ORA-31631, ORA-39122 (Database)

- Linux screen commonly commands (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: