SetUp the DCM4CHEE Server

This steps for dcm4chee installation as described below are deprecated and not required with new installation. dcm4chee is embedded in Bahmni installer as an optional installation component. Please see this document: Bahmni Advanced Installation.

 


References :
  1. http://www.dcm4che.org/docs/reference/dcm4chee/html/dcm4chee-installation.html
  2.  http://www.dcm4che.org/confluence/display/ee2/Installation

 

Steps to follow for setup of DCM4CHEE using dmc4chee puppet module:

  1. Download the following from YumRepo or the actual websites.

  2. Once downloaded, run the below command

    bahmni-environment/scripts/run-puppet-module.sh dcm4chee

Steps to follow for setup of DCM4CHEE manually:

  1. Download dcm4chee-2.18.1-psql.zip from http://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.1/
  2. Once downloaded, extract the distribution package into your desired destination directory. Avoid using a directory path that contains spaces though, as that may cause problems when running the application from the command line.
  3. Install PostgreSQL , create "pacsdb" database and run the below command
     

    create database pacsdb
    psql -Upostgres pacsdb -f dcm4chee-2.18.1-psql/sql/create.psql
  4. Download jboss-4.2.3.GA-jdk6.zip from http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA-jdk6.zip/download  and extract it in  /usr/share
  5. Goto dcm4chee extracted directory run the following command

    dcm4chee-2.18.1-psql/bin/install_jboss.sh /usr/share/jboss-4.2.3.GA
  6. Change Port Numbers 8080 to 8001, 8009 to 8010 in dcm4chee-2.18.1-psql/server/default/deploy/jboss-web.deployer/server.xml
  7. Change the Port Number 1099 to 1100 in dcm4chee-2.18.1-psql/server/default/conf/jboss-service.xml
  8. Unzip the downloaded Oviyam2 bin zip from  http://sourceforge.net/projects/dcm4che/files/Oviyam/2.1/ and run the below commands and Copy the oviyam2.war to dcm4chee-2.18.1-psql/server/default/

  9. To start the dcm4chee server run dcm4chee-2.18.1-psql/bin/run.sh
  10. You can access dcm4chee using http://ip-address:8001/dcm4chee-web3/
     


  11. Use the below command to upload dcm files manually to DCM4CHEE. 

    dcmsnd DCM4CHEE@ipaddress:11112 image.dcm

    Sample image : image.dcm

    Utilities can be downloaded from https://sourceforge.net/projects/dcm4che/files/dcm4che2/2.0.28/

    1. Unzip the dcm4che-2.0.28-bin.zip file

    2. run the excecutable files with appropriate parameters.

  12. Configure ImageSuite in DCM4CHEE as below