Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added how to install required software packages in Ubuntu 14.04

Below are documentation on how Polyglot and Softwareserver, including how they work together internally. Intended for developers or interested users of Polyglot / Softwareserver. Started with what Rui learned as part of work of BD-460 "Software Server not setting correct public IP on checkins".

...

Softwareserver job checkin is in SoftwareServerRESTUtilities.java, Polyglot accessing RabbitMQ part is in polyglot/PolyglotStewardAMQ.java.

  • Installation of required software packages on Ubuntu Trusty (14.04)

Need to install the programs used in Softwareserver scripts:

      convert, unoconv, daffodil, ffmpeg, 7z and 7za, libreoffice, avconv, xvfb-run, eog, flac, ps2pdf, gthumb, htmldoc, kabeja, rar (requires "multiverse"), unzip, unrar, cabextract, ncdump, pdf2djvu, prince, soundconverter, TeighaFileConverter, txt2html, unrtf, cvlc

which are in the following Ubuntu packages:

      imagemagick, unoconv, (daffodil/), ffmpeg, p7zip-full, libreoffice*, libav-tools, xvfb, eog, flac, ps2pdf, gthumb, htmldoc, (kabeja?), rar, unrar, cabextract, netcdf-bin, pdf2djvu, (prince?), soundconverter, (TeighaFileConverter?), txt2html, unrtf, vlc-nox

unzip was already installed. ps2pdf is in ghostscript, already installed.

 

To install those that are available in Ubuntu and copy Daffodil, do:

sudo vi /etc/apt/sources.list   # to uncomment the 4 multiverse lines.

sudo apt-get update

sudo apt-get install -y imagemagick unoconv p7zip-full libav-tools xvfb eog flac gthumb htmldoc rar unrar cabextract netcdf-bin pdf2djvu soundconverter txt2html unrtf vlc-nox

cd /home/polyglot

sudo scp -pr dap-dev.ncsa.illinois.edu:/home/polyglot/daffodil .

sudo chown -R --reference=/home/polyglot /home/polyglot/daffodil