Skip to content

IIPImage Server Installation

Daniel Haehn edited this page Sep 25, 2013 · 9 revisions
  1. Install Apache2

  2. Install the IIPImage server package

sudo apt-get install iipimage-server

  1. Activate Fast CGI module

sudo apt-get install libapache2-mod-fastcgi

sudo a2enmod fastcgi

sudo service apache2 restart

  1. Test access the server

http://localhost/iipsrv/iipsrv.fcgi

  1. Configure IIPImage

sudo vim /etc/apache2/mods-enabled/iipsrv.conf

# Set our environment variables for the IIP server FcgidInitialEnv VERBOSITY "1" FcgidInitialEnv LOGFILE "/var/log/iipsrv.log" FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "1000" FcgidInitialEnv JPEG_QUALITY "90" FcgidInitialEnv MAX_CVT "5000" FcgidInitialEnv FILESYSTEM_PREFIX "/media/d/SPEED/DATA/" FcgidInitialEnv MEMCACHED_SERVERS "localhost"