When I look further, I found installation packages on https://code.google.com/archive/p/oldmapsonline/downloads this page. But when I try to install it required the libmemcached5 dependency. But this dependency is not supported anymore.
Is there a other way to install IIPServer with JPEG2000 support on a Ubuntu server? I hope so.
Walter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have docker installed, this will download and run IIPSrv in a container which uses lighttpd as a lightweight web server, communicating with IIPsrv by fast-cgi. It will be available at http://localhost/fcgi-bin/iipsrv.fcgi
Port 80 on the host machine will be used - you can change that in the -p command.
The -v statement maps a folder into the container so that IIPSrv can see it, so change <base-folder> to be the folder that images can be found in.
Thank you both. First I'll try to build the source of Ruven.
Ruven the configure requires pkg-config, but it is already installed. Do need an other version?
$:~/iipsrv-master# apt-get install pkg-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu1).
...
configure: error:
pkg-config is required.
See pkg-config.freedesktop.org
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With this workaround , the package was installed and fully working.
There is one strange thing, though.
When navigating to server_ip/iipsrv/iipsrv.fcgi the IIPimage version returned is 1.0 and not 0.99 as expected.
JP2000 images are served well, except fore some crashes with larges images ( > 100MB ).
The client used is IIPmooviewer.
My question is if this version is suitable for a production environment, or if we would have some benefits downloading and compiling from the more recent source files ( but in this case we should purchase a kakadu license ).
Thanks in advance
Stefano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hey,
I'd like to install IIPServer with JPEG2000 support on a Ubuntu server. But when I follow the instructions on this page http://iipimage.sourceforge.net/2012/05/new-debian-and-ubuntu-packages-released/ the links are dead.
When I look further, I found installation packages on https://code.google.com/archive/p/oldmapsonline/downloads this page. But when I try to install it required the libmemcached5 dependency. But this dependency is not supported anymore.
Is there a other way to install IIPServer with JPEG2000 support on a Ubuntu server? I hope so.
Walter
Hi Walter,
You could try the version we've put together which uses OpenJPEG for JPEG2000 support.
It has been pushed to DockerHub as fractos/iipsrv-openjpeg.
GitHub repo here: https://github.com/dlcs/image-server-node-iipsrv-openjpeg
As shown in the readme on the repo, you can run it with a simple docker command, e.g.:
docker run \ -d \ -p=80:8080 \ -v <base-folder>:<base-folder> \ fractos/iipsrv-openjpeg \ ./operations.sh
If you have docker installed, this will download and run IIPSrv in a container which uses lighttpd as a lightweight web server, communicating with IIPsrv by fast-cgi. It will be available at http://localhost/fcgi-bin/iipsrv.fcgi
Port 80 on the host machine will be used - you can change that in the -p command.
The -v statement maps a folder into the container so that IIPSrv can see it, so change <base-folder> to be the folder that images can be found in.
For example, I use this:
docker run \ -d \ -p=8080:8080 \ -v /mnt/images:/images \ fractos/iipsrv-openjpeg \ ./operations.sh
This should mean that I can do:
curl http://localhost:8080/fcgi-bin/iipsrv.fcgi?IIIF=/images/abcd1.jp2/info.json
Which will find the image "abcd1.jp2" in the (real) folder /mnt/images on the host machine.
Adam.
In fact the latest iipsrv code on Github also has OpenJPEG support included.
Ah! Good stuff.
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thank you both. First I'll try to build the source of Ruven.
Ruven the configure requires pkg-config, but it is already installed. Do need an other version?
$:~/iipsrv-master# apt-get install pkg-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu1).
...
configure: error:
pkg-config is required.
See pkg-config.freedesktop.org
Try re-running autogen.sh and then configure again
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi all,
I was able to install the packages with jpeg2000 support that are hosted at https://code.google.com/archive/p/oldmapsonline/downloads on a Debian 8 server.
This is the package I installed:
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/oldmapsonline/iipimage-jp2-new-amd64.deb
In order to do this and solve the missing dependencies ( memcached5 and libjpeg4 ) I enabled the following repositories in the apt-get sources ( /etc/apt/sources.list ) adding the following lines at the end of the file:
deb http://security.debian.org/debian-security wheezy/updates main
deb http://ftp.de.debian.org/debian wheezy main
deb http://archive.debian.org/debian squeeze main
With this workaround , the package was installed and fully working.
There is one strange thing, though.
When navigating to server_ip/iipsrv/iipsrv.fcgi the IIPimage version returned is 1.0 and not 0.99 as expected.
JP2000 images are served well, except fore some crashes with larges images ( > 100MB ).
The client used is IIPmooviewer.
My question is if this version is suitable for a production environment, or if we would have some benefits downloading and compiling from the more recent source files ( but in this case we should purchase a kakadu license ).
Thanks in advance
Stefano
It's not the latest iipsrv, but it should still be stable enough for a production environment. You should just try it out and see how it performs.