setting up IIPImage Server

414 views
Skip to first unread message

Pietro Liuzzo

unread,
Jun 9, 2017, 3:44:39 PM6/9/17
to iiif-d...@googlegroups.com

Dear all,

I am starting to set up our project to use IIIF for our images. We have a nice collection of manuscripts from Ethiopia digitized in the past years. 

I have started to follow the guidance on the website but got stuck quite soon. I have installed IIPImage Server on my Ubuntu 14.04 and set it up on Nginx as the documentation says but I cannot manage to start it up from the command line, it says iipsrv.fcgi: command not found 

if I run the instruction pointing to the location of the executable it just does not do anything.

I fear I have omitted something obvious I should have done but I cannot figure out what that is.

Thanks a lot for any help

Sincerely yours

Pietro
--
Pietro Maria Liuzzo
cel (DE): +49 (0) 176 61 000 606
Skype: pietro.liuzzo (Quingentole)

Andrew Hankinson

unread,
Jun 9, 2017, 5:36:01 PM6/9/17
to iiif-d...@googlegroups.com
Hi Pietro,

You need to be in your IIP Image 'src' directory and put a './' in front of the command:

./iipsrv.fcgi --bind 127.0.0.1:9000

You then need to make sure your nginx server configuration has the line:

fastcgi_pass 127.0.0.1:9000;

When you get to the point of deploying it on a production server you will likely need to run iip with a FastCGI process manager. I usually use the python supervisor package; I will gladly share my configuration with you for that if you need it.

Other people use spawn-fcgi or the built-in systemd process managers.

-Andrew
> --
> -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Pietro Liuzzo

unread,
Jun 12, 2017, 1:20:21 AM6/12/17
to iiif-d...@googlegroups.com
Dear Andrew, 
thanks a lot! unfortunately I fail to find any src directory in my iipimage-server. I have iipsrv.fcgi in /usr/lib/iipimage-server after installing the package.
Thank you very much again!


2017-06-09 23:35 GMT+02:00 Andrew Hankinson <andrew.h...@gmail.com>:
Hi Pietro,

You need to be in your IIP Image 'src' directory and put a './' in front of the command:

./iipsrv.fcgi --bind 127.0.0.1:9000

You then need to make sure your nginx server configuration has the line:

fastcgi_pass    127.0.0.1:9000;

When you get to the point of deploying it on a production server you will likely need to run iip with a FastCGI process manager. I usually use the python supervisor package; I will gladly share my configuration with you for that if you need it.

Other people use spawn-fcgi or the built-in systemd process managers.

-Andrew

> On 9 Jun 2017, at 20:11, Pietro Liuzzo <pietro...@gmail.com> wrote:
>
>
> Dear all,
>
> I am starting to set up our project to use IIIF for our images. We have a nice collection of manuscripts from Ethiopia digitized in the past years.
>
> I have started to follow the guidance on the website but got stuck quite soon. I have installed IIPImage Server on my Ubuntu 14.04 and set it up on Nginx as the documentation says but I cannot manage to start it up from the command line, it says iipsrv.fcgi: command not found
>
> if I run the instruction pointing to the location of the executable it just does not do anything.
>
> I fear I have omitted something obvious I should have done but I cannot figure out what that is.
>
> Thanks a lot for any help
>
> Sincerely yours
>
> Pietro
> --
> Pietro Maria Liuzzo
> cel (DE): +49 (0) 176 61 000 606
> Skype: pietro.liuzzo (Quingentole)
> https://uk.linkedin.com/in/pietroliuzzo
>
> --
> -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en

> ---
> You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.

> For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Adam Christie

unread,
Jun 12, 2017, 9:05:38 AM6/12/17
to IIIF Discuss
Hi Pietro,

I don't know if this will be of use, but I blogged about setting up IIPImage on Ubuntu 14.04 some time ago here - http://circle-theory.blogspot.co.uk/2015/01/jpeg2000-support-with-iipimage-iipsrv.html   - I know that some of the information in this is now out of date (the hardware acceleration parts, for example), but it might offer some pointers to help you.

Best,

Adam.

Andrew Hankinson

unread,
Jun 12, 2017, 9:07:11 AM6/12/17
to iiif-d...@googlegroups.com
Hi Pietro,

You will then need to 'cd' to /usr/lib/iipimage-server and run the command. So ("$>" represents the prompt):

$> cd /usr/lib/iipimage-server
$> ./iipsrv.fcgi --bind 127.0.0.1:9000

-Andrew
> > -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
> > ---
> > You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Pietro Maria Liuzzo
> cel (DE): +49 (0) 176 61 000 606
> Skype: pietro.liuzzo (Quingentole)
> https://uk.linkedin.com/in/pietroliuzzo
>
> --
> -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.

Pietro Liuzzo

unread,
Jun 12, 2017, 2:55:46 PM6/12/17
to iiif-d...@googlegroups.com
Thanks a lot!
I am really missing some basics here...

> > -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en

> > ---
> > You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.

> > For more options, visit https://groups.google.com/d/optout.
>
> --
> -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en

> ---
> You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.

> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Pietro Maria Liuzzo
> cel (DE): +49 (0) 176 61 000 606
> Skype: pietro.liuzzo (Quingentole)
> https://uk.linkedin.com/in/pietroliuzzo
>
> --
> -- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en

> ---
> You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.

> For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Pietro Liuzzo

unread,
Jul 24, 2017, 6:07:12 AM7/24/17
to iiif-d...@googlegroups.com
Thanks a lot also for this blog, it did help me!

--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages