-
Notifications
You must be signed in to change notification settings - Fork 8
IIPImage Server Installation
Daniel Haehn edited this page Sep 25, 2013
·
9 revisions
-
Install Apache2
-
Install the IIPImage server package
sudo apt-get install iipimage-server
- Activate Fast CGI module
sudo apt-get install libapache2-mod-fastcgi
sudo a2enmod fastcgi
sudo service apache2 restart
- Test access the server
http://localhost/iipsrv/iipsrv.fcgi
- 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"