• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonrubyphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

allura


Commit MetaInfo

修訂a96b42f3220ab4111d0a19c73546bbf1fc4cc21e (tree)
時間2012-07-19 03:58:58
作者Dave Brondsema <dbrondsema@geek...>
CommiterJenny Steele

Log Message

[#4539] move solr installation into the box setup

Change Summary

差異

--- a/vagrant/allura_setup.sh
+++ b/vagrant/allura_setup.sh
@@ -1,5 +1,18 @@
11 #!/bin/bash
22
3+# Install Solr
4+cd /home/vagrant/src
5+if [ ! -d apache-solr-1.4.1 ]
6+then
7+ echo "Installing Solr..."
8+ wget -q http://apache.mirrors.tds.net/lucene/solr/1.4.1/apache-solr-1.4.1.tgz
9+ tar xf apache-solr-1.4.1.tgz && rm -f apache-solr-1.4.1.tgz
10+ cd apache-solr-1.4.1/example/
11+ mkdir -p /home/vagrant/src/forge/solr_config/conf
12+ cp solr/conf/solrconfig.xml /home/vagrant/src/forge/solr_config/conf/
13+ chown -R vagrant:vagrant /home/vagrant/src/apache-solr* /home/vagrant/src/forge/solr_config/conf/
14+fi
15+
316 # Create log dir
417 if [ ! -d /var/log/allura ]
518 then
--- a/vagrant/start_allura
+++ b/vagrant/start_allura
@@ -12,18 +12,6 @@ then
1212 fi
1313 echo "Logs are in /var/log/allura"
1414
15-# Install Solr
16-cd /home/vagrant/src
17-if [ ! -d apache-solr-1.4.1 ]
18-then
19- echo "Installing Solr..."
20- wget -q http://apache.mirrors.tds.net/lucene/solr/1.4.1/apache-solr-1.4.1.tgz
21- tar xf apache-solr-1.4.1.tgz && rm -f apache-solr-1.4.1.tgz
22- cd apache-solr-1.4.1/example/
23- mkdir -p /home/vagrant/src/forge/solr_config/conf
24- cp solr/conf/solrconfig.xml /home/vagrant/src/forge/solr_config/conf/
25-fi
26-
2715 # Start solr
2816 if pgrep -f solr.*start.jar >/dev/null
2917 then