W Y O N A - MAY - E R P
0.) Contents
1.) Preparation
2.) Building and Running
3.) Miscellaneous
1.) Preparation
UNIX-like Operating Systems:
- Add the Maven bin directory to your path, e.g. export PATH=/home/wyona/src/erp/trunk/tools/maven-2.0.x_lcrXXX/bin:$PATH
- Make sure that JAVA_HOME is set
Windows:
- Add the Maven bin directory to the PATH of the user variables, e.g. D:\src\erp\trunk\tools\maven-2.0.x_lcr330863\bin;%PATH%
- Add the Maven directory to the M2_HOME user variable, e.g. D:\src\erp\trunk\tools\maven-2.0.x_lcr330863
Also see at the bottom of http://maven.apache.org/download.html
2.) Building and Running
- Change directory to "may"
2.1) Clean the build:
mvn clean (Offline mode: mvn -o clean)
2.2) Compile Java classes:
mvn compile (Offline mode: mvn -o compile)
3.1) Run the Command Line Interface:
ant
3.2) Run tests:
mvn test
4.1) Generate documentation:
mvn site (Offline mode: mvn -o site)
4.2) View documentation:
may/target/site/index.html
- Build the cluster-loadbalancer environment (within root dir):
sh build.sh
- Run the Web Servers (cluster and loadbalancer):
sh start.sh
3.) Miscellaneous
Installing Apache 2.1.9-beta on Ubuntu Linux
- apt-get install gcc
- apt-get install g++
- apt-get install libc6-dev
- apt-get install make
- ./configure --prefix=/home/USERNAME/build/httpd-2.1.9-beta --enable-proxy --enable-proxy-http --enable-proxy-balancer --enable-status --enable-proxy-ajp
- make
- make install
- ./bin/apachectl start
- http://127.0.0.1:8080/balancer-manager
- http://httpd.apache.org/docs/2.1/new_features_2_2.html
http://httpd.apache.org/docs/2.1/mod/mod_proxy_balancer.html
http://httpd.apache.org/docs/2.1/mod/mod_proxy.html#access
http://tomcat.apache.org/tomcat-5.0-doc/balancer-howto.html
http://tomcat.apache.org/faq/connectors.html#vs
http://tomcat.apache.org/connectors-doc/howto/apache.html
Building and installing mod_jk
- cd jakarta-tomcat-connectors-1.2.15-src/jk/native
- ./configure --with-apxs=/home/USERNAME/build/httpd-2.1.9-beta/bin/apxs
- make
- make install
- vi /home/USERNAME/build/httpd-2.1.9-beta/conf/httpd.conf (LoadModule jk_module modules/mod_jk.so)
Misc
mod_backhand: http://www.backhand.org/mod_backhand/
http://sourceforge.net/projects/enterprise
http://www.compiere.org/
http://www.erp5.org/