-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not expose OMERO_HOME in the doc (see #10603) #310
Changes from 5 commits
1eb3b8a
9565011
a6d2c1f
94f3b41
c655639
4c16c77
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,12 +134,6 @@ moved into. For example, to install OMERO locally into a directory called | |
$ mkdir OMERO | ||
$ cd OMERO | ||
|
||
.. note:: | ||
Recall that earlier you set the :envvar:`OMERO_HOME` environment variable | ||
to :file:`~/apps/OMERO/OMERO.server`. If you change the location that you | ||
wish to install OMERO to then you will also have to alter your | ||
:envvar:`OMERO_HOME` environment variable to reflect this. | ||
|
||
OMERO |release| | ||
^^^^^^^^^^^^^^^ | ||
|
||
|
@@ -151,9 +145,10 @@ a release version of OMERO.server, extract it from the zip archive: | |
|
||
$ unzip OMERO.server-|release|-ice33-byy.zip | ||
|
||
Give your OMERO software install a nice local name to save some typing | ||
later, to reflect what you set :envvar:`OMERO_HOME` to, and to make it easy to | ||
manage the installation of newer versions of the server at a later date: | ||
Give your OMERO software install a nice local name to save some typing later, | ||
to reflect what you set :envvar:`OMERO_PREFIX` to in the | ||
:ref:`linux_configuration` section, and to make it easy to manage the | ||
installation of newer versions of the server at a later date: | ||
|
||
.. parsed-literal:: | ||
|
||
|
@@ -164,20 +159,27 @@ Development server | |
|
||
.. include:: development-server | ||
|
||
.. _linux_configuration: | ||
|
||
Configuration | ||
------------- | ||
|
||
Environment variables | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. warning:: | ||
The :envvar:`OMERO_HOME` environment variable is used internally by OMERO. | ||
Unless you really know what you are doing, it is strongly recommended not | ||
to set this variable. | ||
|
||
Edit your :file:`.bashrc` file, e.g. **$ vim ~/.bashrc** and add the | ||
following:: | ||
|
||
export JAVA_HOME=/usr/lib/jvm/java-6-sun | ||
export ICE_HOME=/usr/share/Ice-3.3.1 | ||
export POSTGRES_HOME=/usr/lib/postgresql/8.4 | ||
export OMERO_HOME=~/apps/OMERO/OMERO.server | ||
export PATH=$PATH:$JAVA_HOME/bin:$ICE_HOME:$POSTGRES_HOME/bin:$OMERO_HOME/bin | ||
export OMERO_PREFIX=~/apps/OMERO/OMERO.server | ||
export PATH=$PATH:$JAVA_HOME/bin:$ICE_HOME:$POSTGRES_HOME/bin:$OMERO_PREFIX/bin | ||
export PYTHONPATH=/usr/lib/pymodules/python2.6:$PYTHONPATH | ||
export LD_LIBRARY_PATH=/usr/share/java:/usr/lib:$LD_LIBRARY_PATH | ||
|
||
|
@@ -196,12 +198,13 @@ apply them using the **source** built in command:: | |
You can check that the new environment variables have taken by printing | ||
their values to the shell, e.g.:: | ||
|
||
$ echo $OMERO_HOME | ||
|
||
should give output similar to the following:: | ||
|
||
$ echo $OMERO_PREFIX | ||
~/apps/OMERO/OMERO.server | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd be surprised if the tilde got this far, won't it have been expanded in the processing of a previous |
||
|
||
If you change the location that you wish to install OMERO to, then you will | ||
also have to alter your :envvar:`OMERO_PREFIX` environment variable to reflect | ||
this. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? Surely it only has any effect if one also sets the variables that depend upon it in the other |
||
|
||
Database creation | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a warning not to call this
OMERO_HOME
? It would be so natural to do so given the other_HOME
s.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That probably brings us back to the question of whether the use of
OMERO_HOME
internally should be modified.