X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/908261de15c98553a4200f01aff1f26ef57c8fb8..3c88abd3cb33cbe80bb81a7cca779fe668036c9e:/doc/install/install-sso.html.textile.liquid diff --git a/doc/install/install-sso.html.textile.liquid b/doc/install/install-sso.html.textile.liquid index 1a3e4b380a..aaa6211b46 100644 --- a/doc/install/install-sso.html.textile.liquid +++ b/doc/install/install-sso.html.textile.liquid @@ -94,18 +94,9 @@ On a Red Hat-based system, we also need to initialize the database system: -{% include 'notebox_begin' %} - -If you are installing on CentOS6, you will need to modify PostgreSQL's configuration to allow password authentication for local users. The default configuration allows 'ident' only. The following commands will make the configuration change, and restart PostgreSQL for it to take effect. -
- -
~$ sudo sed -i -e "s/127.0.0.1\/32          ident/127.0.0.1\/32          md5/" /var/lib/pgsql/data/pg_hba.conf
-~$ sudo sed -i -e "s/::1\/128               ident/::1\/128               md5/" /var/lib/pgsql/data/pg_hba.conf
-~$ sudo service postgresql restart
-
-
-{% include 'notebox_end' %} - +{% assign pg_service = "postgresql" %} +{% assign pg_hba_path = "/var/lib/pgsql/data/pg_hba.conf" %} +{% include 'install_redhat_postgres_auth' %} Next, generate a new database password. Nobody ever needs to memorize it or type it, so make a strong one: @@ -128,7 +119,7 @@ Enter password for new role: paste-database-password-you Enter it again: paste-database-password-you-generated -Rails will take care of creating the database, based on the information from @/etc/arvados/sso/database.yml@. +Rails will take care of creating the database, based on the information from @/etc/arvados/sso/database.yml@. Alternatively, if the database user you intend to use for the SSO server should not be allowed to create new databases, the user and the database can be created like this: @@ -141,21 +132,8 @@ Enter it again: paste-database-password-you-generated -
~$ sudo dpkg-reconfigure arvados-sso-server
-
- - -On a Red Hat-based system, we need to reinstall the package instead: - - -
~$ sudo yum reinstall arvados-sso-server
-
-
+{% assign railspkg = "arvados-sso-server" %} +{% include 'install_rails_reconfigure' %} h2(#client). Create arvados-server client @@ -309,5 +287,3 @@ In order to use Google+ authentication, you must use the "---YOUR---CLIENT---ID---HERE--"-
google_oauth2_client_secret: "---YOUR---CLIENT---SECRET---HERE--"- - -