Difference between revisions of "How to Create AVA"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(→Test it) |
(→Special thanks to the boys from IRC) |
||
Line 34: | Line 34: | ||
=Special thanks to the boys from IRC= | =Special thanks to the boys from IRC= | ||
Of course [[User:Red1|Red1]] can be dumb and always need fast help. Which i got easily from the IRC room. So here is big thanks to: | Of course [[User:Red1|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 | + | *Fer_Luck (Brazil) |
− | *Timo Kontro | + | *Timo Kontro (Finland) |
− | *Tim xp_prg | + | *Tim xp_prg (California) |
− | *Dellph | + | *Dellph (Cebu) |
+ | *Usman88 (Medan) |
Revision as of 00:28, 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)
- /etc/init.d/jboss start (to resume app server for the web UI)
- launch web browser and the defult is http://adempiere/admin/
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 (Brazil)
- Timo Kontro (Finland)
- Tim xp_prg (California)
- Dellph (Cebu)
- Usman88 (Medan)