在MAC上安装adempiere

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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值