[PIO-140] Describe the binary distribution in the installation guide
Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/e734ff89 Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/e734ff89 Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/e734ff89 Branch: refs/heads/master Commit: e734ff89db03d5a2acc409dc7e4ccb0cc37a1065 Parents: 7cd92af Author: Chan Lee <[email protected]> Authored: Sat Mar 3 16:55:02 2018 -0800 Committer: Chan Lee <[email protected]> Committed: Mon Mar 5 13:10:12 2018 -0800 ---------------------------------------------------------------------- .../install/install-sourcecode.html.md.erb | 26 +++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/predictionio/blob/e734ff89/docs/manual/source/install/install-sourcecode.html.md.erb ---------------------------------------------------------------------- diff --git a/docs/manual/source/install/install-sourcecode.html.md.erb b/docs/manual/source/install/install-sourcecode.html.md.erb index 4d4a366..ac08009 100644 --- a/docs/manual/source/install/install-sourcecode.html.md.erb +++ b/docs/manual/source/install/install-sourcecode.html.md.erb @@ -22,15 +22,33 @@ limitations under the License. INFO: Assuming you are following the directory structure in the following, replace `/home/abc` with your own home directory wherever you see it. +## Downloading Binary Distribution + +You can binary distribution for Apache PredictionIO® if you are building against + +* Scala 2.11.8 +* Spark 2.1.1 +* Hadoop 2.7.3 +* Elasticsearch 5.5.2 + +Download and extract binary release. + +``` +$ curl -L https://dist.apache.org/repos/dist/release/predictionio/<%= data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz > PredictionIO-<%= data.versions.pio %>.tar.gz +$ tar zxvf PredictionIO-<%= data.versions.pio %>.tar.gz +``` + +Proceed to [Installing Dependencies](#installing-dependencies). + ## Downloading Source Code Download Apache PredictionIO <%= data.versions.pio %> from an -Apache [mirror](https://www.apache.org/dyn/closer.cgi/incubator/predictionio/<%= +Apache [mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%= data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>.tar.gz). Verify this release using [signatures and checksums] -(https://www.apache.org/dist/incubator/predictionio/<%= data.versions.pio %>/) -and [project release KEYS](https://www.apache.org/dist/incubator/predictionio/KEYS). +(https://www.apache.org/dist/predictionio/<%= data.versions.pio %>/) +and [project release KEYS](https://www.apache.org/dist/predictionio/KEYS). ``` $ gpg --import KEYS @@ -99,7 +117,7 @@ $ ./make-distribution.sh -Dscala.version=2.11.8 -Dspark.version=2.1.0 -Delastics ## Installing Dependencies Let us install dependencies inside a subdirectory of the Apache PredictionIO -(incubating) installation. By following this convention, you can use +installation. By following this convention, you can use Apache PredictionIO's default configuration as is. ```
