Difference between revisions of "Talk:Ubuntu Install Howto"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(added inclusion of variables to path) |
(Looks good.) |
||
Line 18: | Line 18: | ||
and give it executable status | and give it executable status | ||
* $chmod +x adempiere | * $chmod +x adempiere | ||
+ | |||
+ | == Looks good. == | ||
+ | |||
+ | I agree with the whole script idea. In the howto, I think that we should specify where they should install the jdk and such, that way its easier for newbies to follow, and the script is that much easier to write. |
Revision as of 07:16, 20 November 2006
Instead of instructions on how to export the java_home and compiere_home, maybe we had better install a start-up script, like:
- #! /bin/sh -e
- # /etc/init.d startup script for ADempiere
- # path to JAVA_HOME, usually /usr/lib/jvm/iava-1.5.0-sun
- JAVA_HOME = /path/to/java_home
- # path to ADempiere_home, usually ....
- ADEMPIERE_HOME = /path/to/adempiere
- # add to path
- PATH=$JAVA_HOME/bin:ADEMPIERE_HOME/utils:$PATH
- EXPORT JAVA_HOME, ADEMPIERE_HOME
- # run ADempiere
- /ADEMPIERE_HOME/utils/RUN_Server2.sh
And save it as adempiere.sh in /etc/init.d . Then, we update the start-up with the script
- % update-rc.d adempiere defaults
and give it executable status
- $chmod +x adempiere
Looks good.
I agree with the whole script idea. In the howto, I think that we should specify where they should install the jdk and such, that way its easier for newbies to follow, and the script is that much easier to write.