issue89:dcm4che
                Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| issue89:dcm4che [2014/10/31 18:30] – créée andre_domenech | issue89:dcm4che [2015/02/08 17:44] (Version actuelle) – [4] d52fr | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ===== 1 ===== | ||
| - | + | **Disclaimer | |
| - | Disclaimer | + | |
| Maybe this article is not intended for a wide range of people reading this magazine, as I will describe the installation of a niche software related to the medical and health-care enterprise world. | Maybe this article is not intended for a wide range of people reading this magazine, as I will describe the installation of a niche software related to the medical and health-care enterprise world. | ||
| Ligne 22: | Ligne 22: | ||
| • • and at last something related to business | • • and at last something related to business | ||
| - | But there are other aspects of Linux and FOSS: the real world, the serious things. Like health care applications, | + | But there are other aspects of Linux and FOSS: the real world, the serious things. Like health care applications, | 
| - | So, in this article I will explain how to install dcm4chee on Ubuntu. Maybe, as I said before, no reader of this magazine will have the need or the knowledge to install and understand this software, but if you are a student, or if you know a dentist or a radiological study, maybe you could be inspired by knowing the existence of this software. | + | Clause de non-responsabilité | 
| + | |||
| + | Il se peut que cet article n'ait pas été écrit pour une large gamme des lecteurs de cette revue, puisque je vais décrire l' | ||
| + | |||
| + | Ce n'est pas un logiciel que vous utiliseriez à la maison ; en effet, personne n'a d' | ||
| + | |||
| + | J'ai peut-être tort, mais, en lisant des magazines comme celui-ci, j'ai l' | ||
| + | • un violon d' | ||
| + | • une manière gratuite et légale d' | ||
| + | * multimédia et divertissement : jeux, retouche de photo et lecture de vidéos ; | ||
| + | * la gestion de ses finances personnelles et domestiques ; | ||
| + | * une suite bureautique ; | ||
| + | • et pour une utilisation professionnelle, | ||
| + | * outils réseau ; | ||
| + | * serveur Web et des trucs similaires ; | ||
| + | * langages de programmation et outils de développement ; | ||
| + |    * n' | ||
| + | * et, enfin, quelque chose ayant trait aux affaires. | ||
| + | |||
| + | Mais Linux et les Logiciels Libres ont d' | ||
| + | |||
| + | |||
| + | ===== 2 ===== | ||
| + | |||
| + | **So, in this article I will explain how to install dcm4chee on Ubuntu. Maybe, as I said before, no reader of this magazine will have the need or the knowledge to install and understand this software, but if you are a student, or if you know a dentist or a radiological study, maybe you could be inspired by knowing the existence of this software. | ||
| DICOM and PACS | DICOM and PACS | ||
| Ligne 34: | Ligne 58: | ||
| A modality is a source machine where patient’s images are acquired from, for example, an X-Ray machine or a Magnetic Resonance scanner. Some other actors of a PACS are: servers, storage (NAS, SAN, tapes), printers, viewers, CD/DVD robots, etc. | A modality is a source machine where patient’s images are acquired from, for example, an X-Ray machine or a Magnetic Resonance scanner. Some other actors of a PACS are: servers, storage (NAS, SAN, tapes), printers, viewers, CD/DVD robots, etc. | ||
| - | dcm4chee (http:// | + | dcm4chee (http:// | 
| - | “The application contains the DICOM, HL7 services and interfaces that are required to provide storage, retrieval, and workflow to a health-care environment”. It is written in Java and is prepackaged and deployed within the JBoss application server. It is open source and licensed under an MPL/ | + | Ainsi, dans cet article, j' | 
| + | |||
| + | DICOM et PACS | ||
| + | |||
| + | DICOM (Digital Imaging and Communications in Medicine, ou l' | ||
| + | |||
| + | PACS (Picture archiving and communication system, ou Système d' | ||
| + | |||
| + | Une modalité est une machine source dont proviennent les images des malades, par exemple un appareil de radiographie ou un scanneur à résonance magnétique. Quelques autres acteurs d'un PACS sont : des serveurs, du stockage (NAS, SAN, bandes), des imprimantes, | ||
| + | |||
| + | dcm4chee (http:// | ||
| + | |||
| + | |||
| + | ===== 3 ===== | ||
| + | |||
| + | **“The application contains the DICOM, HL7 services and interfaces that are required to provide storage, retrieval, and workflow to a health-care environment”. It is written in Java and is prepackaged and deployed within the JBoss application server. It is open source and licensed under an MPL/ | ||
| If you need help and assistance there is a Google group where a vibrant and nice community will be willing to give you some advice. On the other hand, the wiki lacks a little bit in documentation, | If you need help and assistance there is a Google group where a vibrant and nice community will be willing to give you some advice. On the other hand, the wiki lacks a little bit in documentation, | ||
| Ligne 56: | Ligne 95: | ||
| sudo apt-get install oracle-java6-installer | sudo apt-get install oracle-java6-installer | ||
| - | We need to accept the license, and so on. | + | We need to accept the license, and so on.** | 
| - | dcm4chee needs a database: Postgres, DB2, Oracle, MySQL, etc. If you want to try it without a RDBMS, you can opt for the HSQL package, but let’s install MySQL. | + | //« L' | 
| + | |||
| + | Si vous avez besoin d' | ||
| + | |||
| + | Installons-le. | ||
| + | |||
| + | Même si une personne de bon cœur a créé un paquet .deb, et en dépit du fait que j'aime beaucoup les gestionnaires de paquets, dans ce cas, je préfère installer le logiciel manuellement. | ||
| + | |||
| + | Voyons donc voir comment installer dcm4chee sur Ubuntu server 14.04 LTS. | ||
| + | |||
| + | Tout d' | ||
| + | |||
| + | sudo apt-get install software-properties-common | ||
| + | |||
| + | sudo add-apt-repository ppa: | ||
| + | |||
| + | sudo apt-get update | ||
| + | |||
| + | sudo apt-get install oracle-java6-installer | ||
| + | |||
| + | Il faut, bien entendu, accepter la licence, etc., etc. | ||
| + | ===== 4 ===== | ||
| + | |||
| + | **dcm4chee needs a database: Postgres, DB2, Oracle, MySQL, etc. If you want to try it without a RDBMS, you can opt for the HSQL package, but let’s install MySQL. | ||
| sudo apt-get install mysql-server | sudo apt-get install mysql-server | ||
| Ligne 79: | Ligne 141: | ||
| Download the latest release of dcm4chee-mysql, | Download the latest release of dcm4chee-mysql, | ||
| - | Put the zip files in a temporary folder, like / | + | Put the zip files in a temporary folder, like / | 
| - | sudo apt-get install unzip | + | dcm4chee a besoin d'une base de données : Postgres, DB2, Oracle, MySQL... Si vous voulez l' | 
| + | |||
| + | sudo apt-get install mysql-server | ||
| + | |||
| + | Nous devons maintenant créer un schéma et donner tous les droits à l' | ||
| + | |||
| + | $ mysql -uroot -p***** | ||
| + | |||
| + | mysql> create schema pacsdb; | ||
| + | |||
| + | mysql> grant all on pacsdb.* to pacs@localhost identified by ' | ||
| + | |||
| + | mysql> flush privileges; | ||
| + | |||
| + | mysql> \q | ||
| + | |||
| + | À ce stade, il faut télécharger les fichiers zip de JBoss et dcm4chee. Téléchargez JBoss 4.2.3.GA (n' | ||
| + | |||
| + | Téléchargez la version la plus récente de dcm4chee-mysql, | ||
| + | http:// | ||
| + | |||
| + | Placez les fichiers zip dans un fichier temporaire, comme / | ||
| + | |||
| + | |||
| + | |||
| + | ===== 5 ===== | ||
| + | |||
| + | **sudo apt-get install unzip | ||
| unzip dcm4chee-2.18.0-mysql.zip | unzip dcm4chee-2.18.0-mysql.zip | ||
| Ligne 95: | Ligne 184: | ||
| cp / | cp / | ||
| - | Now we have to copy files from JBoss to Dcm4chee: | + | Now we have to copy files from JBoss to dcm4chee: | 
| + | |||
| + | cd / | ||
| + | |||
| + | ./ | ||
| + | |||
| + | sudo apt-get install unzip | ||
| + | |||
| + | unzip dcm4chee-2.18.0-mysql.zip | ||
| + | |||
| + | unzip jboss-4.2.3.GA-jdk6.zip | ||
| + | |||
| + | Puisque notre système d' | ||
| + | |||
| + | wget http:// | ||
| + | |||
| + | tar xzvf jai_imageio-1_1-lib-linux-amd64.tar.gz | ||
| + | |||
| + | cp / | ||
| + | |||
| + | Maintenant, il faut copier des fichiers de JBoss vers dcm4chee  | ||
| cd / | cd / | ||
| Ligne 101: | Ligne 210: | ||
| ./ | ./ | ||
| - | Now we have to import the provided SQL file in order to create the database tables and indexes: | + | |
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== 6 ===== | ||
| + | |||
| + | **Now we have to import the provided SQL file in order to create the database tables and indexes: | ||
| cd / | cd / | ||
| Ligne 122: | Ligne 238: | ||
| Now we can try to run dcm4chee in foreground: | Now we can try to run dcm4chee in foreground: | ||
| + | |||
| + | su - dcm4chee -c / | ||
| + | |||
| + | Nous devons maintenant importer le fichier SQL fourni afin de créer les tables et index de la base de données : | ||
| + | |||
| + | cd / | ||
| + | |||
| + | mysql -upacs -ppacs pacsdb < create.mysql | ||
| + | |||
| + | Puis il faut bouger le répertoire dcm4chee à un emplacement définitif, comme /opt ; après, la création d'un lien symbolique est utile (cela ferait qu'en cas de mise à niveau, on n' | ||
| + | |||
| + | cd / | ||
| + | |||
| + | sudo mv / | ||
| + | |||
| + | sudo ln -s / | ||
| + | |||
| + | C'est une bonne idée de créer un utilisateur de dcm4chee et de changer le propriétaire du répertoire d' | ||
| + | |||
| + | useradd dcm4chee | ||
| + | |||
| + | chown -R dcm4chee / | ||
| + | |||
| + | À ce stade, nous pouvons essayer de lancer dcm4chee en avant-plan : | ||
| su - dcm4chee -c / | su - dcm4chee -c / | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== 7 ===== | ||
| - | Using a web browser, connect to http:// | + | **Using a web browser, connect to http:// | 
| The default user is “admin” and the default password is “admin”. | The default user is “admin” and the default password is “admin”. | ||
| In order to make changes to the default configuration, | In order to make changes to the default configuration, | ||
| - | |||
| - | |||
| More info: | More info: | ||
| • wiki - http:// | • wiki - http:// | ||
| • mailing list - https:// | • mailing list - https:// | ||
| - | • discontinued forum - http:// | + | • discontinued forum - http:// | 
| + | |||
| + | Dans un navigateur Web, connectez-vous à http:// | ||
| + | |||
| + | L' | ||
| + | |||
| + | Pour pouvoir modifier la configuration par défaut, nous devons utiliser la console jmx de JBoss http:// | ||
| + | |||
| + | Pour plus de renseignements : | ||
| + | • wiki - http:// | ||
| + | • liste de diffusion : https:// | ||
| + | • forum abandonné : http:// | ||
issue89/dcm4che.1414776638.txt.gz · Dernière modification : 2014/10/31 18:30 de andre_domenech
                
                