Page 1 of 1

Apache2 setup for CENTOS/RHEL/SL 6

PostPosted: Fri Nov 11, 2011 12:48 pm
by fisher
I am trying to install the OMERO.server-Beta-4.3.3 on CENTOS 6. It has been quite a struggle as OMERO requires an old version of Ice which is not supported on CENTOS 6. My remaining problem is configuring the web server. Use the development server was fine but when I moved on to:
omero config set omero.web.application_server "fastcgi" and then omero web config apache I obtained some apache directives. I saved the generated extract as an omero.conf file which I placed in the directory /etc/httpd/conf.d. This gave two problems one was the Alias / ... line which conflicted with material in the /etc/httpd/conf/httpd.conf file. I changed from / to /omero so that I should be able to address things as /omero/webadmin for example but this left the problem of the FastCgiExternalServer directive. The normal way to do fastcgi on CENTOS 6 for apache 2 seems to be to use mod_fcgid which seems to be some kind of daemon. However I have no experience of fastcgi so am somewhat lost. I found the source of the apache module which respects the FastCgiExternalServer directive but had problems installing it. If anyone has got this going can they please post a recipe.

Re: Apache2 setup for CENTOS/RHEL/SL 6

PostPosted: Tue Nov 29, 2011 2:10 pm
by cxallan
CentOS 6 isn't something we're actively testing on at the moment within the OME group but we will be endeavoring within the next few weeks to run an install to completion on the distro and add a recipe like we have done for Centos 5 and Ubuntu.

Re: Apache2 setup for CENTOS/RHEL/SL 6

PostPosted: Wed Nov 30, 2011 10:57 am
by fisher
The main problem with CENTOS 6 was that OMERO expects an old version of Ice which is not supported by ZeroC on this platform so I had to build Ice from source. You only discover this when you come to try and start the server with version 3.4 of Ice

Re: Apache2 setup for CENTOS/RHEL/SL 6

PostPosted: Tue Jan 10, 2012 2:19 pm
by jmoore
Just as a heads up: support for Ice 3.4 & 3.3 will be a part of the next major release. Sorry for any troubles.

~Josh