We're Hiring!

installation Omero.server

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

installation Omero.server

Postby chettia02 » Thu May 24, 2012 10:43 am

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

Re: installation Omero.server

Postby sylittlewood » Thu May 24, 2012 11:16 am

Hello,

Which step exactly are you having problems with?

Regards,

Scott
sylittlewood
 
Posts: 5
Joined: Mon Aug 01, 2011 8:44 am

Re: installation Omero.server

Postby chettia02 » Thu May 24, 2012 11:42 am

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.
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: installation Omero.server

Postby jmoore » Thu May 24, 2012 3:12 pm

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
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:13 am

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
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: installation Omero.server

Postby jmoore » Fri May 25, 2012 8:23 am

No, the command prompt in question is a regular Windows console. I.e. "cmd.exe"
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: installation Omero.server

Postby chettia02 » Fri May 25, 2012 8:28 am

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>
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest