Changes between Version 23 and Version 24 of apachesolr
- Timestamp:
- Dec 12, 2010, 2:46:51 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
apachesolr
v23 v24 13 13 * lucy.mayfirst.org 14 14 * june.mayfirst.org 15 * at.indymedia.org 15 16 16 17 If your primary server is not listed, please open a [/newticket ticket] or [wiki:chat contact the support team] to request having your primary host added. … … 41 42 === On the primary server === 42 43 43 Create a new user on the server (called $ serverfrom now on) with the user name solr-ssh and add:44 Create a new user on the server (called $SERVER from now on) with the user name solr-ssh and add: 44 45 45 46 {{{ … … 47 48 }}} 48 49 49 to the new user's ~/.ssh/authorized_keys file. mirabal will connect to $ serverwith these credentials and provide an ssh tunnel to the Apache Solr server.50 to the new user's ~/.ssh/authorized_keys file. mirabal will connect to $SERVER with these credentials and provide an ssh tunnel to the Apache Solr server. 50 51 51 52 === On Mirabal === 52 53 53 There are two things to do on mirabal.mayfirst.org: add a ssh tunnel to $ serverand create a new Apache Solr site in Apache Tomcat.54 There are two things to do on mirabal.mayfirst.org: add a ssh tunnel to $SERVER and create a new Apache Solr site in Apache Tomcat. 54 55 55 56 ==== Create SSH tunnel ==== 56 57 57 Log as solr-ssh into the host serverfrom solr-ssh on mirabal.mayfirst.org58 Log as solr-ssh into $SERVER from solr-ssh on mirabal.mayfirst.org 58 59 {{{ 59 sudo -u solr-ssh ssh solr-ssh@$server.mayfirst.org60 sudo -u solr-ssh ssh -p $SERVER_SSH_PORT solr-ssh@$SERVER 60 61 }}} 61 62 End the connection with ''exit'' 62 63 63 On mirabal, add a SSH tunnel by adding the login credentials ( solr-ssh@$server.mayfirst.org) to64 On mirabal, add a SSH tunnel by adding the login credentials (-p $SERVER_SSH_PORT solr-ssh@$SERVER) to 64 65 {{{ 65 66 /etc/default/solr-autossh … … 79 80 that the tunnel exists. 80 81 81 Log as solr-ssh into $ serverand download with82 Log as solr-ssh into $SERVER and download with 82 83 {{{ 83 84 wget localhost:9080