Documentation (beta)

Example: installing on Linux

In this example tutorial, we will assume you already have setup LAMP such as Apache 2, MySQL and PHP 5.3+. If you have not done so, you may follow an external tutorial at https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu


First login to your linux host through SSH terminal client. When you are on Windows, you can use Putty SSH client program. After you login, you can proceed to the following.


Installing SVN client + ionCube Loader

  • Run sudo apt-get install subversion to install SVN
  • Run which svn to verify SVN installation and path to its executable, which you will need later in SyncRelease installation. You should be seeing something similar to below.

../_images/9063945450_c5537bc359_o.png

  • Run wget http://www.ioncube.com/loader-wizard/loader-wizard.tgz to download ionCube Loader wizard.
  • Run tar zxvf loader-wizard.tgz to extract the compressed loader wizard file and you will see ioncube as an extracted directory
  • Run mv ioncube /var/www/ to move extracted loader wizard directory to under web server’s default site.
  • Go to http://[yourdomain]/ioncube/loader-wizard.php in your web browser where “yourdomain” is your linux server’s default domain name or IP address.

From there the loader wizard will tell you necessary steps to complete installation of ionCube Loader. Simply follow those steps and you will complete installing ionCube Loader.


Installing SyncRelease

SyncRelease requires to run as a virtual host on Apache. Therefore you will need a public domain name or a “fake” internal domain name. For more information about how to setup internal fake domain name please visit to Hosts file configuration for running SyncRelease locally


Here in this tutorial, we will assume to use syncrelease.mycompany.com as domain name for virtual host.


  • Run sudo mkdir /var/vhosts to create a directory to host virtual hosts.
  • Download SyncRelease to your local machine and extract it and then upload to /var/vhosts directory on Linux server
  • Now go to /var/vhosts and print the directory list to verify your SyncRelease upload, as follow and you should be seeing syncrelease directory.
../_images/fig-1.png

  • Let’s create a mysql database for SyncRelease, along with a database username and password. Type in mysql -u root -p in terminal window and enter the mysql user root password. After that you should be seeing a screen as follow.
  • Run create database syncrelease to create a MySQL database for SyncRelease and then run GRANT ALL PRIVILEGES ON syncreleasedb.* TO ‘dbuser’@’localhost’ IDENTIFIED BY ‘dbpassword’ as follow.
../_images/fig-2.png

  • Let’s create a virtual host for SyncRelease on Apache. Run sudo nano /etc/apache2/site-enabled/syncrelease and enter the following content and save it. You may change ServerName value to any domain name you will be using to run SyncRelease.
<VirtualHost *:80>
    DocumentRoot "/var/www/syncrelease/public"
    ServerName syncrelease.mycompany.com
    SetEnv APPLICATION_ENV production

    <Directory "/var/www/syncrelease/public">
            Options Indexes MultiViews FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
    </Directory>

    RewriteEngine off
    <Location />
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} -s [OR]
            RewriteCond %{REQUEST_FILENAME} -l [OR]
            RewriteCond %{REQUEST_FILENAME} -d
            RewriteRule ^.*$ - [NC,L]
            RewriteRule ^.*$ /index.php [NC,L]
    </Location>
    ErrorLog "${APACHE_LOG_DIR}/syncrelease-error.log"
</VirtualHost>
  • Run a2enmod rewrite to enable Apache Rewrite module
  • Restart Apache service apache2 restart
  • Edit SyncRelease application setting file by running nano /var/www/syncrelease/applications/configs/application.ini and change database settings as follow.
../_images/fig-3.png


  • Save it and in a web browser, go to syncrelease.mycomapny.com or any other domain name you use to run SyncRelease. You may see a screen like below if your setup has any problem.

../_images/fig-4.png

In case for screen above, data folder needs to be writeable. Thus, run chmod -R 777 /var/www/syncrelease/data so that it is writeable by the web server.


  • If no problem exists and SyncRelease is ready to install, you will see a screen like the one below and continue there by entering your purchased SyncRelease license code.
../_images/fig-5.png

  • After that, your SyncRelease will be successfully installed and ready to use.

../_images/fig-6.png

Congratulations, you made it!