Difference between revisions of "Installation on Debian"
Peanutblake (talk | contribs) |
Peanutblake (talk | contribs) |
||
| Line 2: | Line 2: | ||
Here is an example of installation guide for Debian. For Ubuntu / Linux Mint, it is familiar. | Here is an example of installation guide for Debian. For Ubuntu / Linux Mint, it is familiar. | ||
=Prerequisites= | =Prerequisites= | ||
| + | ==Environment== | ||
Please prepare following environments before installation: | Please prepare following environments before installation: | ||
* OS: Debian Wheezy 7.5.0 amd64 | * OS: Debian Wheezy 7.5.0 amd64 | ||
| Line 8: | Line 9: | ||
* iDempiere 1.0c | * iDempiere 1.0c | ||
| − | ''' | + | ==Which user?== |
| − | + | You don't have to install iDempiere server as the root user. | |
| − | + | * Use ''root'' for: | |
| − | + | ** Install PostgreSQL | |
| − | + | ** Install JRE | |
| − | + | * Use ''normal user'' for: | |
| + | ** Install iDempiere server | ||
| + | ** Install iDempiere client | ||
==Resources== | ==Resources== | ||
* Install Debian 7.5.0: [http://www.debian.org Debian.org] | * Install Debian 7.5.0: [http://www.debian.org Debian.org] | ||
* Intall PostgreSQL 9.1: | * Intall PostgreSQL 9.1: | ||
| − | + | aptitude install postgresql-9.1 | |
| − | ''Attention: Please create | + | ''Attention: Please create the user "adempiere" for installation.'' |
* Download iDempiere server : [https://sourceforge.net/project/idempiere/v1.0c/server/ SourceForge.net: iDempiere 1.0c Server] | * Download iDempiere server : [https://sourceforge.net/project/idempiere/v1.0c/server/ SourceForge.net: iDempiere 1.0c Server] | ||
| Line 30: | Line 33: | ||
* Go to Oracle official archive site to download sun-jre-1.6 . [http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html Oracle.com:Java SE 6] | * Go to Oracle official archive site to download sun-jre-1.6 . [http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html Oracle.com:Java SE 6] | ||
''Attention: you are required to regester to download.'' | ''Attention: you are required to regester to download.'' | ||
| − | * For iDempiere Server running, we need Java SE Runtime Environment 6u45 , just download jre-6u45-linux-x64.bin | + | * For iDempiere Server running, we need ''Java SE Runtime Environment 6u45'' , just download ''jre-6u45-linux-x64.bin'' |
* Go to the path: | * Go to the path: | ||
cd /usr/bin/jvm | cd /usr/bin/jvm | ||
| Line 90: | Line 93: | ||
sh idempiere-server.sh | sh idempiere-server.sh | ||
| − | + | ==Run iDempiere from Swing Client== | |
| − | |||
| − | == | ||
cd /home/iDempiere/adempiere.gtk.linux.x86_64/adempiere-client | cd /home/iDempiere/adempiere.gtk.linux.x86_64/adempiere-client | ||
sh adempiere-client.sh | sh adempiere-client.sh | ||
| + | |||
| + | =Question and Answer= | ||
| + | |||
| + | '''1. Still need following for a server ? Somebody please give advise:''' | ||
| + | Mercurial Client 1.7.5 | ||
| + | Eclipse IDE for Java EE Developers 3.7.2 Indigo | ||
| + | Mercurial Eclipse Plugin 1.9.1 | ||
| + | Buckminster 3.7 | ||
| + | |||
| + | '''2. How to stop iDempiere Server? Somebady please give advise.''' | ||
| + | |||
=See also= | =See also= | ||
* [http://www.globalqss.com/wiki/index.php/IDempiere/Installing_from_Installers GlobalQSS.com:Installing from Installers] | * [http://www.globalqss.com/wiki/index.php/IDempiere/Installing_from_Installers GlobalQSS.com:Installing from Installers] | ||
Revision as of 08:58, 2 June 2014
iDempiere Installation on Debian
Here is an example of installation guide for Debian. For Ubuntu / Linux Mint, it is familiar.
Prerequisites
Environment
Please prepare following environments before installation:
- OS: Debian Wheezy 7.5.0 amd64
- Database: PostgreSQL 9.1
- JVM: sun-jre-1.6.0_45
- iDempiere 1.0c
Which user?
You don't have to install iDempiere server as the root user.
- Use root for:
- Install PostgreSQL
- Install JRE
- Use normal user for:
- Install iDempiere server
- Install iDempiere client
Resources
- Install Debian 7.5.0: Debian.org
- Intall PostgreSQL 9.1:
aptitude install postgresql-9.1
Attention: Please create the user "adempiere" for installation.
- Download iDempiere server : SourceForge.net: iDempiere 1.0c Server
- Download iDempiere client: SourceForge.net:iDempiere 1.0c swing-client
Sun JRE 1.6
Install Sun JRE 1.6 / Oracle Java SE Runtime Environment 6u45.
Debian repository stopped providing Sun JRE from Debian 7.0, you should install it mannualy.
- Go to Oracle official archive site to download sun-jre-1.6 . Oracle.com:Java SE 6
Attention: you are required to regester to download.
- 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
Install
Install Server
- 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
Import the Database
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
Install Swing Client
- 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
Run iDempiere
Run iDempiere Server
cd /home/iDempiere/adempiere.gtk.linux.x86_64/idempiere-server sh idempiere-server.sh
Run iDempiere from Swing Client
cd /home/iDempiere/adempiere.gtk.linux.x86_64/adempiere-client sh adempiere-client.sh
Question and Answer
1. Still need following for a server ? Somebody please give advise:
Mercurial Client 1.7.5 Eclipse IDE for Java EE Developers 3.7.2 Indigo Mercurial Eclipse Plugin 1.9.1 Buckminster 3.7
2. How to stop iDempiere Server? Somebady please give advise.
