We're Hiring!

Centos 5.3

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Centos 5.3

Postby cxallan » Mon Jul 06, 2009 8:22 pm

Vanilla Centos 5.3 network install with the "Server" base package set using the OpenJDK.

As root...

Code: Select all
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm
yum install java-1.6.0-openjdk
cd /etc/yum.repos.d/
wget http://www.zeroc.com/download/Ice/3.3/rhel5/zeroc-ice.repo
yum install ice ice-java-devel ice-python-devel ice-servers ice-utils
rpm -Uvh http://dag.wieers.com/rpm/packages/python-sqlite2/python-sqlite2-2.3.3-1.el5.rf.x86_64.rpm
yum install postgresql-server
vi /var/lib/pgsql/data/pg_hba.conf (Change 127.0.0.1/32 from "ident sameuser" to "md5")
/etc/init.d/postgresql start
sudo -u postgres createuser -P -D -R -S omero
sudo -u postgres createdb -O omero omero
sudo -u postgres createlang plpgsql omero
sudo mkdir /OMERO
chown -R <user>:<group> /OMERO


As <user>...

Code: Select all
wget http://cvs.openmicroscopy.org.uk/snapshots/omero/omero-Beta4.0.3.tar.bz2
tar jxvf omero-Beta4.0.3.tar.bz2
cd omero_dist
bin/omero db script
psql -h localhost -U omero omero < OMERO4__0.sql
bin/omero admin start
bin/omero admin ice
server enable Web
server start Web
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Centos 5.3

Postby nperry » Thu Aug 20, 2009 4:05 pm

I think the first line of this guide needs to be updated:
Code: Select all
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm

Doesn't do anything, and when I navigated there manually on a browser it didn't find anything. Is there a new URL?

Edit: decided to not be lazy. they use release-5-3 now. http://download.fedora.redhat.com/pub/epel/5/i386/

Will this also work? Or is it safer to go with an archive 5-2?
nperry
 
Posts: 10
Joined: Thu Aug 06, 2009 1:19 pm

Re: Centos 5.3

Postby cxallan » Fri Aug 21, 2009 9:52 am

release-5-3 should be just fine Nick.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Centos 5.3

Postby cxallan » Fri Nov 13, 2009 9:26 am

Stickied.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Centos 5.3

Postby galliva » Fri Sep 17, 2010 8:14 am

Hi all,
I have the following problem:

Code: Select all
ERROR: Could not import omero.cli! (No module named Ice)


I have looked on the forum, this seems to be an ICE issue, but my ICE installation seems to be correctly set-up:

Code: Select all
[root@isin04 ~]# yum install ice ice-java-devel ice-python-devel ice-servers ice-utils

...

Package ice-3.3.1-1.rhel4.noarch already installed and latest version
Package ice-java-devel-3.3.1-1.rhel4.x86_64 already installed and latest version
Package ice-python-devel-3.3.1-1.rhel4.x86_64 already installed and latest version
Package ice-servers-3.3.1-1.rhel4.x86_64 already installed and latest version
Package ice-utils-3.3.1-1.rhel4.x86_64 already installed and latest version
Nothing to do

Can anyone help me?

Thank you in advance!
galliva
 
Posts: 2
Joined: Fri Sep 17, 2010 8:06 am

Re: Centos 5.3

Postby cxallan » Fri Sep 17, 2010 12:16 pm

What happens if you just open up Python and try to import Ice? For example:

Code: Select all
$ python
Python 2.6.1 (r261:67515, Feb 11 2010, 15:47:53)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice
>>>
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Centos 5.3

Postby galliva » Fri Sep 17, 2010 1:35 pm

Hi,
thanks for your reply!

Code: Select all
>>> import Ice
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named Ice


At this point I'm wondering, is ICE installed or not? :?
galliva
 
Posts: 2
Joined: Fri Sep 17, 2010 8:06 am

Re: Centos 5.3

Postby wmoore » Mon Jan 17, 2011 4:37 pm

Looks like you don't have Ice installed correctly.
Maybe it's not on your PYTHONPATH?

Try
Code: Select all
$ $PYTHONPATH
-bash: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/:/opt/Ice-3.3.1/python:


Will
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest

cron