Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Maxime Wack 7809de246e Default credentials to locally connect to db 6 anos atrás
R Default credentials to locally connect to db 6 anos atrás
man Checks and documentation updates 6 anos atrás
.Rbuildignore Initial commit 7 anos atrás
.gitignore Initial commit 7 anos atrás
DESCRIPTION Checks and documentation updates 6 anos atrás
LICENSE Initial commit 7 anos atrás
NAMESPACE Checks and documentation updates 6 anos atrás
README.md Restarted README 6 anos atrás
prepare.sh Added an initialization script 6 anos atrás

README.md

R2b2

Manage an i2b2 instance installed from the VM from i2b2.org.

Tested on i2b2 VM 1.7.08b


The package is best used locally on the VM.
All the steps involving file modifications are to be run locally, as root.
This includes the creation/deletion of projects.


Prerequisites

Download and install the VM image from i2b2.org and run it inside VMWare.

Installation

Run curl https://raw.githubusercontent.com/MaximeWack/R2b2/master/prepare.sh to download the installation script, and run it as root.

You might need to configure your internet connection if you are behind a proxy.

This script will add the EPEL repo, update the installed packages and package list on the system, and install system dependancies to run R2b2. It will also install R packages dependancies and install R2b2 from github.

Restart the machine.

Usage

Set permissions

The set_permissions function sets group owning, setgid and group rights +rwx to the webclient and wildfly folders so that the admin(s) can manage them.

Create an admin user

By default, create_admin creates a i2b2admin system user, with a random generated password containing numbers and letters of all cases.
You can set a preferred username as the first argument (name), an arbitrary password (pass), or set the desired password length (pass_length).

The user is created for the system, with membership to the wildfly group.
An user with the same name, and their corresponding database are also created in PostgreSQL, with the generated or given password.

You are still responsible for managing the root account and its password (default = demouser), and optionally granting additional privileges to the admin user (such as sudo rights).