Created
January 25, 2017 18:12
-
-
Save sumanthkumarc/06b07b6d978d33e44ecfe7e90c62f40a to your computer and use it in GitHub Desktop.
installing apache solr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install openjdk-8-jdk | |
cd /opt | |
sudo wget http://www.us.apache.org/dist/lucene/solr/6.3.0/solr-6.3.0.tgz | |
sudo tar xzf solr-6.3.0.tgz solr-6.3.0/bin/install_solr_service.sh --strip-components=2 | |
sudo ./install_solr_service.sh solr-6.3.0.tgz | |
service solr status | |
for accessing: | |
http://localhost:8983/solr/#/ | |
for creating a test solr core: | |
sudo su - solr -c "/opt/solr/bin/solr create -c gettingstarted -n data_driven_schema_configs" | |
solr server binary available at: /opt/solr/bin/solr | |
solr core data avialable at: | |
/var/solr/data/ --- owned by solr user | |
to make solr data folder visible to exising user | |
sudo usermod -a -G solr current_user | |
or use sudo to copy below files. | |
copy all the config fiels form search_api_solr module, solr config dir to /var/solr/data/ipassio/conf/ directory | |
better take a backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment