X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8c1005ef92cffff5a4a9321f3b62da715b141c3d..5d164d74505c232cfa232d69a56273da2d02b72a:/doc/install/install-shell-server.html.textile.liquid diff --git a/doc/install/install-shell-server.html.textile.liquid b/doc/install/install-shell-server.html.textile.liquid index 1b1a4d9969..b8ffcc54b3 100644 --- a/doc/install/install-shell-server.html.textile.liquid +++ b/doc/install/install-shell-server.html.textile.liquid @@ -3,6 +3,11 @@ layout: default navsection: installguide title: Install a shell server ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} There is nothing inherently special about an Arvados shell server. It is just a GNU/Linux machine with Arvados utilites and SDKs installed. For optimal performance, the Arvados shell server should be on the same LAN as the Arvados cluster, but that is not required. @@ -12,7 +17,21 @@ Please follow the "API token guide":../user/reference/api-tokens.html to get API h2. Install the Ruby SDK and utilities -If you're using RVM: +First, install the curl development libraries necessary to build the Arvados Ruby SDK. On Debian-based systems: + + +
~$ sudo apt-get install libcurl4-openssl-dev
+
+
+ +On Red Hat-based systems: + + +
~$ sudo yum install libcurl-devel
+
+
+ +Next, install the arvados-cli Ruby gem. If you're using RVM:
~$ sudo /usr/local/rvm/bin/rvm-exec default gem install arvados-cli
@@ -22,28 +41,30 @@ If you're using RVM:
 If you're not using RVM:
 
 
-
~$ sudo gem install arvados-cli
+
~$ sudo -i gem install arvados-cli
 
h2. Install the Python SDK and utilities -On Debian-based systems: +{% assign rh_version = "7" %} +{% include 'note_python_sc' %} + +On Red Hat-based systems: -
~$ sudo apt-get install python-arvados-python-client python-arvados-fuse
+
~$ echo 'exclude=python2-llfuse' | sudo tee -a /etc/yum.conf
+~$ sudo yum install python-arvados-python-client python-arvados-fuse crunchrunner
 
-On Red Hat-based systems: +On Debian-based systems: -
~$ sudo yum install python27-python-arvados-python-client python27-python-arvados-fuse
+
~$ sudo apt-get install python-arvados-python-client python-arvados-fuse crunchrunner
 
-{% include 'note_python27_sc' %} - h2. Install Git and curl {% include 'install_git_curl' %} @@ -76,7 +97,7 @@ Create a token that is allowed to read login information for this VM.
-apiserver:~$ arv api_client_authorization create --api-client-authorization '{"scopes":["GET /arvados/v1/virtual_machines/zzzzz-2x53u-zzzzzzzzzzzzzzz/"]}'
+apiserver:~$ arv api_client_authorization create --api-client-authorization '{"scopes":["GET /arvados/v1/virtual_machines/zzzzz-2x53u-zzzzzzzzzzzzzzz/logins"]}'
 {
  ...
  "api_token":"zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz",
@@ -107,17 +128,19 @@ If you're not using RVM:
 
 Install cron.
 
-On Debian-based systems:
+On Red Hat-based distributions:
 
 
-
~$ sudo apt-get install cron
+
~$ sudo yum install cronie
+~$ sudo systemctl enable crond
+~$ sudo systemctl start crond
 
-On Red Hat-based systems: +On Debian-based systems: -
~$ sudo yum install cron
+
~$ sudo apt-get install cron