Install Adempiere 3.5.4 on Centos 5.4 / PostgreSQL 8.4.2
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
Contents
Summary
Please find instructions for a quick install guide of Adempiere 3.5.4 on Centos 5.4 / PostgreSQL 8.4.2. Please feel free to add or correct as necessary.
Prepare CentOS
Disable SELinux security
In GNOME, go to System/Administration/Security Level and Firewall.
Ensure SELinux is Disabled.
Import the PostgreSQL Yum Repo
rpm -Uvh http://yum.pgsqlrpms.org/reporpms/8.4/pgdg-centos-8.4-1.noarch.rpm
Install PostgreSQL
yum install -y postgresql-server
Configure PostgreSQL
service postgresql initdb cd /var/lib/pgsql/data vi pg_hba.conf
Edit this file an add an entry for your local network
vi postgresql.conf
Add the line:
listen_addressses = '*'
This allows postgresql to listen on all addresses. Logins are restricted according to the pg_hba.conf edited above and also your iptables firewall rules.
Start PostgreSQL
service postgresql start
Prepare PostgreSQL
psql create database adempiere; create role adempiere; create schema adempiere; \q
Install Java
su - mkdir /u01 cd /u01
Get the latest ".bin" installation file from the Oracle/Sun website and download it to the /u01 directory. As of this writing the latest version is 6u18.
chmod +x jdk-6u18-linux-x64.bin ./jdk-6u18-linux-x64.bin
You can only continue if you accept the proposed license agreement.
cd nano .bash_profile
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH unset USERNAME # Java Settings JAVA_HOME=/u01/jdk1.6.0_18; export JAVA_HOME # Adempiere Settings ADEMPIERE_HOME=/u01/Adempiere; export ADEMPIERE_HOME
Install ADempiere
cd /u01 tar -xzvf Adempiere_353a.tar.gz
Additional information
* Upgrading PostgreSQL 8.1 to 8.4 on CentOS 5.5