How to Install OpenEMM 5.5.1 on VPS

I am still looking for a better solution for our email marketing business, and OpenEMM is one of application I have tested.

OpenEMM is a feature-rich enterprise software for email marketing, newsletters and service mails (transaction mails and event or time triggered mails). OpenEMM offers bounce management, link tracking, lots of realtime statistics and a scripting feature.

Environment,
Host: CentOS4.6_x86_64
virtualization software: OpenVZ
Guest:centos-5-i386-default-5.3-20090330

Because OpenEMM only have i386 release, so I have to create i386 VPS under CentOS4.6_x86_64
Download template:
#wget http://download.openvz.org/template/precreated/contrib/centos-5-i386-default-5.3-20090330.tar.gz
Create VE:
#vzctl create 101 –ostemplate centos-5-i386-default-5.3-20090330 –config vps.basic
other settings, please visit Create My First VE under OpenVZ

Install necessary software and do prepare job:
#yum install mysql-server sendmail-cf MySQL-python
#groupadd openemm
#useradd -m -g openemm -d /home/openemm -c “OpenEMM 5.5.1” openemm

Download jdk-1_5_0_17-linux-i586.bin:
#chmod +x jdk-1_5_0_17-linux-i586.bin

#./jdk-1_5_0_17-linux-i586.bin
#mkdir -p /opt/openemm.org/software
#mv ./jdk1.5.0_17 /usr/
#ln -s /usr/jdk1.5.0_17 /opt/openemm.org/software/java
Test the JDK:
#/opt/openemm.org/software/java/bin/java -version

#wget http://nchc.dl.sourceforge.net/sourceforge/openemm/OpenEMM-5.5.1-1.i386.rpm
rpm -ihv OpenEMM-5.5.1-1.i386.rpm
mysql openemm Start OpenEMM
(run as superuser)
Become the user ’openemm’ by running
#su – openemm
Change to the directory containing the startup/shutdown script.
#cd bin
To start the OpenEMM enviroment, run
#nohup OpenEMM.sh start &
To stop OpenEMM
#OpenEMM.sh stop

Leave a Reply