View
212
Download
0
Category
Preview:
Citation preview
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 1/18
© 2010 ADempiere.ASIA. All rights reserved.
Module 2
Getting and Installing ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 3/18
Installation Options
http://www.adempiere.com/index.php/ADempiere_Installing
1-3Opensource ERP - ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 6/18
Workshop:
Install ADempiere
(Windows)
1-6Opensource ERP - ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 7/18
STEP 1: Install 3 Software Components
Steps:
1. Install Java into C:\Java
2. Install Postgresql into C:\Postgresql
Account name: postgres
Password: postgres
Port: 5432 (the default port)
3. Install Application Server, extract the
Adempiere zip files to C:\Adempiere
4. Apply patch to Application Server, copy
the *_patches_*.jar file to
C:\Adempiere\lib\patches.jar, overwriting
the existing file
1-7Opensource ERP - ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 8/18
STEP 2: Setup System Variable
1. ADEMPIERE_HOME: C:\Adempiere
2. JAVA_HOME: C:\Java\jdk1.6.0_xx (your version)
3. Path: add the following to the existing string
;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin\client; C:\PostgreSQL\8.4\bin
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 9/18
STEP 3: Initial Adempiere Setup
• Build Adempiere and setup connection configuration (see next
slide for more detail)
• Execute Run_Setup.bat (under C:\Adempiere) to build
Adempiere for the first time, and also setup the configuration of
the system.
Click Test, if passed Click Save to build
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 10/18
STEP 3: Initial Adempiere Setup (detail)
Steps
1. Navigate to C:\adempiere and execute RUN_setup.bat. If this is the first timeyou are running this, a license and security keys dialogs will appear.
2. A window dialog will appear, set environment variables.
You will need to change:
Database Server from <your-computer-name> to localhost
Database Type from oracleXE to postgresql
Database Name from xe to adempiere
System Password to postgres
Database Password to adempiere
You may also need to change the following: Application Server Web Port to 8080 (if 80 is being used by something else)
and SSL to 8443 (instead of 443)
3. Press the Test button to verify and Press the Save button to Build, wait until it
finish
1-10Opensource ERP - ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 11/18
STEP 4: Create ADempiere database
Steps
1. Create user adempiere Open pgAdmin III, login with Superuser (potgres)
Create new login adempiere with passwordadempiere and give Superuser privilege
Disconnect and reconnect again using this new login
2. Create database “adempiere”
Right click on node, Databases and click Newdatabase..
Set Name: adempiere, Owner: adempiere
3. Restore initial database Adempiere_pg.dmp
Open Dos Prompt and type command: psql -U
adempiere -d adempiere -fC:\Adempiere\data\Adempiere_pg.dmp
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 12/18
STEP 5: Apply Migration Script
Migration script will comes with patch. If no patch is installed, skip this step
Steps1. Open Postgresql’s SQL Editor
2. Unzip *_migra_*.zip, and for all script in folder postgresql
3. Run all migration script (.sql) in SQL Editor
1-12Opensource ERP - ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 14/18
STEP 7: Client Installation
1. From any client machine, go to URL http://<server>/admin
2. Click on button Web Start to download and install client application
3. You may need to associate the jnlp file which the WebStart uses with the
appropriate java application. If so you will see a window like the one below.
Click on "Do this automatically for files like this from now on.“
4. Then you will see the Security window. Click on "Always trust content from
this publisher.5. The very first time the application starts, you will see a license dialog. "
1-14Opensource ERP - ADempiere
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 15/18
Behind the scene of Client Installation
1) adempiereDirect.jnlpdownloded from server
2) Executed by javaws.exe tocreate client application
3) Necessary components and
Adempiere.propertiesdownloaded and installedon client machine
4) Application executed onclient, note that the
connection is passed here5) Shortcut created, point to
the server to always snycwith latest version onserver
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 17/18
8-17
Adempiere.properties
• Adempiere.properties is where the connection information is
being stored With Client App, it will look at C:\Users\<name>\Adempiere.properties,
which was downloaded from server during client installation
With Web App, Web Server will look at server
C:\Adempiere\Adempiere.properties
Application Server
ClientApplication Database Server
Web Browser
8/13/2019 02+ADempiere+Installation
http://slidepdf.com/reader/full/02adempiereinstallation 18/18
1-18Opensource ERP - ADempiere
Test Your Knowledge
1. What are the software component of Adempiere?
2. What is WebStart and its function?3. What is needed to migrate from older version of
Adempeire to the newer Version?
4. Where the DB and Server Connection information is
stored?
Recommended