Clone from GitHub
BinaryTiers is available open-source under the terms of the Apache License Version 2.0.
Commercial Licenses are also available for the development of web applications where you need to safeguard your development investment to secure your competitive advantage, plus it ensures that someone is there for you if you need help. Please contact Uselabs for more details.
1. Make sure that you have the following programs and libraries installed:
mysql client
redis
expat
pcre
2. Make sure hiredis is installed properly
cd ~/redis-2.4.5/deps/hiredis
make install INSTALL_INC=/usr/include INSTALL_LIB=/usr/lib
3. If you are using MySQL, create an empty database, if you are using REDIS you can skip this step: You must create an empty database for BinaryTiers, make sure the database user has the rights to use the BinaryTiers database.
mysqladmin -u MY_DATA_BASE_USER -p create MY_DATA_BASE_NAME
4. Get the source code and build the core:
wget http://www.binarytiers.org/files/binarytiers-2.4.2.tar.gz
tar -xvzf binarytiers-2.4.2.tar.gz
cd binarytiers/lib
make
5. Configure and Build BinaryTiers for the first time:
cd ../src
vi settings.h
make
6. Configure the Web Server: If you are using Apache, make sure to specify the path of BinaryTiers in the file: /etc/httpd/conf/httpd.conf
<VirtualHost *:80>
ServerName mysite.domain
ServerAlias mysite.domain
DocumentRoot "/MY_BINARYTIERS_PATH/"
DirectoryIndex bt.bin
<Directory />
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/MY_BINARYTIERS_PATH/"
</VirtualHost>
7. Configure your web application: Point your browser to http://mysite.domain and follow the steps
You can find detailed documentation in our Online Manual
The BinaryTiers documentation is also available in Compiled HTML Help (CHM file format).
Download chm


