Benutzer:Faxel/dcm4chee

aus Wikipedia, der freien Enzyklopädie

Umgebungsvariablen

. ./Pakete/dcm4chee_install_scripten/umgebung.sh

root@v6:/opt/dcm4chee# mysql -u dcm4chee -p dcm4chee < dcm4chee/sql/create-mysql.sql
Enter password:
ERROR 1071 (42000) at line 30: Specified key was too long; max key length is 767 bytes

collation von utf8mb4_unicode_ci auf utf8_unicode_ci

ALTER DATABASE dcm4chee COLLATE = 'utf8_unicode_ci';

https://bugs.launchpad.net/ubuntu/+source/apache-directory-server/+bug/1646146

My fix is little different. I just rewrited ExecStart with '/bin/sh -c':

Patch for apacheds.service

ExecStart=/bin/sh -c "${JAVA_HOME}/bin/java ${JAVA_OPTS} \
           -Dapacheds.controls=${ADS_CONTROLS} \
           -Dapacheds.extendedOperations=${ADS_EXTENDED_OPERATIONS} \
           -Dlog4j.configuration=file:${ADS_INSTANCES}/${ADS_INSTANCE}/conf/log4j.properties \
           -Dapacheds.log.dir=${ADS_INSTANCES}/${ADS_INSTANCE}/log \
           -cp '${ADS_HOME}/lib/*' \
           org.apache.directory.server.UberjarMain \
           ${ADS_INSTANCES}/${ADS_INSTANCE}/"

ldif für apache DS selber in apache DS auf höchster Ebene importieren


OpenLDAP with dynamic runtime configuration

Directory Base DN and Root User DN can be modified by changing the values of attributes

dn: olcDatabase={1}mdb,cn=config
changetype: modify
replace: olcSuffix
olcSuffix: dc=dcm4che,dc=org
-
replace: olcRootDN
olcRootDN: cn=admin,dc=dcm4che,dc=org
-

Obiges ist für Debian bestimmt. Darum heißt es mdb statt hdb.

zu 6. On dcm4chee-arc device level, one may add new attribute dicomVendorData using the New Attribute functi...

Was ist mit dicomVendorData

Setup WildFly

1.dcm4chee-arc/ldap.properties Passwort einsetzen

10. 11. Achtung, im script add-data-source-<db>.cli ist sind Punkt 10. und 11. enthalten!

root@v6:/opt/dcm4chee# $WILDFLY_HOME/bin/jboss-cli.sh -c
[standalone@localhost:9990 /] /subsystem=datasources/jdbc-driver=mysql:add(driver-name=mysql,driver-module-name=com.mysql)


3 AETs ändern: Configuration -> Device dcm4chee-arc -> Child-Objects -> Networks-AEs

Für weasis auch in dicom-dcm4chee.properties