Linux
Razuna has been tested on Ubuntu (Server) 10.x, 11.x and 12.x. Thought there is nothing against running it on older versions as well. Furthermore, we’ve tested it with RedHat 6.x and CentOS 5.x & 6.x.
Install Java
You will need Java 8 on your system. We recommend OpenJDK 8.
Install Ghostscript
Ghostscript
Do not install Ghostscript with packages anymore as they are outdated. Follow the instructions below to install Ghostscript.
wget http: //downloads.ghostscript.com/public/binaries/ghostscript-9.15-linux-x86_64.tgz tar xzvf ghostscript- 9.15 -linux-x86_64.tgz cd /usr/bin/ mv gs gs-- ln -s /opt/ghostscript- 9.15 -linux-x86_64/gs- 915 -linux_x86_64 gs |
If you rather compile from source you can download the latest version Ghostscript at Ghostscript : Releases. Note: You need to download the source and not the pre-packaged one!
After unpacking follow it with a:
./configure |
and a:
make && make install |
Make a symbolic link in “/usr/bin” for Ghostscript with:
ln -s /usr/local/bin/gs /usr/bin/gs |
Install ImageMagick
Get the latest version from http://www.imagemagick.org. Then install or check that all the needed libraries are installed with:
On most systems you should be able to do a simple:
or for RedHat
Install ImageMagick from source
If you need to install from source you can follow the steps below:
yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel |
Then configure ImageMagick with (command should be on one line):
configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes \ --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes |
Followed by a:
make && make install |
If all worked well you should see something like this when issuing the command:
convert --version Version: ImageMagick 6.5 . 7 - 5 2009 - 11 - 08 Q16 http: //www.imagemagick.org Copyright: Copyright (C) 1999 - 2009 ImageMagick Studio LLC |
Install FFMpeg
Please refer to each operating system how to install FFmpeg.
Install Exiftool
Go to ExifTool by Phil Harvey and download the latest version.
Once downloaded all you need to do is:
perl Makefile.PL
make
make
test
make
install
(Each line is a separate command)
Note: Some Perl installations may not contain the necessary files to complete the first step above. But no worries: You can install ExifTool manually by moving ‘exiftool’ and the ‘lib’ directory to any directory in your current PATH (ie. /usr/bin). More information is available over at ExifTool by Phil Harvey.
Install DCRaw & ufraw (optional)
Razuna is able to work with RAW images from different digital cameras. In order for Razuna to work with RAW images you will need to install “DCRAW” and “ufraw”. To install those two libraries either download and compile them install them from your distribution repositories. Under Ubuntu this is done with:
RedHat
yum install dcraw |
Install MP4Box (optional)
MP4Box helps with automatic streaming for certain videos. It is part of the gpac package. Install it with:
Ubuntu
apt-get install gpac |
RedHat
yum install gcc yum install zlib* yum install freeglut.x86_64 freeglut-devel.x86_64 wget http: //repo .bstack.net /mp4box/gpac-0 .4.5. tar .gz wget http: //repo .bstack.net /mp4box/gpac_extra_libs-0 .4.5. tar .gz tar -zxvf gpac-0.4.5. tar .gz tar -zxvf gpac_extra_libs-0.4.5. tar .gz mkdir /usr/local/src/gpac mkdir /usr/local/src/gpac/extra_lib cd gpac_extra_libs cp -r * /usr/local/src/gpac/extra_lib cd .. cd gpac chmod +x configure . /configure make lib make apps make install lib make install cp bin /gcc/libgpac .so /usr/lib |
Troubleshooting
You might run into the error “MP4Box: error while loading shared libraries: libgpac.so: cannot open shared object file: No such file or directory”. Problem is that the shared library was compiled, but is not installed to /usr/local/lib. Solution is:
cd gpac install -m644 bin /gcc/libgpac .so /usr/local/lib/libgpac .so chmod +x /usr/local/lib/libgpac .so ldconfig |
Setup Razuna standalone
If you have not already done so, download the latest Razuna release from http://razuna.org. We recommend to extract Razuna to the “/opt” directory, but you are free to place it wherever you see fit. The Razuna standalone server comes with Tomcat pre-configured.
Start the Razuna server
The final task left to do now is to startup the application server. In order to do so, navigate to the “bin” directory of the Razuna folder (/opt/razuna/tomcat/bin/) and start the server with:
. /startup .sh |
Navigate to Razuna
Once the server has successfully started you should navigate to http://localhost:8080/razuna and you will be presented with the Firsttime Wizard to finish setup.