X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bb5ce73fd625c761ef68388116da5063d430c655..HEAD:/doc/install/arvbox.html.textile.liquid diff --git a/doc/install/arvbox.html.textile.liquid b/doc/install/arvbox.html.textile.liquid index a8235ee70e..7265e2d5cc 100644 --- a/doc/install/arvbox.html.textile.liquid +++ b/doc/install/arvbox.html.textile.liquid @@ -11,22 +11,51 @@ SPDX-License-Identifier: CC-BY-SA-3.0 Arvbox is a Docker-based self-contained development, demonstration and testing environment for Arvados. It is not intended for production use. +h2. Requirements + +* Linux 3.x+ and Docker 1.10+ +* Minimum of 4 GiB of RAM + additional memory to run jobs +* Minimum of 4 GiB of disk + storage for actual data + h2. Quick start +{% include 'branchname' %} + + +
$ curl -O https://git.arvados.org/arvados.git/blob_plain/refs/heads/{{branchname}}:/tools/arvbox/bin/arvbox
+$ chmod +x arvbox
+$ ./arvbox start localdemo
+
+Arvados-in-a-box starting
+
+Waiting for workbench2 websockets workbench webshell keep-web controller keepproxy api keepstore1 keepstore0 sdk vm ...
+
+...
+
+Your Arvados-in-a-box is ready!
+
+$ ./arvbox adduser demouser demo@example.com
+Password for demouser:
+Added demouser
+
+
+ +You will then need to "install the arvbox root certificate":#root-cert . After that, you can now log in to Workbench as @demouser@ with the password you selected. + +h2(#root-cert). Install root certificate + +Arvbox creates root certificate to authorize Arvbox services. Installing the root certificate into your web browser will prevent security errors when accessing Arvbox services with your web browser. Every Arvbox instance generates a new root signing key. + +Export the root certificate with this command: +
-$ curl -O https://git.arvados.org/arvados.git/blob_plain/refs/heads/main:/tools/arvbox/bin/arvbox
-$ chmod +x arvbox
-$ ./arvbox start localdemo latest
-$ ./arvbox adduser demouser demo@example.com
+$ ./arvbox root-cert
+Certificate copied to /home/ubuntu/arvbox-root-cert.crt
 
-You can now log in as @demouser@ using the password you selected. +{% assign ca_cert_name = 'arvbox-root-cert.crt' %} -h2. Requirements - -* Linux 3.x+ and Docker 1.9+ -* Minimum of 3 GiB of RAM + additional memory to run jobs -* Minimum of 3 GiB of disk + storage for actual data +{% include 'install_ca_cert' %} h2. Usage @@ -61,43 +90,13 @@ pipe run a bash script piped in from stdin sv change state of service inside arvbox clone clone dev arvbox -adduser +adduser [password] add a user login removeuser remove user login listusers list user logins -h2. Install root certificate - -Arvbox creates root certificate to authorize Arvbox services. Installing the root certificate into your web browser will prevent security errors when accessing Arvbox services with your web browser. Every Arvbox instance generates a new root signing key. - -# Export the certificate using @arvbox root-cert@ -# Go to the certificate manager in your browser. -#* In Chrome, this can be found under "Settings → Advanced → Manage Certificates" or by entering @chrome://settings/certificates@ in the URL bar. -#* In Firefox, this can be found under "Preferences → Privacy & Security" or entering @about:preferences#privacy@ in the URL bar and then choosing "View Certificates...". -# Select the "Authorities" tab, then press the "Import" button. Choose @arvbox-root-cert.pem@ - -The certificate will be added under the "Arvados testing" organization as "arvbox testing root CA". - -To access your Arvbox instance using command line clients (such as arv-get and arv-put) without security errors, install the certificate into the OS certificate storage. - -h3. On Debian/Ubuntu: - - -
cp arvbox-root-cert.pem /usr/local/share/ca-certificates/
-/usr/sbin/update-ca-certificates
-
-
- -h3. On CentOS: - - -
cp arvbox-root-cert.pem /etc/pki/ca-trust/source/anchors/
-/usr/bin/update-ca-trust
-
-
- h2. Configs h3. dev