allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [12/13] allura git commit: [#7907] ticket:860 Add local setup instaructions for solr 5.3
Date Thu, 26 Nov 2015 13:19:22 GMT
[#7907] ticket:860 Add local setup instaructions for solr 5.3


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/c3783e75
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/c3783e75
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/c3783e75

Branch: refs/heads/ib/7907
Commit: c3783e75d104d3e5f17f96db7f76188975f481e7
Parents: f909191
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Nov 26 15:00:48 2015 +0200
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Thu Nov 26 15:00:48 2015 +0200

----------------------------------------------------------------------
 Allura/development.ini                       |  2 +-
 Allura/docs/getting_started/installation.rst | 15 ++++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/c3783e75/Allura/development.ini
----------------------------------------------------------------------
diff --git a/Allura/development.ini b/Allura/development.ini
index b25ce43..4224bc8 100644
--- a/Allura/development.ini
+++ b/Allura/development.ini
@@ -409,7 +409,7 @@ stats.sample_rate = 1
 monq.poll_interval=2
 
 ; SOLR setup
-solr.server = http://localhost:8983/solr
+solr.server = http://localhost:8983/solr/allura
 ; Alternate server to use just for querying
 ;solr.query_server =
 ; Shorter timeout for search queries (longer timeout for saving to solr)

http://git-wip-us.apache.org/repos/asf/allura/blob/c3783e75/Allura/docs/getting_started/installation.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/getting_started/installation.rst b/Allura/docs/getting_started/installation.rst
index d3c7f53..b98d545 100644
--- a/Allura/docs/getting_started/installation.rst
+++ b/Allura/docs/getting_started/installation.rst
@@ -144,13 +144,14 @@ We have a custom config ready for use.
 
 .. code-block:: bash
 
-    (env-allura)~$ cd ~/src
-    (env-allura)~/src$ wget -nv http://archive.apache.org/dist/lucene/solr/4.2.1/solr-4.2.1.tgz
-    (env-allura)~/src$ tar xf solr-4.2.1.tgz && rm -f solr-4.2.1.tgz
-    (env-allura)~/src$ cp -f allura/solr_config/schema.xml solr-4.2.1/example/solr/collection1/conf
-
-    (env-allura)~/src$ cd solr-4.2.1/example/
-    (env-allura)~/src/apache-solr-4.2.1/example/$ nohup java -jar start.jar > /var/log/allura/solr.log
&
+    (env-allura)~$ cd tmp
+    (env-allura)/tmp$ wget -nv http://archive.apache.org/dist/lucene/solr/5.3.1/solr-5.3.1.tgz
+    (env-allura)/tmp$ tar xvf solr-5.3.1.tgz solr-5.3.1/bin/install_solr_service.sh --strip-components=2
+    (env-allura)/tmp$ sudo ./install_solr_service.sh solr-5.3.1.tgz
+
+    (env-allura)/tmp$ cd ~/src/allura
+    (env-allura)~/src/allura$ sudo -H -u solr bash -c 'cp -R solr_config/allura/ /var/solr/data/'
+    (env-allura)~/src/allura$ sudo service solr start
 
 
 Create code repo directories


Mime
View raw message