Install Adempiere 360LTS On CentOS 5.5
Dengan dukungan komunitas Adempiere berkembang cukup cepat, belum lama kita install Adempiere 354a tapi sudah ada rilis terbaru yaitu Adempiere 360LTS
Banyak pebaikan yang dilakukan termasuk dari cara install dan kita akan coba install Adempiere 360LTS dengan CentOS 5.5
Download jdk1.6.0_21 disini
Download Adempiere disini
Lalu letakan dan extrak di /opt
Install java
# chmod +x jdk-6u21-linux-i586.bin
# ./jdk-6u21-linux-i586.bin
# ln -sf /opt/jdk1.6.0_21/bin/java /usr/bin/
# java -version
java version “1.6.0_21″
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)
Setting Environment
# vi /etc/profile
fi
done
export JAVA_HOME=/opt/jdk1.6.0_21/
export ADEMPIERE_HOME=/opt/Adempiere
unset i
unset pathmunge
# vi /etc/environment
PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/jdk1.6.0_21/bin”
LANG=”en_US.UTF-8″
JAVA_HOME=”/opt/jdk1.6.0_21/”
ADEMPIERE_HOME=”/opt/Adempiere”
Setup database postgresql
lakukan inisialisasi database
# service postgresql initdb
Initializing database: [ OK ]
Jalankan postgresql
# /etc/init.d/postgresql start
Starting postgresql service: [ OK ]
Buat database Adempiere
# su – postgres
-bash-3.1$ createuser adempiere
Shall the new role be a superuser? (y/n) y
CREATE ROLE
-bash-3.2$ createdb -E UTF8 -O adempiere adempiere
CREATE DATABASE adempiere;
CREATE DATABASE
COMMENT ON DATABASE adempiere IS ‘UTF8′;
COMMENT
Lakukan pengecekan
-bash-3.2$ psql
psql (8.4.2)
Type “help” for help.
postgres=# \l
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges
—————-+—————+—————+————–+————-+——————–+——————-
adempiere | adempiere | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres : postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres : postgres=CTc/postgres
(4 rows)
postgres=# \du
List of roles
Role name | Attributes | Member of
———–+————-+———–
adempiere | Superuser | {}
: Create role
: Create DB
postgres | Superuser | {}
: Create role
: Create DB
postgres=# \q
Lakukan dump database
-bash-3.2$ psql -d adempiere < /opt/Adempiere/data/Adempiere_pg.dmp
-bash-3.2$ exit
logout
Setup Adempiere
# cd /opt/Adempiere
# chmod +x *.sh
# ./RUN_setup.sh
Jalankan server adempiere
# cd /opt/Adempiere/util
# chmod +x *.sh
# ./RUN_Server2.sh
sampai muncul :
23:30:00,190 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-server.infopratama.com%2F192.168.0.203-8009
23:30:00,244 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 3m:51s:911ms
Jalankan aplikasi Adempiere
# cd /opt/Adempiere
# ./RUN_Adempiere.sh
Application Host : ( isi dengan hostname )
Database Tpe : PostgreSQL
Database Host : ( isi dengan hostname )
Database Name : adempiere
Kemudian test connection






Tutorialnya bagus sangat bermanfaat, tambahkan cara install postgresql 8.4.4.
Asep Hakim
August 23, 2010 at 05:37
untuk cara install postgresql memang tidak saya sertakan, bisa langsung di install pada saat kita install Centos. thx
jazznuno
August 23, 2010 at 07:41