Page 1 of 1

installation Omero.server

PostPosted: Thu May 24, 2012 10:43 am
by chettia02
Hello;
someone to explain the installation step by the end of the page
here:
http://www.openmicroscopy.org/site/supp ... ll-windows
thank you

Re: installation Omero.server

PostPosted: Thu May 24, 2012 11:16 am
by sylittlewood
Hello,

Which step exactly are you having problems with?

Regards,

Scott

Re: installation Omero.server

PostPosted: Thu May 24, 2012 11:42 am
by chettia02
from this step I did not understand haw
tu peux m'expliquer détail
thnk you

Installation

Extract the OMERO ZIP and note its location. Below it is referred to as: C:\omero_dist. Note: Directory names containing spaces are not supported!

Optionally, review C:\omero_dist\etc\omero.properties which contains all default settings. You will need to open the file with WordPad.exe. Don't edit the file. Any configuration settings you would like to change can be changed in the next step.

Change any settings that are necessary using bin\omero config, including the name and/or password for the 'omero' database user you chose above or the database name if they are not "omero". (Quotes are only necessary if the value could be misinterpreted by the shell. See link)

cd c:\omero_dist
bin\omero config set omero.db.name myDatabase
bin\omero config set omero.db.user me
bin\omero config set omero.db.pass TopSecret

If you have chosen a non-standard OmeroBinaryRepository location above, be sure to configure the omero.data.dir property. When using C:\ style file paths it is necessary to "escape" the backslashes. For example:

bin\omero config set omero.data.dir D:\\OMERO

Create the OMERO database initialization script. You will be asked for the version of the script which you would like to generate, where both defaults can be accepted. Finally, you'll be asked to enter and confirm password for your newly created OMERO root user (this should not be the same as your Windows login user!)

c:\> cd C:\omero_dist\
c:\omero_dist> bin\omero db script
Please enter omero.db.version [OMERO4.2]:
Please enter omero.db.patch [0]:
Please enter password for new OMERO root user:
Please re-enter password for new OMERO root user:
Saving to C:\omero_dist\OMERO4.2__0.sql

Initialize your database with the script.

Re: installation Omero.server

PostPosted: Thu May 24, 2012 3:12 pm
by jmoore
chettia02 wrote:from this step I did not understand haw
tu peux m'expliquer détail
thnk you


What part of this did you not understand? What was the last thing you tried?

Cheers,
~Josh

Re: installation Omero.server

PostPosted: Fri May 25, 2012 8:13 am
by chettia02
hello jmoore;
the part of the command:

cd c:\omero_dist
bin\omero config set omero.db.name myDatabase
bin\omero config set omero.db.user me
bin\omero config set omero.db.pass TopSecret

If you have chosen a non-standard OmeroBinaryRepository location above, be sure to configure the omero.data.dir property. When using C:\ style file paths it is necessary to "escape" the backslashes. For example:

bin\omero config set omero.data.dir D:\\OMERO

Create the OMERO database initialization script. You will be asked for the version of the script which you would like to generate, where both defaults can be accepted. Finally, you'll be asked to enter and confirm password for your newly created OMERO root user (this should not be the same as your Windows login user!)

c:\> cd C:\omero_dist\
c:\omero_dist> bin\omero db script
Please enter omero.db.version [OMERO4.2]:
Please enter omero.db.patch [0]:
Please enter password for new OMERO root user:
Please re-enter password for new OMERO root user:
Saving to C:\omero_dist\OMERO4.2__0.sql

.
.
.
.


What I use as a command prompt ????... activepython?????? :?
thank you
chettia

Re: installation Omero.server

PostPosted: Fri May 25, 2012 8:23 am
by jmoore
No, the command prompt in question is a regular Windows console. I.e. "cmd.exe"

Re: installation Omero.server

PostPosted: Fri May 25, 2012 8:28 am
by chettia02
that's the error



Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Administrateur>cd c:\omero_dist

c:\omero_dist>bin\omero config set omero.db.name omero
Error loading:c:\omero_dist\lib\python\omero\plugins\admin.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 973, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\admin.py", line 24, in <module>
import omero_ServerErrors_ice
File "c:\omero_dist\lib\python\omero_ServerErrors_ice.py", line 13, in <module
>
import Ice, IcePy, __builtin__
ImportError: No module named Ice
Error loading:c:\omero_dist\lib\python\omero\plugins\upload.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 973, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\upload.py", line 14, in <module>
import omero.util.originalfileutils;
File "c:\omero_dist\lib\python\omero\util\__init__.py", line 11, in <module>
import Ice
ImportError: No module named Ice


c:\omero_dist>