Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
diana:gettingstarted [2014-04-04 10:46:02] davidb [Installing Data Files] |
diana:gettingstarted [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
This document aims to describe what is needed to get a released version of Diana up and running on Ubuntu 12.04 (Precise) from a set of Debian packages. It is assumed that you will be using the version of Ubuntu that the packages were developed for. | This document aims to describe what is needed to get a released version of Diana up and running on Ubuntu 12.04 (Precise) from a set of Debian packages. It is assumed that you will be using the version of Ubuntu that the packages were developed for. | ||
- | To build Diana for other distributions, | + | To build Diana for other distributions, |
+ | |||
+ | To build a batch version of Diana for headless systems, install '' | ||
- | To build a batch version of Diana for headless systems, install '' | ||
===== Installing Packages ===== | ===== Installing Packages ===== | ||
- | Obtain a set of release packages for the current release of Diana. | + | Obtain a set of release packages for the current release of Diana. |
- | You need to install Fimex and the '' | + | ===== Configuring |
- | < | + | Diana expects to find a '' |
- | sudo dpkg -i diana-3.33_3.33.0-1_amd64.deb diana-3.33-common_3.33.0-1_all.deb | + | |
- | </ | + | |
- | ===== Installing Data Files ===== | + | * The current directory. |
+ | * '' | ||
- | From the same page as the packages, download | + | If you built and installed Diana 3.39 from source, or installed a package from Launchpad, there should also be a setup file in the following location: |
- | [[ftp:// | + | |
- | Choose a suitable location for installation. The default configuration file | + | * ''/ |
- | specifies | + | |
- | '' | + | If you installed |
- | the archives | + | you will need to change |
+ | file. For example, if these resources were unpacked | ||
+ | directory, these lines need to be changed to read: | ||
< | < | ||
- | cd /usr/share/diana | + | OPDATA |
- | tar zxf /path/ | + | MAPDIR |
- | tar zxf /path/to/diana_demodata.tar.gz | + | |
</ | </ | ||
- | Alternatively, | + | This means that you need to have a '' |
- | Diana' | + | edit it. Possibly |
+ | file then immediately quit. This will cause the '' | ||
+ | in the user' | ||
+ | (or the correct one for the version you are using) into that directory for further | ||
+ | configuration. | ||
- | ===== Testing ===== | + | ===== Testing |
It is useful to test that the basic installation works correctly, particularly on headless systems that only allow '' | It is useful to test that the basic installation works correctly, particularly on headless systems that only allow '' | ||
Line 50: | Line 54: | ||
</ | </ | ||
+ | Process the input file using a command like the following, using the appropriate executable and setup file for your configuration: | ||
- | ===== Configuring Diana ===== | + | < |
+ | bdiana -i test.input -s diana.setup | ||
+ | </ | ||
- | Diana expects to find a '' | + | A file called |
- | * The current directory. | + | {{diana:test.png?|}} |
- | * '' | + | |
- | * ''/ | + | |
- | Possibly | + | If the file is not created |
- | file then immediately quit. This will cause the '' | + | |
- | in the user's home directory. Then copy the '' | + | |
- | that directory for further configuration. | + | |
- | + | ||
- | If you installed the maps and demo data in a location other than the default, | + | |
- | you will need to change the '' | + | |
- | file. For example, if these resources were unpacked in the ''/ | + | |
- | directory, these lines need to be changed to read: | + | |
- | + | ||
- | < | + | |
- | OPDATA | + | |
- | MAPDIR | + | |
- | </ | + | |
+ | You can also find more input files to test in the [[https:// | ||
===== Running Diana ===== | ===== Running Diana ===== | ||