Installing Adempiere 360LTS.015 On Centos

Fikri
0

Installing Adempiere 360LTS.015 On Centos

1. Tambahkan user adempiere
/usr/sbin/useradd adempiere
/usr/sbin/passwd adempiere
adempiere
2. Extract file adempiere
cp Adempiere_360LTS.010.tar.gz /opt/
cd /opt/Adempiere
tar -zxvf Adempiere_360LTS.010.tar.gz
3. Rubah owner folder adempiere
chown -R adempiere:adempiere Adempiere
4. Backup yang original:
cp /opt/Adempiere/lib/customization.jar /opt/Adempiere/lib/customization.jar.original
cp /opt/Adempiere/lib/zkcustomization.jar /opt/Adempiere/lib/zkcustomization.jar.original
5. Setting profile user adempiere
cd /home/adempiere
vi .bashrc
export ADEMPIERE_HOME=/opt/Adempiere
export JAVA_HOME=/opt/jdk.1.6.0_33
vi .bash_profile
export ADEMPIERE_HOME=/opt/Adempiere
export JAVA_HOME=/opt/jdk1.6.0_33
6. Setting file adempiere properties
cd /opt/Adempiere
vi AdempiereEnv.properties
ADEMPIERE_HOME=/opt/Adempiere
JAVA_HOME=/opt/jdk1.6.0_33
ADEMPIERE_JAVA_OPTIONS=-Xms2024m
Xmx8096m -XX:NewSize=512m
-XX:MaxNewSize=512m -XX:PermSize
=512m -XX:MaxPermSize=512m
ADEMPIERE_APPS_SERVER=172.16.0.200
ADEMPIERE_DB_SERVER=172.16.0.200
ADEMPIERE_DB_PASSWORD=adempiere
ADMPIERE_WEB_PORT=8080
ADEMPIERE_KEYSTORE=/opt/Adempiere/keystore/myKeystore
ADEMPIERE_KEYSTOREPASS=ppgking
wq!
7. Jalankan setup
chmod +x RUN_silentsetup.sh
./RUN_silentsetup.sh
8. Setting Execute file untuk adempiere
pakai user root
cd /opt/Adempiere/utils/unix
cp adempiere_Redhat.sh /etc/init.d/adempiere
vi /etc/init.d/adempiere
EXECDIR=/opt/Adempiere
wq!
9. Rubah permission file execute adempiere
cd /etc/init.d
chmod 777 adempiere
/sbin/chkconfig --add adempiere
10. Buat file log
cd /opt/adempiere/jboss/server
cd adempiere
mkdir log
11. Buka port 8080
setup
buka port 8080
12. Running adempiere
/etc/init.d/adempiere stop
run silentsetup.sh
/etc/init.d/adempiere start

Post a Comment

0Comments

Post a Comment (0)