[ARVADOS] updated: 2344e81e96887a08af1d659d09c0e26390cc4122
git at public.curoverse.com
git at public.curoverse.com
Mon Jan 4 15:07:42 EST 2016
Summary of changes:
doc/_includes/_note_python27_sc.liquid | 11 ++++++++++-
doc/install/install-compute-node.html.textile.liquid | 4 ++--
doc/install/install-shell-server.html.textile.liquid | 4 ++--
doc/install/install-workbench-app.html.textile.liquid | 6 +++---
doc/sdk/python/sdk-python.html.textile.liquid | 4 ++--
5 files changed, 19 insertions(+), 10 deletions(-)
via 2344e81e96887a08af1d659d09c0e26390cc4122 (commit)
via c5cb2cebf5912642dc576760eaa687fa1d9c9cce (commit)
from 3344f5b9443367ffb2f7080e0286f4f4bf4b7f97 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 2344e81e96887a08af1d659d09c0e26390cc4122
Merge: 3344f5b c5cb2ce
Author: Brett Smith <brett at curoverse.com>
Date: Mon Jan 4 15:07:39 2016 -0500
Merge branch '7957-new-software-collections-install-wip'
Closes #7957, #8097.
commit c5cb2cebf5912642dc576760eaa687fa1d9c9cce
Author: Brett Smith <brett at curoverse.com>
Date: Thu Dec 31 12:08:17 2015 -0500
7957: Update Software Collections instructions in install guide.
* Document the process we currently follow on CentOS 6.
* Add a reference for RHEL instructions.
* Move noteboxes up, so people can follow the instructions
linearly ("enable Software Collections, then install the packages").
diff --git a/doc/_includes/_note_python27_sc.liquid b/doc/_includes/_note_python27_sc.liquid
index 7aad695..08e71f5 100644
--- a/doc/_includes/_note_python27_sc.liquid
+++ b/doc/_includes/_note_python27_sc.liquid
@@ -1,5 +1,14 @@
{% include 'notebox_begin' %}
-On older Red Hat-based systems, these packages require the "python27 Software Collection":https://www.softwarecollections.org/en/scls/rhscl/python27/.
+On older Red Hat-based systems, these packages require the python27 Software Collection. The Software Collection will be installed automatically as long as Software Collections are enabled on your system.
+
+To "enable Software Collections on CentOS":https://wiki.centos.org/AdditionalResources/Repositories/SCL, run:
+
+<notextile>
+<pre><code>~$ <span class="userinput">sudo yum install centos-release-SCL scl-utils</span>
+</code></pre>
+</notextile>
+
+To enable Software Collections on RHEL, "follow section 2.1 of Red Hat's Installation chapter":https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html/2.0_Release_Notes/chap-Installation.html.
{% include 'notebox_end' %}
diff --git a/doc/install/install-compute-node.html.textile.liquid b/doc/install/install-compute-node.html.textile.liquid
index aa4f37d..7d13f77 100644
--- a/doc/install/install-compute-node.html.textile.liquid
+++ b/doc/install/install-compute-node.html.textile.liquid
@@ -8,6 +8,8 @@ h2. Install dependencies
First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/install-manual-prerequisites.html#repos.
+{% include 'note_python27_sc' %}
+
On Debian-based systems:
<notextile>
@@ -22,8 +24,6 @@ On Red Hat-based systems:
</code></pre>
</notextile>
-{% include 'note_python27_sc' %}
-
h2. Install Docker
Compute nodes must have Docker installed to run jobs inside containers. This requires a relatively recent version of Linux (at least upstream version 3.10, or a distribution version with the appropriate patches backported). Follow the "Docker Engine installation documentation":https://docs.docker.com/ for your distribution.
diff --git a/doc/install/install-shell-server.html.textile.liquid b/doc/install/install-shell-server.html.textile.liquid
index 08ac57f..ec4c9d4 100644
--- a/doc/install/install-shell-server.html.textile.liquid
+++ b/doc/install/install-shell-server.html.textile.liquid
@@ -28,6 +28,8 @@ If you're not using RVM:
h2. Install the Python SDK and utilities
+{% include 'note_python27_sc' %}
+
On Debian-based systems:
<notextile>
@@ -42,8 +44,6 @@ On Red Hat-based systems:
</code></pre>
</notextile>
-{% include 'note_python27_sc' %}
-
h2. Install Git and curl
{% include 'install_git_curl' %}
diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid
index f82a5b0..9e8cb7f 100644
--- a/doc/install/install-workbench-app.html.textile.liquid
+++ b/doc/install/install-workbench-app.html.textile.liquid
@@ -16,6 +16,8 @@ h2(#install_workbench). Install Workbench and dependencies
Workbench doesn't need its own database, so it does not need to have PostgreSQL installed.
+{% include 'note_python27_sc' %}
+
On a Debian-based system, install the following packages:
<notextile>
@@ -30,8 +32,6 @@ On a Red Hat-based system, install the following packages:
</code></pre>
</notextile>
-{% include 'note_python27_sc' %}
-
h2. Set up configuration files
The Workbench server package uses configuration files that you write to @/etc/arvados/workbench@ and ensures they're consistently deployed. Create this directory and copy the example configuration files to it:
@@ -95,7 +95,7 @@ For best performance, we recommend you use Nginx as your Web server front-end, w
<ol>
<li><a href="https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/install_passenger_main.html">Install Nginx and Phusion Passenger</a>.</li>
-<li>If you're deploying on CentOS and using the python27 Software Collection, configure Nginx to use it:
+<li>If you're deploying on an older Red Hat-based distribution and installed Pythyon 2.7 from Software Collections, configure Nginx to use it:
<pre><code>~$ <span class="userinput">sudo usermod --shell /bin/bash nginx</span>
~$ <span class="userinput">sudo -u nginx sh -c 'echo "[[ -z \$PS1 && -e /opt/rh/python27/enable ]] && source /opt/rh/python27/enable" >>~/.bash_profile'</span>
diff --git a/doc/sdk/python/sdk-python.html.textile.liquid b/doc/sdk/python/sdk-python.html.textile.liquid
index 75769d7..b86a7fb 100644
--- a/doc/sdk/python/sdk-python.html.textile.liquid
+++ b/doc/sdk/python/sdk-python.html.textile.liquid
@@ -24,6 +24,8 @@ h4. Option 1: Install from distribution packages
First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/install-manual-prerequisites.html#repos.
+{% include 'note_python27_sc' %}
+
On Debian-based systems:
<notextile>
@@ -38,8 +40,6 @@ On Red Hat-based systems:
</code></pre>
</notextile>
-{% include 'note_python27_sc' %}
-
h4. Option 2: Install with pip
Run @pip-2.7 install arvados-python-client@ in an appropriate installation environment, such as a virtualenv.
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list