|
a/start-sandbox.bash |
|
b/start-sandbox.bash |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
|
2 |
|
3 |
# Start RabbitMQ
|
3 |
# Start RabbitMQ
|
4 |
sudo rabbitmq-server &
|
4 |
sudo rabbitmq-server &
|
5 |
rabbitmqctl add_user test test
|
5 |
rabbitmqctl add_user testuser testpw
|
6 |
rabbitmqctl add_vhost test
|
6 |
rabbitmqctl add_vhost testvhost
|
7 |
rabbitmqctl set_permissions -p test test "" ".*" ".*"
|
7 |
rabbitmqctl set_permissions -p testvhost testuser "" ".*" ".*"
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
# Start SOLR, as per SOG-sandbox location
|
10 |
# Start SOLR, as per SOG-sandbox location
|
11 |
pushd /usr/local/solr
|
11 |
pushd /usr/local/solr
|
12 |
java -jar start.jar &
|
12 |
java -jar start.jar &
|