Page 1 of 1

Centos 5.3

PostPosted: Mon Jul 06, 2009 8:22 pm
by cxallan
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

Re: Centos 5.3

PostPosted: Thu Aug 20, 2009 4:05 pm
by nperry
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?

Re: Centos 5.3

PostPosted: Fri Aug 21, 2009 9:52 am
by cxallan
release-5-3 should be just fine Nick.

Re: Centos 5.3

PostPosted: Fri Nov 13, 2009 9:26 am
by cxallan
Stickied.

Re: Centos 5.3

PostPosted: Fri Sep 17, 2010 8:14 am
by galliva
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!

Re: Centos 5.3

PostPosted: Fri Sep 17, 2010 12:16 pm
by cxallan
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
>>>

Re: Centos 5.3

PostPosted: Fri Sep 17, 2010 1:35 pm
by galliva
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? :?

Re: Centos 5.3

PostPosted: Mon Jan 17, 2011 4:37 pm
by wmoore
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