|
a/README.markdown |
|
b/README.markdown |
|
... |
|
... |
99 |
### SOLR search and indexing server
|
99 |
### SOLR search and indexing server
|
100 |
|
100 |
|
101 |
We have a custom config ready for use.
|
101 |
We have a custom config ready for use.
|
102 |
|
102 |
|
103 |
(anvil)~$ cd ~/src
|
103 |
(anvil)~$ cd ~/src
|
104 |
(anvil)~/src$ wget http://archive.apache.org/dist/lucene/solr/1.4.1/apache-solr-1.4.1.tgz
|
104 |
(anvil)~/src$ wget -nv http://archive.apache.org/dist/lucene/solr/4.2.1/solr-4.2.1.tgz
|
105 |
(anvil)~/src$ tar xf apache-solr-1.4.1.tgz
|
105 |
(anvil)~/src$ tar xf solr-4.2.1.tgz && rm -f solr-4.2.1.tgz
|
|
|
106 |
(anvil)~/src$ cp -f allura/solr_config/schema.xml solr-4.2.1/example/solr/collection1/conf
|
|
|
107 |
|
106 |
(anvil)~/src$ cd apache-solr-1.4.1/example/
|
108 |
(anvil)~/src$ cd solr-4.2.1/example/
|
107 |
(anvil)~/src/apache-solr-1.4.1/example/$ mkdir -p ~/src/allura/solr_config/conf
|
|
|
108 |
(anvil)~/src/apache-solr-1.4.1/example/$ cp solr/conf/solrconfig.xml ~/src/allura/solr_config/conf/
|
|
|
109 |
(anvil)~/src/apache-solr-1.4.1/example/$ mkdir ~/logs/
|
109 |
(anvil)~/src/apache-solr-1.4.1/example/$ mkdir ~/logs/
|
110 |
(anvil)~/src/apache-solr-1.4.1/example/$ nohup java -Dsolr.solr.home=$(cd;pwd)/src/allura/solr_config -jar start.jar > ~/logs/solr.log &
|
110 |
(anvil)~/src/apache-solr-1.4.1/example/$ nohup java -jar start.jar > ~/logs/solr.log &
|
111 |
|
111 |
|
112 |
|
112 |
|
113 |
### Allura task processing
|
113 |
### Allura task processing
|
114 |
|
114 |
|
115 |
Allura uses a background task service called "taskd" to do async tasks like sending emails, and indexing data into solr, etc. Let's get it running
|
115 |
Allura uses a background task service called "taskd" to do async tasks like sending emails, and indexing data into solr, etc. Let's get it running
|