Edits:
- Made sure apt-get update was included in Step 2
Step 1: Adding Intrepid APT sources to your /etc/apt/sources.list file
- Code: Select all
...
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://gb.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy universe
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ hardy-updates universe
# Added for Ice 3.3.0 packages from Ubuntu 8.10 (Intrepid)
# Chris Allan <callan@openmicroscopy.org.uk>
deb http://gb.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://gb.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ intrepid-updates universe
...
Step 2: Pinning your Ubuntu 8.04 (Hardy) base packages so that you do not mess up your system
WARNING: Add the following contents to /etc/apt/preferences (create it if it does not exist) carefully or you will end up with a broken system. Read the apt_preferences man page if you have any doubts.
- Code: Select all
Package: *
Pin: release a=hardy
Pin-Priority: 1
Step 3: Install OMERO
As root...
- Code: Select all
apt-get update
apt-get install python-zeroc-ice ice33-services sun-java6-jdk python-sqlite \
postgresql-8.3
/etc/init.d/postgresql-8.3 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