Professional Documents
Culture Documents
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:
wget http://download.java.net/media/jai-
imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-i586.tar.gz
Download the binary distribution package of JBoss Application Server 4.2.3.GA
wget http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/jboss-
4.2.3.GA.zip/download
Download the Audit Record Repository (ARR)
wget http://sourceforge.net/projects/dcm4che/files/dcm4chee-
arr/3.0.8/dcm4chee-arr-psql-3.0.8.zip/download
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/bin/native/
sudo /opt/dcm4chee/bin/install_jboss.sh jboss-4.2.3.GA
sudo /opt/dcm4chee/bin/install_arr.sh dcm4chee-arr-psql-3.0.8/
Start Postgresql server
sudo mkdir /opt/pgdata
sudo chown postgres /opt/pgdata
sudo -s -H -u postgres
initdb -D /opt/pgdata/ -U postgres -W (enter postgres as password)
postgres -D /opt/pgdata
Create databases
createdb pacsdb
psql pacsdb -f /opt/dcm4chee/sql/create.psql
createdb arrdb
set password in files /opt/dcm4chee/server/default/deploy/arr-psql-ds.xml
and pacs-postgres-ds.xml
Running DCM4CHEE
sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp
sudo firewall-cmd --zone=public --permanent --add-port=11112/tcp
sudo firewall-cmd --zone=public --permanent --add-port=4006/tcp
sudo firewall-cmd --zone=public --permanent --add-port=104/tcp
sudo firewall-cmd --reload
sudo /opt/dcm4chee/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/server/default/conf/jboss-log4j.xml to comment out
"<appender-ref ref="CONSOLE"/>"
sudo cp /opt/dcm4chee/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