Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Damien Goutte-Gattat bd7b67f32c n/omero-server: Fix handling of CLI arguments. 2 years ago
.. n/omero-server: Upgraded to omero-server-5.6.1. 2 years ago
README n/omero-server: Upgraded to omero-server-5.6.1. 2 years ago n/omero-server: Updated. 3 years ago
omero-py-5.6.2.tar.gz.sha256 n/omero-server: Upgraded to omero-server-5.6.1. 2 years ago
omero-server.SlackBuild n/omero-server: Upgraded to omero-server-5.6.1. 2 years ago
omero.conf n/omero-server: Updated. 3 years ago n/omero-server: Fix handling of CLI arguments. 2 years ago
rc.omero n/omero-server: Upgraded to omero-server-5.6.0. 2 years ago
slack-desc n/omero-server: Renamed from n/omero. 5 years ago


                 PACKAGER'S README FOR OMERO-5.6.1

Damien Goutte-Gattat <>


This file does not come from the OMERO project and the OMERO
developers don't endorse anything of it. Official documentation and
instructions for installing and running OMERO server should be looked
for at <>.


The OMERO server installed by this SlackBuild is intended to be run
by a dedicated `omero' user. That user will own most of the OMERO
files and must also have a existing, writable HOME directory.

The `' script will automatically create that user if it does
not already exist in `/etc/passwd'. The new account will have a UID
of 270, a HOME directory in `/var/lib/omero' and will belong to the
`omero' group; that group will also be automatically created if

To use another UID/GID or another HOME directory, either edit the
`' script before running the SlackBuild, or create the group
and user yourself before installing the package.


There are three locations on the filesystem that will be used by the

- the OMERO main directory, `/opt/omero', where the programs and
libraries themselves will be installed;

- the `omero' user's home directory, by default `/var/lib/omero'
(as created by the `' script, see above); it will hold
some temporary files;

- the data repository, where OMERO will store the raw data files,
`/OMERO' by default.

The three locations must be readable and writable by the `omero' user.

The main directory is hardcoded in the SlackBuild and the associated
scripts, but not in OMERO itself; you may change it if you want before
running the SlackBuild.

The `omero' user's home directory can be changed at any time with
usermod(8). Restart OMERO for the change to take effect.

The data repository is defined by the key `' in the
OMERO configuration.


There are many parameters controlling OMERO's behavior, but most of
them may be left unmodified for the first run. The only parameters
that must be explicitly set before running OMERO are those defining
the data repository (`' and `omero.managed.dir') and
the database backend (`omero.db.*').

All parameters may be set by running the `omero config` command under
the `omero` account. For example, to set the directory of the data

$ omero config set /data/omero

Parameters may also be defined in a `/etc/omero.conf` files, using
the same format as the `` file provided with OMERO.

Starting and stoping OMERO is done with the `/etc/rc.d/rc.omero'
control script. Before starting OMERO the first time, run
`/etc/rc.d/rc.omero init'; the script will read the configuration
file `/etc/omero.conf` if it exists and ensure the data repository
and the database backend are ready to use (this includes
automatically creating the PostgreSQL account and database if those
specified in `/etc/omero/' does not exist on the
server). This initialization step should be performed each time the
`/etc/omero.conf` is modified.

5. OMERO.web

The Django-based web application OMERO.web is no longer packaged
along with OMERO.server. Use the n/omero-web package to install it.

Make sure Nginx and Django are installed. Add the following line to
the OMERO configuration file /etc/omero.conf:


Then, use the following command to produce a configuration snippet
that can be directly inserted into the configuration of Nginx:

omero web config nginx

Start the web server, the OMERO server itself and the OMERO.web
workers using the rc scripts provided in the corresponding packages.


There are two different items to backup:

- the data directory (/OMERO by default, see 4. above);

- the PostgreSQL database.

The following commands backup everything into /backup:

$ pg_dump -h localhost -U postgres -C omero > /backup/omero.sql
$ rsync --archive --delete --compress --prune-empty-dirs \
/OMERO /backup/

To restore, copy the data files back to their locations and reload
the database from the SQL dump.


For general informations about upgrading OMERO, see:

To upgrade OMERO 5.5.x to OMERO-5.6.0:

- Make sure you have Python3, as OMERO-5.6.0 no longer supports Python2;

- stop OMERO if it is running;

- backup the SQL database;

- upgrade the package;

- start the upgraded server:

# /etc/rc.d/rc.omero start