登录
请求账户
导航
首页
最近更改
随机页面
MediaWiki帮助
页面
讨论
查看源代码
历史
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
查看“在Debian, Ubuntu安装iDempiere”的源代码
来自iDempiere zh
←
在Debian, Ubuntu安装iDempiere
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于这些用户组的用户使用:
用户
、emailconfirmed
您必须确认您的电子邮件地址才能编辑页面。请通过
系统设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
=在Debian/Ubuntu系统中安装iDempiere= =准备工作= ==系统环境要求== * 操作系统: Debian, Ubuntu 或 Linux Mint。本例使用 Debian Wheezy 7.5.0 amd64 。 * 数据库: PostgreSQL 9.x 或 Oracle。尽可能不要用 PostgreSQL 8.x。 本例使用 PostgreSQL 9.1 * JVM: SUN JRE 1.6 或 Open JRE 1.6。本例使用 sun-jre-1.6.0_45 * 安装包:iDempiere 1.0c 或 iDempiere 2.0 ==使用哪个用户?== * 以下操作使用 ''root'' 用户或 ''sudo'' 命令 : ** 安装 PostgreSQL ** 安装 JVM * 以下操作用普通用户权限即可: ** 安装 iDempiere 服务器。注意,你并不需要用管理员权限来安装 iDempiere Server。 ** 安装 iDempiere 客户端。 ==资源准备== 1. 安装操作系统 Debian 7.5.0: [http://www.debian.org Debian.org] 2. 安装 PostgreSQL 9.1: aptitude install postgresql-9.1 接着进行以下几项,为安装服务器作准备: 1). 新建用户 "adempiere" ; 2). 新建空数据库 "idempiere",并授权给用户 "adempiere" ; 3.下载 iDempiere 服务器 : [https://sourceforge.net/project/idempiere/files SourceForge.net: iDempiere] 4.下载 ADempiere 客户端: [https://sourceforge.net/projects/idempiere/files SourceForge.net: iDempiere] :说明:其实是 iDempiere 客户端,但是名字叫 ADempiere 客户端,有点绕 ==安装Sun JRE 1.6 == 安装 Sun JRE 1.6 / Oracle Java SE Runtime Environment 6u45. 由于授权的原因,从 Debian 7.0 开始,Debian 更新源已经停止提供安装包,你需要从 Oracle 官方网站下载进行手动安装。 Ubuntu, Linux Mint, Redhat, CentOS 等 Linux 发行版均受 Oracle 授权变更的影响。 * 前往 Oracle 官方归档网站下载 sun-jre-1.6 . [http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html Oracle.com:Java SE 6] :''注意:你需要先注册,后下载'' * For iDempiere Server running, we need ''Java SE Runtime Environment 6u45'' , just download ''jre-6u45-linux-x64.bin'' * Go to the path: cd /usr/bin/jvm * Make the file executable: chmod +x jre-6u45-linux-x64.bin * Extract the package to current path: ./jre-6u45-linux-x64.bin * Check jvm update-alternatives --display java * Update alternatives: update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_45/bin/java 1067 =安装= ==安装服务器== * Unzip Server cd /home/iDempiere unzip idempiereServer.gtk.linux.x86_64.zip * Navigate to the idempiere-server folder, for example cd /home/iDempiere/idempiere.gtk.linux.x86_64/idempiere-server * Setup and install the server sh setup.sh * Please setup, and then test [[File:Server-setup-1 0c.png]] ==导入数据库== ===PostgreSQL 9.1 or higher=== This is the default way to import the database for oracle (10g or 11) and postgresql 9.1 or higher: After setting up the server (is a prerequisite) you can run: cd utils sh RUN_ImportIdempiere.sh ===PostgreSQL 8.4 or 9.0=== If you're going to install the official installers in postgresql 8.4 or 9.0 you must run the following commands: After setting up the server (is a prerequisite) you can run: cd utils sh RUN_ImportIdempiere.sh 8.4 ''Please note daily installers do not support these postgresql old versions'' ==安装 Swing 客户端== * Unzip the client installer you downloaded or created, for example: cd /home/iDempiere unzip idempiereClient.gtk.linux.x86_64.zip * Navigate to the adempiere-client folder, for example cd /home/iDempiere/adempiere.gtk.linux.x86_64/adempiere-client * Run and setup adempiere-client sh adempiere-client.sh * Please setup, and then test [[File:Swing-client-setup-1_0c.png]] =运行 iDempiere= ==运行 iDempiere 服务器== cd /home/iDempiere/adempiere.gtk.linux.x86_64/idempiere-server sh idempiere-server.sh ==运行 iDempiere Swing 客户端== cd /home/iDempiere/adempiere.gtk.linux.x86_64/adempiere-client sh adempiere-client.sh Now you can login from Swing client: User: System / Password: System User: GardenAdmin / Password: Garden Admin ==从 iDempiere 网页版登录== Visit http://127.0.0.1:8080/webui/ and login. =停止 iDempiere 服务器= 1. Get PID of iDempiere Server process: ps aux| grep java | grep org.adempiere.server.application 2. Stop the process, replace the PID as you get: kill -15 ''PID'' =Question and Answer= '''1. Question: Shall I install following for a server ? '' Mercurial Client 1.7.5 Eclipse IDE for Java EE Developers 3.7.2 Indigo Mercurial Eclipse Plugin 1.9.1 Buckminster 3.7 '''Answer: No need. These are for source code installation.''' '''2. How to stop iDempiere Server? Somebady please give some advices.''' =See also= * [http://www.globalqss.com/wiki/index.php/IDempiere/Installing_from_Installers GlobalQSS.com:Installing from Installers] [[en:Installation on Debian]] [[zh:在Debian,_Ubuntu安装iDempiere]]
返回至
在Debian, Ubuntu安装iDempiere
。
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。
确定
工具
链入页面
相关更改
特殊页面
页面信息