Weasis



Installing dcm4chee 2.x on Windows.

Weasis

Download

Weasis is a multipurpose standalone and web-based DICOM viewer with a highly modular architecture. It is a very popular clinical viewer used in healthcare by hospitals, health networks, multicenter research trials, and patients. A flexible integration to any PACS, RIS, HIS or PHR can be done with the DICOM and DICOMWeb standard interface. Weasis is a multipurpose web-based viewer with a highly modular architecture. It can connect to any PACS server supporting WADO via a web portal. In particular, it has been used with the DCM4CHEE PACS server.

https://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.1/
https://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.3/
http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA-jdk6.zip/download
Java SE Development Kit 7u80 Java SE Development Kit 7u80 (jdk-7u80-windows-i586.exe)

Weasis for windows

Install MySQL

Download MySQL and install.

Create a blank database

> mysql -u root -p
mysql> create schema pacsdb;
mysql> grant all on pacsdb.* to pacs@localhost identified by ‘pacs’;
mysql> flush privileges;
mysql> q

Install Java JDK

Run jdk-7u80-windows-i586.exe

Install dcm4chee

extract dcm4chee-2.18.1-mysql.zip
extract dcm4chee-2.18.3-mysql.zip o
copy content of 2.18.3 into 2.18.1 and overwrite any old files
delete serverdefaultdeploydcm4chee-web-ear-3.0.5-mysql.ear
delete dcm4chee-2.18.3
rename the dcm4chee-2.18.1 directory back to dcm4chee-2.18.3

Install Database

Weasis download windows 10

> cd sql
> mysql -u root -p pacsdb < create.mysql

Install JBoss

Extract jboss to a directory

cd dcm4chee-2.18.1bin
install_jboss.bat <directory of jboss>

Run

> cd bin
> set JAVA_HOME=c:Program Files (x86)Javajdk1.7.0_80 (note the trailing slash and lack of quotes)
> run.bat

Login

Default username is admin and password is admin

dcm4chee.sh

Weasis 3d

#!/bin/bash
mkdir -p /vagrant/dcm
cd /vagrant/dcm/
wget -O dcm4chee-2.17.3.zip 'http://downloads.sourceforge.net/project/dcm4che/dcm4chee/2.17.3/dcm4chee-2.17.3-mysql.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdcm4che%2Ffiles%2Fdcm4 chee%2F2.17.3%2F&ts=1378999040&use_mirror=ufpr'&
wget -O dcm4che-2.0.23.zip 'http://downloads.sourceforge.net/project/dcm4che/dcm4che2/2.0.23/dcm4che-2.0.23-bin.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdcm4che%2Ffiles%2Fdcm4che2 %2F2.0.23%2F&ts=1378999971&use_mirror=ufpr'&
wget -O jboss-4.2.3.zip 'http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA-jdk6.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fjboss%2Ffiles%2FJBoss%2FJ Boss-4.2.3.GA%2F&ts=1378999423&use_mirror=ufpr'&
# wget -O dcmtk-3.6.0.zip 'ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk360/dcmtk-3.6.0.zip' &
wget -O oviyam-1.war 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/oviyam-1.war'&
wget -O oviyam2.war 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/oviyam2.war'&
wget -O libclib_jiio.so 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/libclib_jiio.so'&
wget -O dcm4chee-web-weasis.jar 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/weasis/dcm4chee-web-weasis.jar'&
wget -O weasis-i18n.war 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/weasis/weasis-i18n.war'&
wget -O weasis-pacs-connector.war 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/weasis/weasis-pacs-connector.war'&
wget -O weasis.war 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/weasis/weasis.war'
cd /vagrant/dcm/
unzip dcm4chee-2.17.3.zip
mv dcm4chee-2.17.3-mysql dcm4chee
unzip dcm4che-2.0.23.zip
mv dcm4che-2.0.23 dcm4che
unzip jboss-4.2.3.zip
mv jboss-4.2.3.GA jboss
mv oviyam*.war dcm4chee/server/default/deploy/
mv *weasis* dcm4chee/server/default/deploy/
mv libclib_jiio.so dcm4chee/bin/native/
chmod 755 dcm4chee -R
dcm4chee/bin/install_jboss.sh jboss/
cd /vagrant/dcm
sed -e 's/JBOSS_HOME=${JBOSS_HOME:-'/usr/local/dcm4chee'}/JBOSS_HOME=${JBOSS_HOME:-'/vagrant/dcm/dcm4chee'}/g' -e 's/JBOSS_USER=${JBOSS_
USER:-'pacs'}/JBOSS_USER=${JBOSS_USER:-'RUNASIS'}/g' dcm4chee/bin/dcm4chee_init_redhat.sh > /etc/init.d/rundcm4chee
chmod 700 /etc/init.d/rundcm4chee
update-rc.d -f rundcm4chee defaults
rm *.zip
echo'';
echo'wait for it .........';
sleep 10;
sed -i '0,/DCM4CHEE/s/DCM4CHEE/DCM4CHEEPRORADIS/' /vagrant/dcm/dcm4chee/server/default/data/xmbean-attrs/dcm4chee.archive@3Aservice@3DStoreScp.xml
sed -i '0,/PACS-##########/s/PACS-##########/##########/' /vagrant/dcm/dcm4chee/server/default/data/xmbean-attrs/dcm4chee.archive@3Aservice@3DStoreScp.xml
sed -i '0,/false/s/false/true/' /vagrant/dcm/dcm4chee/server/default/data/xmbean-attrs/dcm4chee.archive@3Aservice@3DStoreScp.xml
sed -i '0,/false/s/false/true/' /vagrant/dcm/dcm4chee/server/default/data/xmbean-attrs/dcm4chee.archive@3Aservice@3DStoreScp.xml
wget -O 'weasis.xml''https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/weasis.xml'
mv weasis.xml /vagrant/dcm/dcm4chee/server/default/data/xmbean-attrs/dcm4chee.web@3Aservice@3DWebConfig.xml
echo'';
echo'just 2 more sec .........';
sleep 5;
/usr/bin/killdcm;
/etc/init.d/rundcm4chee start;

Weasis-core-api-i18n

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment