Installation of dcm4chee+oviyam2.1 in DICOM:UBUNTU14 environment

Source: Internet
Author: User
Tags jboss

Background:

Previous post dicom: The Open source Dicom service Framework Dcm4chee installation has been described in installing Deployment Dcm4chee in a Windows7 environment. Recent company projects need to interact with the remote Dcm4chee framework-based DICOM servers deployed to Linux systems. Because of network problems, in order to improve debugging efficiency, a set of Dcm4chee services and OVIYAM2 clients are deployed in a local UBUNTU14 virtual machine.
Although the official website on the installation of Dcm4chee in the Linux environment more detailed, but in the installation process encountered a lot of problems, so decided to record down for later use.

Official Note:

The installation steps in the official description for a Linux environment are similar to the Windows system, including:
1. Download Dcm4chee binary Package
I am here to download the latest Dcm4chee-2.18.1-mysql.zip package , the local download path is/home/zssure/downloads/dcm4chee-2.18.1-mysql.zip
In Ubuntu terminal terminal input: sudo unzip dcm4chee-2.18.1-mysql.zip to complete the decompression.
2. Download JBoss
Because Dcm4chee is an application hosted on the JBoss as server, it is necessary to download the appropriate JBoss service side.
To save trouble, download the JBoss 4.2.3.GA version directly on the website. The local path remains/home/zssure/downloads/, and then the sudo unzip Jboss-4.2.3.ga-jdk6.zip is entered for decompression.
3. Copy JBoss boot required files into the Dcm4chee directory
The main purpose of this step is to facilitate subsequent direct start of Dcm4chee directly in the DCM4CHEE-XXX directory without the need to deploy it to a separate JBoss directory.
Enter the Dcm4chee-2.18.1-mysql/bin directory and enter sudo./install_jboss.sh/home/zssure/downloads/jboss-4.2.3.ga to complete the copy.
4. Install the database
Install MySQL database with Dcm4chee-2.18.1-mysql counterpart. Enter the sudo apt-get install mysql-server to complete the MySQL installation, then follow the official website instructions to create the PACSDB database.

Ubuntu14.01 version installation problems and solutions: Installing JDK issues:

It's easier to install the JDK under Linux, but be aware that it corresponds to the downloaded Dcm4chee version, where I need to install the JDK6 version. Download the corresponding JDK version, which is Jdk-6u45-linux-i586.bin. For the. bin file before installation, you need to modify the file permissions for executable, enter sudo chmod 755 jdk-6u45-linux-i586.bin, and then enter Sudo./jdk-6u45-linux-i586.bin to complete the installation.

Install MySQL problem:

In Ubuntu14.01 local installation, whether using the sudo apt-get install mysql-server or the Software Center installation search for MySQL, the following error message appears:

The solution was eventually found in the csdn post .

Aptitude: When the tool detects that a dependent library is inconsistent with the current version, aptitude attempts to downgrade the current version of the library while addressing the impact of downgrading the library on other software dependencies, eventually successfully installing software that Apt-get cannot install.
Terminal input sudo aptitude install Mysql-server can be installed successfully.

Install JBoss Problem:

May be due to a problem with the virtual machine, when the local boot Dcm4chee for testing, there has been a 8080 port occupied situation, resulting in the failure to successfully start the Dcm4chee service. After troubleshooting and did not find specific reasons, and finally in accordance with the official forum's instructions, modified Dcm4chee default service port of 8088 can be successfully started. Modify the method as follows:

Modify the Server.xml file under the/home/zssure/downloads/dcm4chee-2.18.1-mysql/server/default/deploy/jboss-web.deployer directory.

After modification, the Dcm4chee service can be started smoothly.

Deployment Oviyam2:

Download Oviyam Latest installation package Oviyam2.1. After extracting with sudo unzip oviyam-2.1-bin.zip, copy the oviyam2.war file under/oviyam-2.1-bin to/home/zssure/downloads/ dcm4chee-2.18.1-mysql/server/default/deploy/directory. Since JBoss supports hot deployment, when the copy is complete, open the browser input localhost:8088/oviyam2/to open the Oviyam2 login screen.

Configuring DICOM Services for OVIYAM2

OVIYAM2 can be conveniently combined with Dcm4chee to visualize related data. Click "Settings" in the upper right corner of the interface to open the DICOM node configuration page, as shown, I am here to use the official default parameters, but also according to their actual situation to make appropriate changes.

Configure query parameters for OVIYAM2

Finally, you can use OVIYAM2 to retrieve (that is, c-find) the data in the Dcm4chee service, as shown in:

Double-click to open image for browsing

Summarize:

While the Linux environment is less visible than Windows, the entire installation process allows you to find that installing in a Linux environment is faster, easier, and easier to automate by scripting (such as Python). If you encounter problems related to Dcm4chee in the post, you will be introduced to Linux (specifically the Ubuntu14.01 version), so please look forward to them.

[Email protected]
Date: 2015-06-06

Installation of dcm4chee+oviyam2.1 in DICOM:UBUNTU14 environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.