Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6066945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:33:18+00:00 2026-05-23T09:33:18+00:00

I am using Solr for my front-end webapp and in order to install it

  • 0

I am using Solr for my front-end webapp and in order to install it in Ubuntu 10.04 I did a simply apt-get solr-jetty and everything was fine.

The problem now is that I need some new features of Solr that exist in the latest release of Solr, but the version of Solr in the ubuntu package is still at 1.4!

My question is how can I upgrade the Solr version to the latest? Can someone give me some tips how can I do that plz????

EDIT: or may how to make a clean install of Solr with Jetty..

EDIT: at the end wasn’t so difficult to install Solr with an already installed Jetty in my VPS.In case that someone found it helpfull I followed the bellow steps:

  1. Placed the solr.war file in the Dist folder in the webapps folder of jetty
  2. Placed the example/solr folder into the /var/share/solr folder in my machine as the Solr home folder
  3. Edited the solrconfig.xml and schema.xml into my needs
  4. Finally in order Jetty knows where is the Solr Home Dir, I edited the Jetty file into the /etc/default directory, by uncomment the JAVA_OPTIONS var and add it the following option:
    JAVA_OPTIONS=”-Dsolr.solr.home=/var/share/solr $JAVA_OPTIONS”

and that’s it. I am not sure about the last step if it is the best way to do it but since Solr is working, should be the right way (solr documentation says something about JNDI lookup but I didn’t manage to find it out).

Cheers

UPDATE: playing with a small ubuntu machine in digitalocean i found this very useful article on how to install the latest solr version in ubuntu. Disclaimer: i am not working or have any relationship with digitalocean..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:33:19+00:00Added an answer on May 23, 2026 at 9:33 am

    The best way to deal with mission critical packages like this on Ubuntu, is to ignore the Ubuntu packaging system entirely, and that includes Launchpad. They are always lagging behind because to them, SOLR is not important. It is the same with Erlang, RabbitMQ, Python, etc. I try to build these packages from source myself, and install them outside of Ubuntu’s system, either in /usr/local or in /home/packagename.

    SOLR 3.2 is available for download from apache.org as a ready to run package named apache-solr-3.2.0.tgz including jetty. You simply unzip wherever you want it. Change directories into the example directory and type java -jar start.jar.

    You can then change the schema.xml etc. to meet your needs.

    Because this is a Java package you don’t need to mess around with building from source, because the same compiled package will run anywhere that java is installed.

    In addition to the xml files for configuring SOLR, you will have to look at .properties files to change the jetty configuration such as the port number used.

    If you have Java developers at your company, there is another way to deal with this. Simply refuse to install SOLR, period. SOLR is a Java app. The Java developers already have a continuous integration system that collects dependencies, bundles them up into JARs or WARs and deploys them to production servers. Tell them to take care of SOLR the same way. It is not much work for a Java developer to set this up because there is no coding to do, just packaging. Then you manage deployment of configuration changes the same way you would do it for any other Java app.

    Only use the Ubuntu packages (or any other distro’s packages) to play around and evaluate tools. When a tool becomes mission critical to your business, take control of it and deal with the “upstream developers” directly. No need for distro middlemen to muddy the waters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running a Solr instance on Jetty and when I search using the
I plan on using solr on my VPS. My server is Ubuntu. Does anybody
I got indexed a Mysql database using Solr and everything is perfect. Now i
I want to include highlighting feature in my search application using solr. I did
I am using SOLRNET and am using SOLR's MoreLikeThis functionality to get similar documents
I'm trying to search for a partial word using Solr, but I can't get
I am using solr search engine to query an index for classifieds that match
How do I pick/ delete all the documents from Solr using the boolean NOT
I'm looking into using Lucene and/or Solr to provide search in an RDBMS-powered web
I'm using RoR + acts_as_solr to query a Solr database. I'm used to using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.