ArticleDirectory
- Install JDK
- Install PostgreSQL 9.1
- Configure adempiere
- Import adempiere data
- Run adempiere Service
- Log on to adempiere ERP
- Stop adempiere Service
Adempiere: 3.70 lts
Install JDK
1. Run JDK InstallationProgram. Note that JDK is not a JRE.JDK version 6 and the adempiere 3.70 configuration program cannot recognize JDK 7 yet..
2. Set environment variables:
Java_home = c: \ Program Files \ Java \ jdk1.6.0 _ 21Classpath=.; % Java_home % \ Lib \ DT. jar; % java_home %\ Lib \ tools. jarpath= ......; % Java_home % \ bin
Install PostgreSQL 9.1
1. Run the PostgreSQL installation program. Note the following two points during installation: one is the administrator password and the other is the service port.
2. Configure environment variables (some commands in this path are required when importing adempiere data ):
Path =...; C: \ Program Files \ PostgreSQL \9.1\ Bin
3. Configure pg_hda.conf. Open c: \ Program Files \ PostgreSQL \ 9.1 \ data \ pg_hda.conf and find the original local Configuration:
# IPv4 local connections: Host All all127.0.0.1/32MD5
To:
# IPv4 local connections: Host All all127.0.0.1/32Trusthost all192.168.197.169/32Trusthost all amonest-XP-CHS Trust
Note: It is assumed that PostgreSQL and adempiere are installed on the same computer.
After modification, restart the postgresql service.
Configure adempiere
1. Run run_setup.bat to open the adempiere server configuration.
Pay attention to the configuration of the database server:
- Select PostgreSQL for Database Type
- The database name defaults to Xe and is changed to adempiere for ease of management. This database can be created in advance. If it does not exist, the adempiere configuration program will automatically create this database.
- The database port must be the same as the service port when PostgreSQL is installed.
- System user password, which is the administrator password set during PostgreSQL installation. Adempiere needs to create a database and database account as an administrator.
- Database account and password: adempiere uses this account and password to connect to the database. This account can be created in advance. If it does not exist, the adempiere configuration program will automatically create this account.
2. Click "test. If the configuration is incorrect, a corresponding error message is displayed.
3. Click "save" to receive the User License Agreement.
4. Wait for the adempiere installation. After the installation is complete, the DOS window will be closed automatically.
Import adempiere data
Run c: \ adempiere \ utils \ run_importadempiere.bat:
Run adempiere Service
Run c: \ adempiere \ utils \ run_server2.bat.
Log on to adempiere ERP
1. Double-click the "adempiere" icon on the desktop to accept the User License Agreement. The connection Configuration window is displayed:
2. The default Host Name of the application server is mydomainserver. Click the "test application server" button. The relevant database information is automatically displayed.
3. Click "Test Database. If the database connection is successful, click OK to close the connection configuration.
4. log on to the system with gardenadmin, the default account, and click OK.
5. Open the default entity gardenworld and click "OK.
6. adempiere ERP is successfully logged on.
Stop adempiere Service
Run c: \ adempiere \ utils \ run_server2stop.bat.
Reference:
Install adempiere On Debian and ipvs
Adempiere Chinese Homepage