About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:security

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
administration:security [2020/06/04 17:23] – [Locking Down Solr] demiankatzadministration:security [2020/06/04 17:29] – [Changing the Solr Port Number] demiankatz
Line 19: Line 19:
 ===== Locking Down Solr ===== ===== Locking Down Solr =====
  
-To ensure that your data is secure, it is advised that you lock down the solr server to only be accessible from your local webserver. The default port is 8983 in VuFind 7 and newer, 8080 in 6.x and earlier. This port should be locked down to eliminate security threats to your data. +To ensure that your data is secure, it is advised that you lock down the Solr server to only be accessible from your local webserver. The default port is 8983 in VuFind 7 and newer, 8080 in 6.x and earlier. This port should be locked down to eliminate security threats to your data. 
  
  
Line 32: Line 32:
 === 2. Reconfigure VuFind === === 2. Reconfigure VuFind ===
  
-Edit the solr.hosturl setting in the import/import.properties file (and also import/import_auth.properties, if you plan on importing authority records). Be sure to edit the versions in your [[configuration:local_settings_directory|local settings directory]] if using VuFind 2.x or newer.+You will need to adjust a few configuration files to reflect the new port number you have chosen. 
 + 
 +== A. SolrMarc Import Configuration == 
 + 
 +If you use SolrMarc to import MARC records, you must edit the solr.hosturl setting in the import/import.properties file (and also import/import_auth.properties, if you plan on importing authority records). Be sure to edit the versions in your [[configuration:local_settings_directory|local settings directory]] if using VuFind 2.x or newer.
  
 <code> <code>
-solr.hosturl = http://localhost:8080/solr/biblio/update+solr.hosturl = http://localhost:xxxx/solr/biblio/update
 </code> </code>
  
-Edit the [Statistics] and/or [Index] sections of the [[configuration:files:config.ini]] file as appropriate:+== B. VuFind Configuration == 
 + 
 +To ensure that VuFind can perform Solr searches, edit the [Index] section of the [[configuration:files:config.ini]] file as appropriate:
 <code> <code>
-[Statistics] 
-... 
-solr            = http://localhost:8080/solr 
-... 
 [Index] [Index]
 ... ...
-url             = http://localhost:8080/solr+url             = http://localhost:xxxx/solr
 </code> </code>
 +
 +== C. Other Configuration Files ==
 +
 +Some advanced features (such as [[indexing:websites|website searching]]) can be configured to connect to a different index from the one specified in config.ini. If you have customized this, you may need to adjust additional settings. Searching the $VUFIND_LOCAL_DIR/config/vufind directory for the old port number is a good way to be sure you haven't missed anything.
  
 === 3. Restart Solr === === 3. Restart Solr ===
administration/security.txt · Last modified: 2024/02/20 13:09 by demiankatz