# configuration howto

**URL:** https://discourse.orthanc-server.org/t/configuration-howto/46
**Category:** Google Groups archive
**Created:** [February 12, 2014, 8:16am UTC](https://discourse.orthanc-server.org/t/configuration-howto/46 "2014-02-12T08:16:10Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![smitontour](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@smitontour](https://discourse.orthanc-server.org/u/smitontour)
#### Post date: [February 12, 2014, 8:16am UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/1 "2014-02-12T08:16:10Z")

</div>

Hello,  
Thank you for this great application. Unfortunately my knockledge in computing is very basic, but i succeeded in setting up a dcm4chee archive. I would like to test and use Orthanc. Installation, access and upload are so simple, thank for that!!!! But i am facing some problems:  
1. -I can´t find how to change configuration file (although it is explained, but i have some problems understanding it), could you please give some details how to do it?  
2.- During remote access orthanc security area pops up, but i don´t have or can´t set the credentials (see point 1)

Thank you for your help

A S

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [February 12, 2014, 8:21am UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/2 "2014-02-12T08:21:31Z")

</div>

Hello,

> Thank you for this great application. Unfortunately my knockledge in computing is very basic, but i succeeded in setting up a dcm4chee archive. I would like to test and use Orthanc. Installation, access and upload are so simple, thank for that!!! But i am facing some problems:
> 
> 1. -I can´t find how to change configuration file (although it is explained, but i have some problems understanding it), could you please give some details how to do it?

This is explained on the following page:  
[https://code.google.com/p/orthanc/wiki/OrthancConfiguration](https://code.google.com/p/orthanc/wiki/OrthancConfiguration)

In a nutshell, you have to:

1. Generate a sample configuration file: # Orthanc --config=Configuration.json
2. Edit the generated file “Configuration.json” with a text editor (e.g. Notepad if you are under Windows).
3. Launch Orthanc using the modified configuration: # Orthanc Configuration.json

> 2.- During remote access orthanc security area pops up, but i don´t have or can´t set the credentials (see point 1)

In the generated configuration file, you have to set the option “RemoteAccessAllowed” to “true”. For security reasons, remote access is disallowed by default.

Cheers,  
Sébastien-

---

<div class="post-metadata">

### Author: ![smitontour](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@smitontour](https://discourse.orthanc-server.org/u/smitontour)
#### Post date: [February 13, 2014, 9:31pm UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/3 "2014-02-13T21:31:55Z")

</div>

Thank for the quick help. Works perfectly. This seems very promising.

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [February 14, 2014, 8:02am UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/4 "2014-02-14T08:02:55Z")

</div>

> Thank for the quick help. Works perfectly. This seems very promising.

Fine!

Sébastien-

---

<div class="post-metadata">

### Author: ![Charles\_Short](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/c/6a8cbe/32.png) [@Charles\_Short](https://discourse.orthanc-server.org/u/Charles_Short)
#### Post date: [February 19, 2014, 9:30pm UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/5 "2014-02-19T21:30:00Z")

</div>

sudo Orthanc ./Configuration.json  
W0219 16:22:24.624114 18265 OrthancInitialization.cpp:62] Using the configuration from: ./Configuration.json

W0219 16:22:24.627171 18265 main.cpp:327] Storage directory: “./OrthancStorage”  
W0219 16:22:24.627264 18265 main.cpp:328] Index directory: “./OrthancStorage”  
W0219 16:22:24.627293 18265 ServerContext.cpp:76] Disk compression is disabled  
W0219 16:22:24.627310 18265 ServerIndex.cpp:1034] No limit on the number of stored patients  
W0219 16:22:24.627341 18265 ServerIndex.cpp:1051] No limit on the size of the storage area  
W0219 16:22:24.627411 18265 main.cpp:400] DICOM server listening on port: 4242  
W0219 16:22:24.627429 18265 main.cpp:401] HTTP server listening on port: 8042  
W0219 16:22:24.629299 18280 DicomServer.cpp:86] Loading the external DICOM dictionary “/usr/share/libdcmtk2/dicom.dic”  
E: DcmDataDictionary: Cannot open file: /usr/share/libdcmtk2/dicom.dic  
terminate called after throwing an instance of ‘Orthanc::OrthancException’

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [February 20, 2014, 11:26am UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/6 "2014-02-20T11:26:47Z")

</div>

Hello,

Which Linux distribution are you running? Have you compiled the package by yourself? If so, have you used the build instructions for your Linux distribution, as detailed in the following file:  
[https://code.google.com/p/orthanc/source/browse/LinuxCompilation.txt#61](https://code.google.com/p/orthanc/source/browse/LinuxCompilation.txt#61)

Looks like the “DCMTK\_DICTIONARY\_DIR” variable has not been set properly when invoking CMake.

Sébastien-

---

<div class="post-metadata">

### Author: ![Charles\_Short](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/c/6a8cbe/32.png) [@Charles\_Short](https://discourse.orthanc-server.org/u/Charles_Short)
#### Post date: [February 20, 2014, 1:00pm UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/7 "2014-02-20T13:00:11Z")

</div>

Cool thanks;

I am running Wheezy; and used apt-get; I’ll try cmake as noted and report back.

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [February 20, 2014, 1:37pm UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/8 "2014-02-20T13:37:08Z")

</div>

This is strange: There is currently no official backport of Orthanc to Wheezy. Your “apt-get” invocation should thus have failed…

Maybe you have introduced the Debian Jessie/Sid repositories into your apt sources? If this is the case, pay attention to the fact that this approach is doomed to fail.

---

<div class="post-metadata">

### Author: ![Charles\_Short](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/c/6a8cbe/32.png) [@Charles\_Short](https://discourse.orthanc-server.org/u/Charles_Short)
#### Post date: [February 20, 2014, 1:41pm UTC](https://discourse.orthanc-server.org/t/configuration-howto/46/9 "2014-02-20T13:41:41Z")

</div>

Had to reinstall sources but got it running thanks!
