Table of Contents

OpenPro Install Instructions - RedHat Linux

Back

OpenPro Installation Instructions - RedHat Linux

  1. Install Operating System - this has been assumed to be done. Apply all the latest patches from Redhat.
  2. Install the Web Server, either IIS for Windows or Apache version 2 for Unix or Windows.
  3. Install and Configure PHP and IONCUBE - PHP version 4 or 5 series for the web server. If purchased object and not source this has instructions on IONCUBE.
  4. Database Server - either MYSQL version 4 or 5, MSSQL, ORACLE or IBM DB2.
  5. Install OpenPro programs.
  6. Register OpenPro programs.
  7. Test and Setup of OpenPro.

1. Install Operating System

2. Web Server

“su –“
“chkconfig httpd on”
“service httpd start”

3. Installation of PHP and IONCUBE

vi ./etc/php.ini

Add the following line:

NOTE THE LOADER CHANGES BASED UPON THE VERSION OF PHP\\
zend_extension = /usr/openpro/ioncube/ioncube_loader_lin_4.2.so

  1. register_globals = On
  2. register_argc_argv = On
  3. open_basedir = no value
  4. short_open_tag = On
  5. safe_mode = Off

PHP
PHP Version > 4.1.x or 5.2x
Most servers are already setup with the latest PHP version. To learn more, //www.php.net.

php.ini Settings
Every PHP install has a php.ini file. The php.ini file is the main configuration file for your PHP install. Remember to restart your web server every time you update your php.ini file. There are two ways to verify that you have the following set in your php.ini file. The first way is to locate the php.ini file on your server, open the file, and search on the following variables. Change accordingly. The second way is to create a phpinfo() file on your web server and view it via any web browser. The second method is for more advanced users. Make sure your php.ini file has the following variables set.

Zend vs. IonCube
Your ModernBill is available in two encoded versions, Zend and IonCube. The only difference between the two is that Zend must be installed on your server before you can use the Zend encoded version, whereas the IonCube version is pre- installed with your ModernBill system.

CURL is required for credit card processing online with ecommerce

LINUX/APACHE PORTION

cd /etc/httpd/conf
vi httpd.conf

4. Database Installation Process mysql

rpm –I mysql-server-5.23.58-2.3.i386.rpm
“service mysqld start”

4. Database Installation Process mysql

Step 1 - Create a new database for your OpenPro ERP system

You can create your database by using a MySQL GUI such as PHPMyAdmin or you can use the command line as follows. Here is the MySQL command:

mysqladmin -u root -h localhost -p create opendemo

More MySQL Command Line Help - Adding New Users to MySQL (add link)
Openpro has a detailed mysql manual that describes most common mysql commands.

Step 2 – Restore the demo database from the OpenPro cd to your new created database

Restore using mysql
If you have to re-build your database from scratch, you can easily restore the mysqldump file by using the mysql command. This method is usually used to recreate or rebuild the database from scratch. Here's how you would restore your opendemo.sql file to the OpenPro database:

mysql -u openpro -p support openpro < openpdemo.sql

Easy isn't it? Here's the general format you would follow:

mysql -u [username] -p [password] [database_to_restore] < [backupfile]

Then after creating and restoring the database, you can then login to the OpenPro system.

5. OpenPro Installation Process