Difference between revisions of "How to Create AVA"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(→Setting up: more notes) |
m (→Setting up: hba_conf edit note) |
||
Line 21: | Line 21: | ||
*./RUN_setup.sh (select PostgreSQL, use adempiere as DB name, and need to switch to root for this setup) | *./RUN_setup.sh (select PostgreSQL, use adempiere as DB name, and need to switch to root for this setup) | ||
*dropdb adempiere -U adempiere (this is proper way to drop the DB before the import below) | *dropdb adempiere -U adempiere (this is proper way to drop the DB before the import below) | ||
− | */tools/ ./RUN_ImportAdempiere.sh | + | */tools/ ./RUN_ImportAdempiere.sh |
+ | *You may have to configure back the IP trust for pg_hba.conf and restart the PG with /etc/init.d/postgresql-8.2 restart | ||
=Test it= | =Test it= |
Revision as of 00:21, 2 January 2008
Contents
Updating from the previous AVA
- The basic idea behind making AVA is simple, in fact too simple.
- It is just a matter of adding onto another virtual machine image.
- In this case we already have the previous AVA. So i am using the last one which was AVA315 done by Fer_Luck and Timo Kontro.
First Steps
- Get into a fresh latest AVA via vmplayer (refer to ADempiere Virtual Appliance on how to get that.
- Launch the web browser within AVA to download the latest binary release from SourceForge
- You can alternatively compile the latest source from trunk and upload the binary to some ftp site and download back via the web browser.
Stop the JBoss
- sudo /etc/init.d/jboss stop
Setting up
- Now it is just a matter of setting up as normally expected in a real environment
- But first copy the old properties files (Adempiere.properties in both user directory and Adempiere's, AdempiereEnv.properties) so that you need not redo settings during RUN_setup.sh
- rm -fr /opt/Adempiere
- untar the gz file into /opt directory
- chmod 777 RUN_setup.sh
- copy back the properties files
- ./RUN_setup.sh (select PostgreSQL, use adempiere as DB name, and need to switch to root for this setup)
- dropdb adempiere -U adempiere (this is proper way to drop the DB before the import below)
- /tools/ ./RUN_ImportAdempiere.sh
- You may have to configure back the IP trust for pg_hba.conf and restart the PG with /etc/init.d/postgresql-8.2 restart
Test it
- ./RUN_Adempiere.sh (su adempiere first to login as adempiere user and not root which has no permissions)
- (You may hit errors from getting to the PG database, and have to do some further edits or settings. (to be cont'd)
Repackaging the AVA
- Making it smaller and saving it for upload (coming soon)
Special thanks to the boys from IRC
Of course Red1 can be dumb and always need fast help. Which i got easily from the IRC room. So here is big thanks to:
- Fer_Luck
- Timo Kontro
- Tim xp_prg
- Dellph