dcm4chee.sh
Using Weasis to View Images from CD/DVD Prerequisites to run Weasis software: Java JRE 7 Zip or alternative file size compressor / extractor software, such as WinZip Windows XP or 7 32 bit Please note that while we have provided Weasis image viewer software for your use, you DO NOT have to use this software. Download Latest Version Weasis-3.7.0-x86-64.msi (37.3 MB) Get Updates. Get project updates, sponsored content from our select partners, and more. Designed mainly for medical professionals, but also very much usable by any day-to-day user with an inclination towards medical file and image study, Weasis is a cross-platform, Java-based utility.
#!/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 Opencv Core
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment