User Tools

Site Tools


easyObject quickstart

Setup of easyObject is quite straight forward the only dependencies easyobject requires are

  • mySQL server 5.1+
  • php interpreter 5.3+
  • Apache 1.3+






Open terminal and ensure that your operating system is updated with the latest patches

yum update

Now install mysql server, php and apache

yum install httpd php mysql-server php-mysql

Download easyObject from sourceforge – you have two options

  1. Browse to and download there via your favourite internet browser
  2. Use terminal and wget


Unzip easyobject that you just downloaded in its current directory

unzip easyobject-*.zip

Move the extracted directory to your document root

Not sure what you document root is using the below you can quickly find out

cat /etc/httpd/conf/httpd.conf | grep DocumentRoot
mv easyobject*/* /var/www/html/

Now you may need to update the SELinux labels on the directories and files to httpd so that apache has the rights to serve the files. Using the below will do just this.

chcon -Rt httpd_sys_content_t /var/www/html/*

Now you may need to update SELinux boolean to allow httpd to network_connect_db to allow it to make a connection to mysql.

setsebool -P httpd_can_network_connect_db 1

Database configuration

The database configuration is only for demo and more stringent passwords and setup for production uses. Open mysql session as root – type the password upon request (if none set omit -p)

mysql -uroot -p

Create easyobject database

create database easyobject character set utf8;

Create dedicated user for the database

create user easydba identified by 'password';

Grant the user full rights to the database

grant all on easyobject.* to easydba;

easyObject Configuration

Open the following configuration file – change the directory if necessary

vi /var/www/html/library/files/ 

With the config open under the Database parameters update the values

define('DB_DBMS', 'MYSQL'); 
define('DB_HOST', 'localhost'); 
define('DB_PORT', '3306'); 
define('DB_USER', 'easydba');        // adapt this
define('DB_PASSWORD', 'password');   // this
define('DB_NAME', 'easyobject');     // and this
define('DB_CHARSET', 'UTF8'); 
install.txt · Last modified: 2013/07/17 17:38 by cedricfrancoys