[PIO-22] Update installation instructions
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/8d80086e Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/8d80086e Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/8d80086e Branch: refs/heads/develop Commit: 8d80086e4a69196a65628e4273705a3487838b93 Parents: 237e17a Author: Donald Szeto <[email protected]> Authored: Fri Oct 7 22:19:48 2016 -0700 Committer: Donald Szeto <[email protected]> Committed: Fri Oct 7 22:19:48 2016 -0700 ---------------------------------------------------------------------- docs/manual/source/install/index.html.md.erb | 25 ++++---------------- .../install/install-sourcecode.html.md.erb | 16 +++++++++---- 2 files changed, 16 insertions(+), 25 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/8d80086e/docs/manual/source/install/index.html.md.erb ---------------------------------------------------------------------- diff --git a/docs/manual/source/install/index.html.md.erb b/docs/manual/source/install/index.html.md.erb index d3f9cd9..2f09226 100644 --- a/docs/manual/source/install/index.html.md.erb +++ b/docs/manual/source/install/index.html.md.erb @@ -2,11 +2,6 @@ title: Installing Apache PredictionIO (incubating) --- -INFO: New installation methods will be provided once Apache PredictionIO -(incubating) (version 0.10.0 and beyond) is released on the Apache -infrastructure. Methods below are for installing pre-Apache releases (version -0.9.x). - [//]: # (## Method 1: Quick Install) [//]: # (On Linux / Mac OS X, Apache PredictionIO (incubating) can now be installed with a single command:) @@ -19,9 +14,7 @@ infrastructure. Methods below are for installing pre-Apache releases (version [//]: # (<%= partial 'shared/install/proceed_template' %>) -## Method 1: Manual Install - -### Prerequisites +## Prerequisites It is **very important** to meet the minimum version of the following technologies that power Apache PredictionIO (incubating). @@ -50,15 +43,15 @@ operation mode without further configuration, may not work. In that case, configure your Apache Spark to run in [standalone cluster mode](http://spark.apache.org/docs/latest/spark-standalone.html). -### Installing Apache PredictionIO (incubating) +## Installing Apache PredictionIO (incubating) Apache PredictionIO (incubating) runs on a Java virtual machine, so it runs on most platforms. Choose your platform below: -* [Installing Apache PredictionIO (incubating) on Linux / Mac OS X](install-linux.html) +[//]: # (* [Installing Apache PredictionIO (incubating) on Linux / Mac OS X](install-linux.html)) * [Installing Apache PredictionIO (incubating) from Source Code](install-sourcecode.html) -* [Installing Apache PredictionIO (incubating) with Vagrant (VirtualBox)](install-vagrant.html) -* [Installing Apache PredictionIO (incubating) with Terminal.com Snap](https://www.terminal.com/snapshot/f444bfb7538dfc596485374f56167ec6f79cbc16f793f013ad120067070eb81a) +[//]: # (* [Installing Apache PredictionIO (incubating) with Vagrant (VirtualBox)](install-vagrant.html)) +[//]: # (* [Installing Apache PredictionIO (incubating) with Terminal.com Snap](https://www.terminal.com/snapshot/f444bfb7538dfc596485374f56167ec6f79cbc16f793f013ad120067070eb81a)) You may also use one of the community-contributed packages to install @@ -81,11 +74,3 @@ Elasticsearch. See more [here](/resources/upgrade/).** [//]: # (For production environment setup, please refer to [Production) [//]: # (Deployment](/production/deploy.html) guide.) - -## Method 2: Terminal.com - -Public snaps are available on our Terminal.com -[page](https://www.terminal.com/user/predictionio). - -Instance type **must be** set to *medium* or higher for Apache PredictionIO -(incubating) to function correctly. http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/8d80086e/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 ab78b1c..15e2d8d 100644 --- a/docs/manual/source/install/install-sourcecode.html.md.erb +++ b/docs/manual/source/install/install-sourcecode.html.md.erb @@ -5,15 +5,21 @@ title: Installing Apache PredictionIO (incubating) from Source Code INFO: Assuming you are following the directory structure in the followoing, replace `/home/abc` with your own home directory wherever you see it. +## Downloading Source Code + +Download Apache PredictionIO (incubating) <%= data.versions.pio %> from an +Apache +[mirror](https://www.apache.org/dyn/closer.cgi/incubator/predictionio/0.10.0-incubating/apache-predictionio-<%= +data.versions.pio %>.tar.gz). + ## Building -Run the following to download and build Apache PredictionIO (incubating) from -its source code. +Run the following at the directory where you downloaded the source code to build +Apache PredictionIO (incubating). ``` -$ git clone https://github.com/apache/incubator-predictionio.git -$ cd incubator-predictionio -$ git checkout master +$ tar zxvf apache-predictionio-<%= data.versions.pio %>.tar.gz +$ cd apache-predictionio-<%= data.versions.pio %> $ ./make-distribution.sh ```
