BIM Documentation

System requirements

This section lists software that should be installed prior to use BIM module.

Magento

  • Community Edition 1.6-1.9.2
  • Enterprise Edition 1.2-1.4

Cron job should be running working on your Magento instance.

R

You can use command line to check if R is installed on your system:

> R --version

> Rscript --version

The output should look like the following:

Check if R is installed

If you are getting an error or your version does not satisfy required versions, you may contact your system administrator to request installation of R on your Linux system.

Example of installation of R on Debian Squeeze 64

# Info http://cran.r-project.org/bin/linux/debian/#debian_squeeze_oldoldstable

# Add to /etc/apt/sources.list:
sudo nano /etc/apt/sources.list

# add the following line:
deb http://www.stats.bris.ac.uk/R/bin/linux/debian squeeze-cran3/

# Run installation:
sudo apt-get update
sudo apt-get install r-base r-base-dev

Installation of R on CentOS

# For El5 or CentOS 5
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
sudo yum update
sudo yum install R

# For El6 or CentOS 6
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'
sudo yum update
sudo yum install R

 More information regarding installation of R you may find on R project website.

Operating system

Linux x86-64

Web Server

  • Apache 2.x
  • Nginx 1.7.x

Database

MySQL 5.6 (Oracle or Percona)

PHP

  • PHP 5.4.x
  • PHP 5.5.x
  • PHP 5.6.x

SSL

  • A valid security certificate is required for HTTPS.
  • Self-signed SSL certificates are not supported.
  • libcurl or similar software that is needed in order to make HTTPS requests from R.

R uses package RCurl to make https requests. Such requests are made in order to install new R packages. In order to protect your software it is recommended to install libcurl on your Linux server and switch module configuration on usage of secure mode.

Internet connection

Internet connection is required to use some of widgets that use Google Charts API.

File permissions

File permissions for creating files in var/export and var/bim/rlib folders are needed. Folder var/bim/rlib probably will not exist from the beginning, so you might need to create it manually if you have restricted rights to var folder.