-
Notifications
You must be signed in to change notification settings - Fork 1
Installation notes
phebal edited this page Aug 12, 2016
·
7 revisions
Rack usess /tmp
to store content of uploaded file. Newer distros use tmpfs for /tmp
and it's limited to half of physical memory. To increase its size edit /etc/fstab
:
none /tmp tmpfs size=8G 0 0
Add to jetty.xml
:
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
...
<Set name="requestHeaderSize">16192</Set>
...
https://github.com/projecthydra/sufia/issues/904
Make sure to prepend ot the deploy
user's PATH
to /home/deploy/bin
.
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos For AAC support needs to be compiled from source
To get jp2 support see below and follow http://www.imagemagick.org/script/install-source.php#unix and http://www.imagemagick.org/script/advanced-unix-installation.php
Pull build dependencies with sudo yum install ImageMagick-devel
sudo yum install openjpeg2-devel
./configure --prefix=/home/deploy/local --with-gslib --with-jp2 --with-perl --enable-shared --with-module
make -j2
sudo make install
sudo ldconfig /home/deploy/local/lib/
ln -sf /home/deploy/local/bin/* /home/deploy/bin/
hash -r
Install:
libreoffice-headless
libreoffice