Openbravo开发-安装篇(windows)

环境准备。安装以下软件
1)PostgreSQL database
8.3.5 is the minimum required version
2)Sun JDK
Download and install JDK 1.6.
Add the JAVA_HOME environment variable:
Right-click on My Computer.
Select Properties. The System Properties window appears.
Select the Advanced tab then click Environment Variables.
Click New. The New System Variable box appears.
In the Variable name field, type JAVA_HOME.
In the Variable value field type the path of the JDK installation directory. This is usually C:\Java\jdk1.6.0_<version>
Select the PATH environment variable.
In the Variable value field, type the path of the JDK installation directory's bin folder. This is usually C:\Java\jdk1.6.0_<version>\bin
3)Apache Tomcat

Download and install Apache Tomcat 6.0.
Add CATALINA_HOME, CATALINA_BASE and CATALINA_OPTS environment variables:
Right-click on My Computer.
Select Properties. The system properties window appears.
Select the Advanced tab.
Click Environment Variables.
Click New. The New User Variable box appears.
In the Variable name field, type CATALINA_HOME.
In the Variable value field, type the path of the Apache Tomcat installation directory. This is usually C:\Apache Software Foundation\Tomcat 6.0.
Click OK.
Click New. The New User Variable box appears.
In the Variable name field, type CATALINA_BASE.
In the Variable value field type the path of the Apache Tomcat installation directory.
Click OK
Click New. The New User Variable box appears.
In the Variable name field, type CATALINA_OPTS.
In the Variable value type -Xms384M -Xmx512M -XX:MaxPermSize=256M.
If you want to be able to install modules and update the core from the repository, we recommend setting the CATALINA_OPTS to -Xms384M -Xmx1024M -XX:MaxPermSize=256M
Select the PATH environment variable.
In the Variable value field, type the path of the Apache Tomcat installation's bin folder. This is usually C:\Apache Software Foundation\Tomcat 6.0\bin.
More information about managing environment variables in Microsoft's Help & Support site
Copy the C:\Java\jdk1.6.0_<version>\bin\lib\tools.jar file from your Sun JDK installation to C:\Apache Software Foundation\Tomcat 6.0\lib\
In order to avoid Tomcat from auto-reloading itself, comment the WatchedResource line in C:\Apache Software Foundation\Tomcat 6.0\conf\context.xml:
<!-- <WatchedResource>WEB-INF/web.xml</WatchedResource> -->
Configure a username and password for the Tomcat Manager, by replacing the C:\Apache Software Foundation\Tomcat 6.0\conf\tomcat-users.xml file with these contents, replacing password="admin" with your chosen password:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin,manager"/>
</tomcat-users>
You can check that Tomcat is running by opening http://localhost:8080 in a web browser.
4)Apache Ant
Download and extract Apache Ant (old releases) onto your system (for instance, C:\Apache-Ant).
Add ANT_HOME environment variable:
Right-click on My Computer.
Select Properties. The System Properties window appears.
Select the Advanced tab.
Click on the Environment Variables button.
Click the New button.
In the Variable name field, type ANT_HOME.
In the Variable value field, type the path of the Ant directory. This is usually C:\Apache-Ant.
Click OK.
Select the PATH environment variable.
In the Variable value field, type the path of the Ant directory's bin folder. This is usually C:\Apache-Ant\bin.
Equally add the ANT_OPTS environment variable:
Click the New button.
In the Variable name field, type ANT_OPTS.
In the Variable value field, type -Xmx1024M -XX:MaxPermSize=128M.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值