- IP: 188.8.131.52
OpenJDK 1.7 was the default package.
OpenJDK 1.6 was also installed.
OWLIM needs Java compiler. The following line was added to nuxeo.conf:
Default Apache package contains Apache 2.2.22
FastCGi and Headers Apache modules were installed using command:
a2enmod fastcgi a2enmod headers
Following instructions were added to /etc/apache2/sites-available/default:
Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET,POST" Header set Access-Control-Allow-Headers "x-requested-with"
<Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET,POST" Header set Access-Control-Allow-Headers "x-requested-with" Allow from all </Directory>
This is CORS setup.
Images for deep zoom were copied to /dest/images directory
IIP Image Server
IIP Image Server was downloaded from here: http://sourceforge.net/projects/iipimage/files/IIP%20Server/iipsrv-0.9.9/iipimage-server_0.9.9-0ubuntu12.04_amd64.deb/download
and installed using dpkg tool.
PostgreSQL 9.1 was installed. The following setup was performed:PostgreSQL 9.1
Database nuxeo_db was created with user nuxeo_user and password nuxeo_pass.
The problem described here was encountered and fixed by editing file /etc/sysctl.conf and increasing kernel.shmmax value.
Nuxeо 5.5 was installed from http://nuxeo.github.com/downloads.html (nuxeo-cap-5.5-tomcat-offline.zip)
Archive was unzipped in /nidata/nuxeo
Changes were made in nuxeo.conf file to increase Java heap size and set JAVA_HOME. JAVA_HOME is needed by OWLIM as it searches for Java compiler there. JAVA_HOME was set to the JDK path (not the JRE).
ResearchSpace dependency jars were copied under <nuxeo dir>/nxserver/lib. These were exported using copy-dependency maven target.
RS plugins were copied in <nuxeo dir>/nxserver/plugins.
JForum war was copied under <nuxeo dir>/webapps
Migration and users
For migration, "old" Nuxeo GUI was used -