3
.. i18n: single: Installation; Open ERP Server (Windows)
4
.. i18n: single: Open ERP Server; Installation (Windows)
3
.. i18n: single: Installation; Open ERP Server (Windows)
4
.. i18n: single: Open ERP Server; Installation (Windows)
8
8
single: Installation; Open ERP Server (Windows)
9
9
single: Open ERP Server; Installation (Windows)
12
12
.. i18n: .. _installation-windows-server-link:
14
Open ERP Server Installation
15
============================
17
14
.. i18n: Open ERP Server Installation
18
15
.. i18n: ============================
17
.. _installation-windows-server-link:
20
19
Open ERP Server Installation
21
20
============================
31
30
The server installation works on:
33
.. i18n: * Windows 2000
35
.. i18n: * Windows Vista
36
.. i18n: * Windows Server 2000
37
.. i18n: * Windows Server 2003
38
.. i18n: * Windows Server 2008
32
.. i18n: * Windows 2000
34
.. i18n: * Windows Vista
35
.. i18n: * Windows Server 2000
36
.. i18n: * Windows Server 2003
37
.. i18n: * Windows Server 2008
49
48
with disks formatted in NTFS (not a FAT or FAT32 partition).
53
Open ERP Server doesn't work on Windows 98 or ME;
54
for obvious reasons -- these can't be formatted using NTFS.
56
.. i18n: Open ERP Server doesn't work on Windows 98 or ME;
57
.. i18n: for obvious reasons -- these can't be formatted using NTFS.
52
.. i18n: Open ERP Server doesn't work on Windows 98 or ME;
53
.. i18n: for obvious reasons -- these can't be formatted using NTFS.
59
57
Open ERP Server doesn't work on Windows 98 or ME;
60
58
for obvious reasons -- these can't be formatted using NTFS.
130
128
to start the server automatically on system boot.
132
130
.. i18n: The configuration file is now automatically saved in the installation directory, in: ::
134
C:\Program Files\OpenERP Server\openerp-server.conf
136
.. i18n: C:\Program Files\OpenERP Server\openerp-server.conf
132
.. i18n: C:\Program Files\OpenERP Server\openerp-server.conf
134
The configuration file is now automatically saved in the installation directory, in: ::
138
136
C:\Program Files\OpenERP Server\openerp-server.conf
166
164
during its execution.
168
166
.. i18n: When in the Server directory, type this command but don't execute it yet: ::
170
openerp-server.exe -d <db_name> -r <db_user> -w <db_password> --db_host=localhost
171
--db_port=5432 --logfile="<logfile>" -s --stop-after-init
173
.. i18n: openerp-server.exe -d <db_name> -r <db_user> -w <db_password> --db_host=localhost
174
.. i18n: --db_port=5432 --logfile="<logfile>" -s --stop-after-init
168
.. i18n: openerp-server.exe -d <db_name> -r <db_user> -w <db_password> --db_host=localhost
169
.. i18n: --db_port=5432 --logfile="<logfile>" -s --stop-after-init
171
When in the Server directory, type this command but don't execute it yet: ::
176
173
openerp-server.exe -d <db_name> -r <db_user> -w <db_password> --db_host=localhost
177
174
--db_port=5432 --logfile="<logfile>" -s --stop-after-init
184
181
to the database PostgreSQL and indication of the choice of data to load. Here is the
185
182
explanation of used options:
187
.. i18n: * -d <db_name> : Name of the database created for Open ERP Server.
188
.. i18n: * -r <db_user> : Name of the [=PostgreSQL=] administrator.
189
.. i18n: * -w <db_password> : Administrator's password.
190
.. i18n: * --db_host=<postgresql_server_address> : Address of the server where [=PostgreSQL=]is, if
191
.. i18n: you have installed [=PostgreSQL=] on the same computer as Open ERP Server, you can enter
192
.. i18n: localhost, or the IP address or the name of the distant server.
193
.. i18n: * --db_port=<port_no> : Port number where listens [=PostgreSQL=]. Default is 5432.
194
.. i18n: * -s : This option allows you to save the options in configuration file of Open ERP Server.
195
.. i18n: * --stop-after-init: This option stops the ERP server after initialization.
196
.. i18n: * --logfile="<logfile>": specify a logfile where all the output of ERP Server will be
184
.. i18n: * -d <db_name> : Name of the database created for Open ERP Server.
185
.. i18n: * -r <db_user> : Name of the [=PostgreSQL=] administrator.
186
.. i18n: * -w <db_password> : Administrator's password.
187
.. i18n: * --db_host=<postgresql_server_address> : Address of the server where [=PostgreSQL=]is, if
188
.. i18n: you have installed [=PostgreSQL=] on the same computer as Open ERP Server, you can enter
189
.. i18n: localhost, or the IP address or the name of the distant server.
190
.. i18n: * --db_port=<port_no> : Port number where listens [=PostgreSQL=]. Default is 5432.
191
.. i18n: * -s : This option allows you to save the options in configuration file of Open ERP Server.
192
.. i18n: * --stop-after-init: This option stops the ERP server after initialization.
193
.. i18n: * --logfile="<logfile>": specify a logfile where all the output of ERP Server will be
199
196
* -d <db_name> : Name of the database created for Open ERP Server.
200
197
* -r <db_user> : Name of the [=PostgreSQL=] administrator.
215
212
see the next section! The command is on only one line, the other long commands as well.
217
214
.. i18n: Sample command: ::
219
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
220
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
221
--db_port=5432 -s --stop-after-init --init=all
223
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
224
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
225
.. i18n: --db_port=5432 -s --stop-after-init
216
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
217
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
218
.. i18n: --db_port=5432 -s --stop-after-init
227
222
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
228
223
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
261
256
You can initialize the database with Open ERP Server to:
263
.. i18n: #. You want to take a look on the system with demo data loaded
264
.. i18n: #. You are installing a new clean installation (without demo data)
265
.. i18n: #. You are upgrading an existing version.
258
.. i18n: #. You want to take a look on the system with demo data loaded
259
.. i18n: #. You are installing a new clean installation (without demo data)
260
.. i18n: #. You are upgrading an existing version.
267
262
#. You want to take a look on the system with demo data loaded
268
263
#. You are installing a new clean installation (without demo data)
277
272
.. i18n: To initialize Open ERP Server with the demo data, you need to add this option to the above
278
273
.. i18n: command: ::
277
To initialize Open ERP Server with the demo data, you need to add this option to the above
286
282
.. i18n: Sample command: ::
288
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
289
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
290
--db_port=5432 -s --stop-after-init --init=all
292
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
293
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
294
.. i18n: --db_port=5432 -s --stop-after-init --init=all
284
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
285
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
286
.. i18n: --db_port=5432 -s --stop-after-init --init=all
296
290
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
297
291
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
310
304
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
312
306
.. i18n: Execute the command with an option excluding the demo data: ::
316
.. i18n: --without-demo=all
308
.. i18n: --without-demo=all
310
Execute the command with an option excluding the demo data: ::
318
312
--without-demo=all
322
316
This will load all modules, but will not load the demo data.
324
318
.. i18n: Sample command usage: ::
326
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
327
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
328
--db_port=5432 -s --stop-after-init --update=all
330
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
331
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
332
.. i18n: --db_port=5432 -s --stop-after-init --without-demo=all
320
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
321
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
322
.. i18n: --db_port=5432 -s --stop-after-init --without-demo=all
324
Sample command usage: ::
334
326
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
335
327
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
354
346
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
356
348
.. i18n: Execute the command with an option that updates the data structures: ::
360
.. i18n: --update=all
350
.. i18n: --update=all
352
Execute the command with an option that updates the data structures: ::
364
356
.. i18n: Sample command usage: ::
366
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
367
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
368
--db_port=5432 -s --stop-after-init --update=all
370
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
371
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
372
.. i18n: --db_port=5432 -s --stop-after-init --update=all
358
.. i18n: openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
359
.. i18n: --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
360
.. i18n: --db_port=5432 -s --stop-after-init --update=all
362
Sample command usage: ::
374
364
openerp-server.exe -d terp -r postgresadmin -w postgresadminpasswd
375
365
--db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log"
400
390
+++++++++++++++++++++++
402
392
.. i18n: You can now start the Open ERP Server service from the command prompt with a simple command: ::
404
net start openerp-service
406
.. i18n: net start openerp-service
394
.. i18n: net start openerp-service
396
You can now start the Open ERP Server service from the command prompt with a simple command: ::
408
398
net start openerp-service
414
404
.. i18n: You can also stop it in a similar way, in case the service is running but you need to
415
405
.. i18n: reconfigure it: ::
417
net stop openerp-service
419
.. i18n: net stop openerp-service
407
.. i18n: net stop openerp-service
409
You can also stop it in a similar way, in case the service is running but you need to
421
412
net stop openerp-service