mkdir ofbiz
ln -s /PATH-TO-TOMCAT tomcat
cd ofbiz
export CVSROOT=:pserver:anonymous@cvs.ofbiz.sourceforge.net:/cvsroot/ofbiz
cvs login
cvs co catalog
cvs co commonapp
cvs co core
cvs co ecommerce
cvs co lib
cvs co ordermgr
cvs co partymgr
cvs co setup
cvs co website
cvs co webtools
cvs co workeffort
cp setup/ofbiz/build.xml .
cp setup/ofboz/updateall.sh .
export CATALINA_HOME=PATH-TO-TOMCAT
export OFBIZ_HOME=`pwd`
ant
ant install
创建 postgreSQL 用户 ofbiz, 口令 ofbiz
createdb -E EUC_CN ofbiz
cd ../tomcat/bin
./ofbiz.sh start
galeon http://localhost:8080/webtools