7957: Update Software Collections instructions in install guide.
[arvados.git] / doc / install / install-sso.html.textile.liquid
index 94d7b7b833403d7b278131be4353ffe5d412ce8e..ca620f478a8d215066fde5a9ffa157032174f4db 100644 (file)
@@ -1,10 +1,12 @@
 ---
 layout: default
 navsection: installguide
-title: Install Single Sign On (SSO) server
+title: Install the Single Sign On (SSO) server
 ...
 
-h2(#dependencies). Install dependencies
+h2(#dependencies). Install prerequisites
+
+The Arvados package repository includes an SSO server package that can help automate much of the deployment.
 
 h3(#install_ruby_and_bundler). Install Ruby and Bundler
 
@@ -21,7 +23,7 @@ h2(#install). Install the SSO server
 On a Debian-based system, install the following package:
 
 <notextile>
-<pre><code>~$ <span class="userinput">sudo apt-get arvados-sso-server</span>
+<pre><code>~$ <span class="userinput">sudo apt-get install arvados-sso-server</span>
 </code></pre>
 </notextile>
 
@@ -115,7 +117,7 @@ abcdefghijklmnopqrstuvwxyz012345689
 Configure the SSO server to connect to your database by updating @/etc/arvados/sso/database.yml@. Replace the @xxxxxxxx@ database password placeholder with the new password you generated above. Be sure to update the @production@ section.
 
 <notextile>
-<pre><code>~$ <span class="userinput">edit /etc/arvados/sso/database.yml</span>
+<pre><code>~$ <span class="userinput">editor /etc/arvados/sso/database.yml</span>
 </code></pre></notextile>
 
 Create a new database user with permission to create its own databases.
@@ -162,7 +164,8 @@ Use @rails console@ to create a @Client@ record that will be used by the Arvados
 <notextile>
 <pre><code>~$ <span class="userinput">ruby -e 'puts rand(2**400).to_s(36)'</span>
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-~$ <span class="userinput">RAILS_ENV=production bundle exec rails console</span>
+~$ <span class="userinput">cd /var/www/arvados-sso/current</span>
+/var/www/arvados-sso/current$ <span class="userinput">RAILS_ENV=production bundle exec rails console</span>
 :001 &gt; <span class="userinput">c = Client.new</span>
 :002 &gt; <span class="userinput">c.name = "joshid"</span>
 :003 &gt; <span class="userinput">c.app_id = "arvados-server"</span>