How to Install Apache Solr 3.4.0 on CentOS/RHEL 5/6/7

Solr is the well known, blazing fast open source enterprise search platform from the Apache Lucene project. Its significant elements incorporate intense full-content search, hit highlighting, faceted search, dynamic clustering, database integration, rich record (e.g., Word, PDF) taking care of, and geospatial inquiry. Solr is higly scalable, giving distributed search and index replication, and it controls the search and navigation features of huge numbers of the world’s biggest internet sites.

mantle-lucene-solr

Check Java Version

JAVA is the first requirement for Solr establishment. Verify you have JAVA SE 6 or Later form introduced in your framework. Utilization taking after order to check in the event that you have java introduced as of now on your framework.

# java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
If you do not have java installed, Use any article Install Java 7 or Install Java 8 in RHEL based systems.

Install Java 8 on CentOS/RHEL
Install Java 7 on CentOS/RHEL

Download Apache Solr 3.4.0

First we download solr source file using following command:

# cd /opt
# wget https://archive.apache.org/dist/lucene/solr/3.4.0/apache-solr-3.4.0.tgz

Now we extract tar file using following command:

# tar -zxvf apache-solr-3.4.0.tgz

Move Solr

Now we move solr directory where we want to setup solr.

# mv apache-solr-3.4.0 /home/apache-solr

Start Solr

To begin Solr surprisingly after establishment, simply do:

# cd /home/apache-solr
# cd example
# java -jar start.jar &

Change port

Sometimes we need to run multiple Apache Solr on server, So to run multiple Apache Solr we need to run it on different port.

# cd /home/apache-solr/example/etc/jetty.xml
Search below line:
Set name="port><SystemProperty name="jetty.port" default="8983"/></Set>
Replace Port No.:
Set name="port"><SystemProperty name="jetty.port" default="7574"/></Set>

After changing the default port of Apache Solr restart Solr service.

Access Solr

In the wake of beginning Solr, direct your Web program to the Solr Admin Console at:

# http://192.168.10.84:7574/solr/

apache_solr

Comments
  1. 9 years ago
  2. 9 years ago
    • 9 years ago
  3. 9 years ago
    • 9 years ago
  4. 7 years ago
  5. 7 years ago
  6. 7 years ago
  7. 7 years ago
  8. 6 years ago
  9. 6 years ago
  10. 6 years ago
  11. 6 years ago
  12. 6 years ago
  13. 5 years ago
    • 5 years ago
  14. 5 years ago
    • 5 years ago
  15. 5 years ago
  16. 5 years ago
  17. 5 years ago
  18. 5 years ago
  19. 5 years ago
  20. 5 years ago
  21. 5 years ago
  22. 5 years ago
  23. 5 years ago
  24. 5 years ago
  25. 5 years ago
  26. 5 years ago
  27. 5 years ago
  28. 5 years ago
  29. 5 years ago
  30. 5 years ago
  31. 4 years ago
  32. 4 years ago
  33. 4 years ago
  34. 4 years ago
  35. 4 years ago
  36. 4 years ago
  37. 4 years ago
  38. 4 years ago
  39. 4 years ago
  40. 4 years ago
  41. 4 years ago
  42. 4 years ago
  43. 4 years ago
  44. 4 years ago
  45. 4 years ago
  46. 4 years ago
  47. 4 years ago
  48. 4 years ago
  49. 4 years ago
  50. 4 years ago
  51. 3 years ago
  52. 3 years ago
  53. 3 years ago
  54. 3 years ago
  55. 3 years ago
  56. 3 years ago
  57. 3 years ago
  58. 3 years ago
  59. 3 years ago
  60. 3 years ago
  61. 3 years ago
  62. 3 years ago
  63. 2 years ago
  64. 11 months ago
  65. 11 months ago
  66. 11 months ago
  67. 9 months ago
  68. 9 months ago

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.