CTSC:ARRA:dcm4chee install
From NAMIC Wiki
Home < CTSC:ARRA:dcm4chee install
Using DCM4CHEE
Installation Instructions for x86_64 Linux, Centos
- Download the latest DCM4CHEE for Postgresql
- Install Postgresql
- sudo yum install postgresql postgresql-server
- Install DCM4CHEE
- Follow instructions at http://www.dcm4che.org/confluence/display/ee2/Installation
- Special Steps
- Download Sun's Java Advanced Imaging Image I/O Tools 1.1 for 64bit Linux:
- Download the binary distribution package of JBoss Application Server 4.2.3.GA
- Download the Audit Record Repository (ARR)
- Unarchive the downloaded files.
- sudo cp -rp dcm4chee-psql-2.14.7 /opt
- sudo cp -p jai_imageio-1_1/lib/libclib_jiio.so /opt/dcm4chee-psql-2.14.7/bin/native/
- sudo /opt/dcm4chee-psql-2.14.7/bin/install_jboss.sh jboss-4.2.3.GA
- sudo /opt/dcm4chee-psql-2.14.7/bin/install_arr.sh dcm4chee-arr-psql-3.0.8/
- Start Postgresql server
- sudo mkdir /opt/pgdata
- sudo chown /opt/pgdata postgres
- sudo -s -H -u postgres
- initdb -D /opt/pgdata/ -U postgres -W (enter postgres as password)
- Create databases
- createdb pacsdb
- psql pacsdb -f /opt/dcm4chee-psql-2.14.7/sql/create.psql
- createdb arrdb
- set password in files /opt/dcm4chee-psql-2.14.7/server/default/deploy/arr-psql-ds.xml and pacs-postgres-ds.xml
- Running DCM4CHEE
- sudo /opt/dcm4chee-psql-2.14.7/bin/run.sh
- change default AETitle to MI2B2 (See step 12. at http://www.dcm4che.org/confluence/display/ee2/Installation)
- test then stop run.sh
- Run as a service (See step 18 at http://www.dcm4che.org/confluence/display/ee2/Installation)
- edit /opt/dcm4chee-psql-2.14.7/server/default/conf/jboss-log4j.xml to comment out "<appender-ref ref="CONSOLE"/>"
- sudo cp /opt/dcm4chee-psql-2.14.7/bin/dcm4chee_init_redhat.sh /etc/init.d/dcm4chee
- Modify JBOSS_HOME, JBOSS_USER and JAVAPTH in /etc/init.d/dcm4chee
- sudo /sbin/chkconfig dcm4chee on
- sudo service dcm4chee start
- Stop DCM4CHEE
- sudo /sbin/service dcm4chee stop