Skip to content

Commit

Permalink
Update Banana_Setup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonambridge authored Nov 21, 2017
1 parent e0c9b6c commit 462d26a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions banana/Banana_Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,22 @@ e.g.
```
curl -X POST -H 'Content-type:text/xml; charset=utf-8' "http://[DSE_Host_IP]:8983/solr/admin/cores?action=RELOAD&name=banana.dashboards"
```

After a few seconds:
```
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">20195</int></lst>
</response>```
```

A Solr core called `banana.dashboards` should now appear in the Solr Admin UI in the drop-down list of available cores - Click "Core Admin".

### Update Tomcat conf

```cd $DSE_HOME/resources/tomcat/conf```
```
cd $DSE_HOME/resources/tomcat/conf
```

Edit server.xml.
```
Expand All @@ -127,7 +130,9 @@ cp server.xml server.xml.original

Add the following inside the `<Host>` tag:

```<Context docBase="<!your dse home location>!/solr/web/banana/src" path="/banana" />```
```
<Context docBase="<!your dse home location>!/solr/web/banana/src" path="/banana" />
```

Save the file.

Expand All @@ -140,6 +145,7 @@ rm -rf $DSE_HOME/resources/tomcat/work
### Restart DSE

As root (or sudo) restart the DSE services:

On MacOs:
```
server_stop
Expand Down

0 comments on commit 462d26a

Please sign in to comment.