Install SOLR under Ubuntu

Source: Internet
Author: User
Tags solr

1. At Tsinghua Open source software mirror Station or http://www.us.apache.org/dist/

Download SOLR's installation package, I downloaded the solr-6.5.1.tgz

2. Unzip and move to the/usr/local directory

3. Installing SOLR requires a Java environment to be installed, assuming the Java environment is installed

4. Unzip the install_solr_service.sh file in the Solr-6.5.1.tgz directory

Tar zxvf solr-6.5.1.tgz solr-6.5.1/bin/install_solr_service.sh--strip-components=2

5. Run the script to install

sudo bash./install_solr_service.sh solr-6.5.1.tgz

6. If the installation fails, use the following command to remove SOLR and reinstall

sudo service solr stopsudo rm-r/var/solrsudo rm-r/opt/solr-6.5.1sudo rm-r/opt/solrsudo rm/etc/init.d/solrsudo delus Er--remove-home solrsudo deluser--group SOLR

7. If the installation is successful, use the following command to check the status of the SOLR service

Service SOLR Status

8.SOLR Management Interface

http://localhost:8983/solr/

Install SOLR under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.