You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2017/08/02 20:25:12 UTC

[07/12] lucene-solr:jira/solr-10842: SOLR-10842: installation docs

SOLR-10842: installation docs


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ad210e44
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ad210e44
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ad210e44

Branch: refs/heads/jira/solr-10842
Commit: ad210e44a614717c77c4bbd6a4efe32cf2a9027a
Parents: 77d2333
Author: Cassandra Targett <ct...@apache.org>
Authored: Tue Jun 13 15:34:49 2017 -0500
Committer: Cassandra Targett <ct...@apache.org>
Committed: Wed Aug 2 15:20:10 2017 -0500

----------------------------------------------------------------------
 solr/solr-ref-guide/src/installing-solr.adoc | 52 +++++++++++++++++++----
 1 file changed, 43 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ad210e44/solr/solr-ref-guide/src/installing-solr.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/installing-solr.adoc b/solr/solr-ref-guide/src/installing-solr.adoc
index 9e12bb6..fd5f128 100644
--- a/solr/solr-ref-guide/src/installing-solr.adoc
+++ b/solr/solr-ref-guide/src/installing-solr.adoc
@@ -22,11 +22,13 @@ This section describes how to install Solr.
 
 You can install Solr in any system where a suitable Java Runtime Environment (JRE) is available, as detailed below. Currently this includes Linux, OS X, and Microsoft Windows. The instructions in this section should work for any platform, with a few exceptions for Windows as noted.
 
-== Got Java?
+== Installation Requirements
+
+=== Java Requirements
 
 You will need the Java Runtime Environment (JRE) version 1.8 or higher. At a command line, check your Java version like this:
 
-[source,plain]
+[source,bash]
 ----
 $ java -version
 java version "1.8.0_60"
@@ -34,23 +36,55 @@ Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
 Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
 ----
 
-The exact output will vary, but you need to make sure you meet the minimum version requirement. We also recommend choosing a version that is not end-of-life from its vendor. If you don't have the required version, or if the java command is not found, download and install the latest version from Oracle at http://www.oracle.com/technetwork/java/javase/downloads/index.html.
+// TODO - add info on Oracle vs OpenJDK?
+
+The exact output will vary, but you need to make sure you meet the minimum version requirement. We also recommend choosing a version that is not end-of-life from its vendor.
+
+If you don't have the required version, or if the `java` command is not found, download and install the latest version from Oracle at http://www.oracle.com/technetwork/java/javase/downloads/index.html.
+
+=== Supported Operating Systems
+
+// TODO - fill in OS flavors here.
+
+Solr is tested on several flavors of Linux operating systems.
+
+Tests are also run on Windows.
+
+== Available Solr Packages
+
+Solr is available from the Solr website. Download the latest release https://lucene.apache.org/solr/mirrors-solr-latest-redir.html.
+
+There are three separate packages:
+
+* `solr-{solr-docs-version}.0.tgz` for Linux/Unix/OSX systems
+* `solr-{solr-docs-version}.0.zip` for Microsoft Windows systems
+* `solr-{solr-docs-version}.0-src.tgz` the package Solr source code. This is useful if you want to develop on Solr without using the official Git repository.
+
+== Planning the Installation
+
+When getting started, all you need to do is extract the Solr distribution archive to a directory of your choosing. This will suffice as an initial development environment, but take care not to overtax this "toy" installation before setting up your true development and production environments.
+
+When you've progressed past initial evaluation of Solr, you'll want to take care to plan your implementation. You may need to reinstall Solr on another server or make a clustered SolrCloud environment.
+
+When you're ready to setup Solr for a production environment, please refer to the instructions provided on the <<taking-solr-to-production.adoc#taking-solr-to-production,Taking Solr to Production>> page.
 
-[[install-command]]
-== Installing Solr
+.What Size Server Do I Need?
+[NOTE]
+====
+How to size your Solr installation is a complex question that relies on a number of factors, including the number and structure of documents, how many fields you intend to store, the number of users, etc.
 
-Solr is available from the Solr website at http://lucene.apache.org/solr/.
+It's highly recommended that you spend a bit of time thinking about the factors that will impact hardware sizing for your Solr implementation. A very good blog post that discusses the issues to consider is https://lucidworks.com/2012/07/23/sizing-hardware-in-the-abstract-why-we-dont-have-a-definitive-answer/[Sizing Hardware in the Abstract: Why We Don't have a Definitive Answer].
 
-For Linux/Unix/OSX systems, download the `.tgz` file. For Microsoft Windows systems, download the `.zip` file.
+====
 
-When getting started, all you need to do is extract the Solr distribution archive to a directory of your choosing. When you're ready to setup Solr for a production environment, please refer to the instructions provided on the <<taking-solr-to-production.adoc#taking-solr-to-production,Taking Solr to Production>> page.
+== Package Installation
 
 To keep things simple for now, extract the Solr distribution archive to your local home directory, for instance on Linux, do:
 
 [source,bash]
 ----
 cd ~/
-tar zxf solr-x.y.z.tgz
+tar zxf solr-{solr-docs-version}.0.tgz
 ----
 
 Once extracted, you are now ready to run Solr using the instructions provided in the <<running-solr.adoc#running-solr,Running Solr>> section.