IIPImage now an official Fedora Package

New Release, Server No Comments

IIPImage is now an official stable Fedora package and is included out of the box with the new release of Fedora 19! The package is based on a recent build of the development version of iipsrv available from the Github repository.

Information on the Fedora packages is available at https://apps.fedoraproject.org/packages/iipsrv with the package source at http://pkgs.fedoraproject.org/cgit/iipsrv.git

The packages are also included in Fedora-based enterprise distributions such as CentOS and Red Hat Enterprise Linux via the EPEL repository.

To install, simply use the default yum package manager:

sudo yum install iipsrv

This will install the IIPImage server in /usr/libexec/iipsrv/iipsrv.fcgi

Apache

To use with Apache, you will need to also install the Apache configuration files:

sudo yum install iipsrv-httpd-fcgi

which will install the configuration file iipsrv.conf in /etc/httpd/conf.d/. Modify this if necessary. You can find a full list of possible server parameters here. You will then need to start Apache (or restart if it is already running):

sudo service restart httpd

You should now have the IIPImage server running at  http://your.server/iipsrv

Lighttpd

There is no Lighttpd package at the moment, but to use iipsrv with lighttpd, first install lighttpd and it’s fcgi module (if not already installed):

sudo yum install lighttpd-fastcgi

Then add the following to the fastcgi configuration file /etc/lighttpd/conf.d/fastcgi.conf:

fastcgi.server = ( "/iipsrv" =>
  (( "socket" => "/tmp/iipsrv-fastcgi.socket",
     "check-local" => "disable",
     "min-procs" => 1,
     "max-procs" => 1,
     "bin-path" => "/usr/libexec/iipsrv/iipsrv.fcgi",
     "bin-environment" => (
        "LOGFILE" => "/tmp/iipsrv.log",
        "VERBOSITY" => "2",
      )
  ))
)

and activate fastcgi by uncommenting the following line from /etc/lighttpd/modules.conf:

Include "conf.d/fastcgi.conf"

Then start / restart lighttpd:

sudo service restart lighttpd

This will start the IIPImage server at http://your.server/iipsrv

Running as a Service

It is also possible to start the IIPImage server as an independent service without Apache or Lighttpd:

sudo service start iipsrv

which will start the server listening by default on 127.0.0.1 on port 9002. For the systemd-based Fedora, this is configurable by following the instructions in /lib/systemd/system/iipsrv.service. For sysv-based RHEL distributions, this is configurable in /etc/iipsrv/iipsrv.conf. Starting iipsrv this way allows you to use it with Nginx, Tomcat or if you are hosting your web server on a different machine and wish to proxy requests to iipsrv.

Note that if you are using SELinux, connections from Apache to unknown ports are not allowed by default. To fix this, use semanage, the SELinux policy management tool to add it:

sudo semanage port -a -t http_port_t -p tcp 9002

Clients

Only the server is included in this package, so you will need to install a client, such as IIPMooViewer or IIPZoom yourself. Note that the default server URL is /iipsrv and not the usual /fcgi-bin/iipsrv.fcgi, so don’t forget to set this correctly in the viewer configuration of IIPMooViewer, IIPZoom or whichever viewer you choose to use.



Many thanks to Johan Cwiklinkski for creating the package. You can find more details on his blog and on the Redhat bugzilla review.


IIPImage now an Official Ubuntu Package

New Release, Server No Comments

IIPImage is now an official Ubuntu and Debian package! Version 0.9.9 of the IIPImage server is now distributed as part of the Ubuntu 12.10 Quantal Quetzal release.  It is also included in Debian’s Sid unstable branch, and testing branch from where it should migrate to become part of the forth-coming Debian 7 Wheezy release.

The Debian source package is available here: http://packages.debian.org/source/sid/iipimage and the Ubuntu lauchpad package here: https://launchpad.net/ubuntu/+source/iipimage

The package is split into two with a main server package: iipimage-server and a separate IIPImage documentation package: iipimage-doc

So, installing IIPImage is now extremely easy. To do so on Ubuntu 12.10, simply install iipimage-server via the graphical package manager or via the command line:

apt-get install iipimage-server

and optionally for the documentation:

apt-get install iipimage-doc

Now restart Apache and you should have the IIPImage server running on http://your.server/iipsrv/iipsrv.fcgi

Only the server is included in this package, so you will need to install a client, such as IIPMooViewer or IIPZoom yourself. Note that the server URL is /iipsrv/iipsrv.fcgi and not the usual /fcgi-bin/iipsrv.fcgi, so don’t forget to set this correctly in the viewer configuration of IIPMooViewer, IIPZoom or whichever viewer you choose to use.

The package is configured to work with both Apache and Lighttpd. If you are using Apache, the configuration file is at /etc/apache2/mods-available/iipsrv.conf. For Lighttpd, /etc/lighttpd/conf-available/20-iipsrv.conf. See the server documentation page for details of the available parameters. The log file is at /var/log/iipsrv.log.

The package has Memcached support built in and will automatically use Memcached for caching if this is running on the host machine. If not, simply start it to allow IIPImage to use it.

To install on the current Debian, you will need to be on the testing (or unstable branch). If you are on testing, add an additional unstable source to /etc/apt/sources.list. See the testing documentation for further details. Make sure you first update your package index, then simply install as above.

If you want JPEG2000 support or don’t want to use the Debian testing or unstable branch, continue to use our stable but “unofficial” 0.9.9 Ubuntu packages that are compatible with Ubuntu 11.10 and 12.04.

Special thanks to Mathieu Malaterre for building and maintaining the official Debian package!


iipsrv now on Github

JPEG2000, New Release, Server No Comments

The latest development code for iipsrv, the IIPImage server is now hosted on Github. This should make things far easier for developers to share code and to submit patches. You can check out the repository here https://github.com/ruven/iipsrv

The latest code has a host of new features including:

  • Exact export resizing for both TIFF and JPEG2000
  • Improved interpolation algorithms for CVT export
  • Extended support for 1, 8, 16 and 32 bit images
  • Gamma support
  • Improved metadata handling
  • Performance improvements
  • Improved Windows compatibility
  • Bug fixes!

So, check it out and get forking!

IIPImage Analytics: IIPAnalyze 0.2 Released

Analytics, New Release No Comments

Version 0.2 of our analytics tool, IIPAnalyze is now available! This version adds user agent filtering as well as histograms showing user activity over time. The following histograms, for example, show how the frequency of tile requests made (by all users and only Firefox users) varies with time after the users first load the IIPImage viewer for our Marble Earth demo.

Frequency of Tile Requests over Time for Marble Earth by Firefox Users

Tile Request Frequency for Marble Earth by all Users over First 2 Minutes

It is also possible to just look at just one particular user and how their tile requests vary with time. This is the request pattern of a random IP address viewing the Marble Earth IIPImage demo showing the first minute or so of activity.

Tile Request Frequency for a Random IP address

See the analytics documentation page for more information and the list of options. You can download the latest stable release of IIPAnalyze from our download page or fork the latest development code from the iipanalyze github repository.

Thanks once again to Laurent Le Guen for the updated script.

New Debian and Ubuntu packages released

JPEG2000, New Release, Server No Comments

We’ve just updated our IIPImage 0.9.9 server packages for the latest release of Ubuntu 12.04 Precise Pangolin. The packages now automatically install and configure the IIPImage server for use with Apache or Lighttpd. Packages are available for both 32 and 64 bit machines and should be compatible with both Ubuntu 11.10 and 12.04. The build also includes Memcached support, which is automatically activated if this has been installed.

JPEG2000 enabled packages for both 32 and 64bit using the Kakadu JPEG2000 decoder are once again available from OldMapsOnline.

Additionally, we hope to soon have IIPImage officially included in Debian! The package overview is available on the main Debian ftp-master repository.

Installation

To use, first install the pre-requisite libraries:

% sudo apt-get install libfcgi0ldbl libjpeg8 libtiff4 zlib1g libstdc++6 libmemcached6

If you wish to run IIPImage via Apache, make sure this is installed together with the FCGI module:

% sudo apt-get install apache2 libapache2-mod-fastcgi

libapache2-mod-fastcgi is a non-free package in Debian, so make sure that non-free packages are included in your package source list.

Alternatively you can install Lighttpd:

% sudo apt-get install lighttpd

You may also wish to use IIPImage with Memcached. If you do, the IIPImage server will automatically use it if it is on the same machine.

% sudo apt-get install memcached

Memcached is a distributed system, so if you prefer to install on other machines, you can skip the installation and modify the IIPImage configuration settings to point to these other machines.

Finally install iipsv, the IIPImage server:

% sudo dpkg -i iipimage-server_0.9.9-0ubuntu12.04_amd64.deb

Your machine should now be set up with a running instance of IIPImage!

Configuration files for Apache and Lighttpd are in /etc/apache2/mods_available/ and /etc/lighttpd/conf-available/ respectively. The default parameters should give you a fully working version. Modify the parameters to tweak things. The log file is /var/log/iipsrv.log.

Download

32 bit for Ubuntu 11.10 and 12.04: iipimage-server_0.9.9-0ubuntu12.04_i386.deb

64bit for Ubuntu 11.10 and 12.04: iipimage-server_0.9.9-0ubuntu12.04_amd64.deb

32bit for Ubuntu 11.10 and 12.04 with JPEG2000 support (for non-commercial use only): iipimage-server_0.9.9-j2k-0ubuntu12.04_i386.deb

64bit for Ubuntu 11.10 and 12.04 with JPEG2000 support (for non-commercial use only): iipimage-server_0.9.9-j2k-0ubuntu12.04_amd64.deb

« Previous Entries

Flattr this




Donations appreciated Bookmark and Share
Get IIPImage at SourceForge.net. Fast, secure and Free Open Source software downloads