MAC에 adempiere 설치

2070 단어
INSTALL ADEMPIERE ON MAC OS X 10.6
This Howto more or less just lists the points you need to do. ADempiere is installed the same way on several different unix systems so on MAC OS X. For more information please use the search functionality on wikipage.
ADempiere needs to be setup with correct DNS services be sure you know what you are doing.
 
First we need to install PostgreSQL. I am using PostgreSQL 8.4.x.
You can download it here.
Installation doen’t need special interaction just run the installer and follow the instructions.
Maybe you need to edit the pg_hba.conf file to allow database connection from your network.
 
Now download ADempire from here and extract it where you want.
You need to add some environment variables to ~/.bash_profile of the user you want run ADempiere.
export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
export POSTGRES_HOME=/Library/PostgreSQL/8.4
export PATH=$PATH:$JAVA_HOME/bin/:$POSTGRES_HOME/bin/
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
export ADEMPIERE_HOME=<where_ADempiere_is_stored>

Next step we need to link tool.jar because this doesn’t work out of the box. I use Java 1.6 to run ADempiere.
sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/tools.jar

Make the RUN_setup.sh script executeable by
chmod +x $ADEMPIERE_HOME/RUN_setup.sh

and run it.
You should see the configuration window for all needed setup values.
After setup is finisehd (this takes some time) you need to import the default database.
$ADEMPIERE_HOME/utils/RUN_ImportAdempiere.sh

Now you can start the server via the startscript
$ADEMPIERE_HOME/utils/RUN_Server2.sh

You can run the JAVA client by
$ADEMPIERE_HOME/RUN_Adempiere.sh

좋은 웹페이지 즐겨찾기