You are on page 1of 3

/****************************************************/ /* INSTALL ADEMPIERE IN CENTOS */ /****************************************************/ ~ os packages Not required yum remove squid postgresql php httpd Deployment_Guide-en-US

bind fetch mail mutt samba Required for Adempiere (See note #1) yum install -y make gcc tar readline readline-devel zlib zlib-de vel libxslt identd Finally make sure we are up to date yum -y update import RPMForge yum install -y yum-priorities rpm --import rpm -Uhv ase-0.3.6-1.el5.rf.i386.rpm or rpm -Uhv elease-0.3.6-1.el5.rf.x86_64.rpm Install Java wget chmod +x jdk-6u20-linux-i586-rpm.bin ./jdk-6u20-linux-i586-rpm.bin Install PostGreSQL wget .rpm rpm -ihv pgdg-centos91-9.1-4.noarch.rpm yum install yum install needed) yum install yum install yum install postgresql postgresql-devel (NOTE: paviles 09/23/09 16:51 postgresql-devel not postgresql-server pgadmin3 postgresql-contrib

#ln -s /var/lib/pgsql/9.1/data /var/lib/pgsql #ln -s /var/lib/pgsql/9.1/backups /var/lib/pgsql service postgresql-9.1 initdb vi /var/lib/pgsql/9.1/data/pg_hba.conf #wget #mv /var/lib/pgsql/ yum install postgresql91-jdbc.i386 passwd postgres vi /var/lib/pgsql/.bash_profile

# IPv4 local connections: host all all trust

export JAVA_HOME=/usr/java/jdk1.6.0_20 export ADEMPIERE_HOME=/home/adempiere/Adempiere PATH=$PATH:$HOME/bin:$JAVA_HOME/bin useradd adempiere passwd adempiere su - adempiere vi ~/.bash_profile export JAVA_HOME=/usr/java/jdk1.6.0_20/ export ADEMPIERE_HOME=/home/adempiere/Adempiere PATH=$PATH:$HOME/bin:$JAVA_HOME/bin PLJava1.4 wget .4.0.tar.gz mkdir /home/adempiere/pljava mv pljava-i686-pc-linux-gnu-pg8.3-1.4.0.tar.gz /home/adempiere cd /home/adempiere tar zxvf pljava-i686-pc-linux-gnu-pg8.3-1.4.0.tar.gz vi /var/lib/pgsql/9.1/data/postgresql.conf ###ADD dynamic_library_path = '\$libdir:/home/adempiere/pljava' custom_variable_classes = 'pljava' pljava.classpath = '/home/adempiere/pljava/pljava.jar' Java configuration file. echo '/usr/java/jdk1.6.0_20/jre/lib/i386' > /etc/ echo '/usr/java/jdk1.6.0_20/jre/lib/i386/client' >> /etc/ echo '/usr/java/jdk1.6.0_20/jre/lib/i386/native_threads' >> /etc/ va.conf pg_ctl start createuser -P -E -d adempiere Enter password for new role: Enter it again: Shall the new role be a superuser? (y/n) y createdb -E UTF8 -O adempiere adempiere --template=template0 #psql -d adempiere -U adempiere < Adempiere_pg.dmp 2>&1 > install.log -- Download adempiere wget elease/Adempiere%203.7.0-LTS/Adempiere_370LTS.tar.gz?r=http%3A%2F%2Fsourceforge. net%2Fprojects%2Fadempiere%2Ffiles%2FADempiere%2520Official%2520Release%2FAdempi ere%25203.7.0-LTS%2F&ts=1331441969&use_mirror=voxel -- Unpack tar zxvf Adempiere_370LTS.tar.gz

-- Copy properties and edit cp ADEMPIERE_HOME=/home/adempiere/Adempiere JAVA_MHOME=/usr/java/jdk1.6.0_20 ADEMPIERE_KEYSTORE=/home/adempiere/Adempiere/keystore/myKeystore ADEMPIERE_DB_PASSWORD=adempiere11 ADEMPIERE_KEYSTOREPASS=myPass11 #Inicializar la base de datos -- Editar ADEMPIERE_HOME/utils/postgresql/ Agreagar "--template=template0" a la creacion de la base de datos cd $ADEMPIERE_HOME cd utils ./ Setup ./ Iniciar servidor nohup ./ &