Version 5 (modified by 8 years ago) ( diff ) | ,
---|
Please read Docker HowTo Install before installing i2b2
Prerequisites if required
Step 1 - Install Docker
Step 2 - Install Git
$ sudo apt-get update
$ sudo apt-get install git
Install using Docker
This will install i2b2 1.7.08
- On the host machine go to directory
/local/docker/<USER>/
- Go to this directory and checkout from git docker_i2b2_1708_fresh
sudo git clone https://github.com/LCBRU/docker_i2b2_1708_fresh.git
sudo chmod -R 777 docker_i2b2_1708_fresh/
A README.md file is available here.
This will create a directory /local/docker/<USER>/docker_i2b2_1708_fresh
- Go to the folder 'scripts' and view the file CreateDatabase.sql
Run these on your Microsoft sql database only if you are creating a new i2b2 install.
- The main configuration files are :
i2b2-1.7.08-install-procedures/config/config.properties
i2b2-1.7.08-install-procedures/config/defaults.sh
i2b2-1.7.08-install-procedures/bin/compositions/install-all.sh
- Build Docker container
sudo docker build -t lcbruit/i2b2:v1.7.08 .
- Run container
sudo docker run -v /share:/share -itd -p 80:80 -p 8080:8080 -p 9990:9990 -p 9090:9090 lcbruit/i2b2:v1.7.08
- Open URL
http://<HOST>.xuhl-tr.nhs.uk/main
sudo docker ps -a sudo docker exec -i -t [CONTAINER ID] /bin/bash
/i2b2/jboss/bin/jboss-cli.sh --connect command=:shutdown /i2b2/jboss/bin/standalone.sh -b 0.0.0.0