Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Ubuntu deploying Solr (4.4) to Tomcat (7.0.53)     - IronPython and C # to interact (Programming)

- Ubuntu Linux installation GAMIT10.6 (Linux)

- Installation configuration CUDA under Ubuntu 14.04 (Linux)

- Standardized UNIX command-line tool (Linux)

- Linux system boot process ARM platforms (Linux)

- Linux Network Programming --TCP and UDP datagram type Explanation (Programming)

- Android using shape drawable material production (Programming)

- Varnish configuration language VCL and its built-in variables (Server)

- Oracle RMAN backups of the control file backup (Database)

- RHEL5.x RHEL6.x replace CentOS yum source (Linux)

- RHEL 6.6 install GNOME desktop environment (Linux)

- Let the terminal under Mac OS X as like Linux has displayed a variety of colors (Linux)

- OpenStack / Dev stack with neutron on Ubuntu 14.04 (Server)

- swap space is insufficient cause OOM kill MySQL Case (Database)

- Oracle 11g dataguard main library backup and recovery to the test environment in one database error (Database)

- Android main thread message system (Handler Looper) (Linux)

- Connect to the Oracle Database Help class (Database)

- Linux use chattr and lsattr commands to manage file and directory attributes (Linux)

- Sublime Text 3 practical functions and shortcut keys used to collect (Linux)

- MySQL and Oracle time zone settings compare (Database)

 
         
  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: