• Online Demo
  • 30-day Free Trial

Contents

Purchasing/Downloading Blesta


To purchase Blesta, order online at http://www.blesta.com/order/. Your welcome email will contain a license key which you will need to enter to access the downloads section to download your copy of Blesta.

Installing Blesta


  1. Extract the contents of public_html to your web directory (these instructions assume your public web directory is public_html).
  2. Place the cron directory and its contents above public_html. If you place the cron directory anyplace other than ../public_html you will need to modify ./public_html/cronjob.php to reflect this change. For security reasons, your cron directory should be above any web accessible directory.
  3. Place the ixed directory in the same location as your cron directory.
    • Note if you are running PHP version 5.2.5 or higher you must configure PHP to load Source Guardian as an extension (if it is not already configured to do so). This is done in your php.ini file. Contact your web host for more information.
  4. Run ./public_html/install.php through your web browser to begin the installation process and follow the on screen instructions.
    • Note: Blesta must be installed under a fresh database, otherwise Blesta may overwrite any tables already contained in the database.
  5. Log in using the Admin login you created during the installation process and navigate to [Settings]. Modify these settings as you like.
  6. You'll now want to set up a cron job to automate the billing procedure. Navigate to [Settings] > [API/Cron Settings] to find an available cron line supported by your web server.
    • Note: This cron job should be set to run at least once per day, but we highly recommend setting the cron to run every 15 minutes.

Logging in for the First Time


It is important to configure Blesta soon after logging in. All major configuration settings can be found under [Settings]. A cron job should be created to automate tasks.

Upgrading Blesta


  1. Backup your database and all your files before proceeding. Make sure Maintenance Mode is on during the upgrade process, and do not login until the upgrade is complete.
  2. If you have modified /cronjob.php or /templates/argentum/images/invoice-pdf.png do not overwrite these files (unless directed to do so).
  3. Overwrite all files in your cron and ixed directories with those from the install.
  4. Now that you have overwritten all of your files, run ./public_html/upgrade/index.php through your web browser. For example, if you have installed Blesta in /blesta on yourdomain.com visit: http://www.yourdomain.com/blesta/upgrade/index.php.
  5. Follow the on screen instructions. If asked to overwrite your config.php file, do so, but be sure word-wrap is not set, and save config.php in plain-text format only!

Setup Cron


On Linux Servers

Blesta recommends a specific cron method based on your server's available commands. You may see these methods when logged into Blesta and navigating to [Settings] > [API/Cron Settings].

Assuming you are using CPanel, you may setup a cron by

  1. Logging into CPanel at yourdomain.com/cpanel
  2. Click on the Cron Jobs link, and then the Standard button
  3. Enter the command to run. Available commands are listed in [Settings] > [API/Cron Settings] of Blesta.
  4. Choose the time intervals to run the cron. We recommend running the cron every 15 minutes.
  5. Save your changes

On Windows Servers

As a Scheduled Task to run every 15 minutes:

  1. Click Start > Programs > Accessories > System Tools > Scheduled Tasks.
  2. Open the Scheduled Task Wizard through Add Scheduled Task and click Next.
  3. Click Browse and find HTTPRequester.vbs that is provided with Blesta. Click Next.
  4. Enter a name for the task, and set the frequency. We recommend using the Daily option here. Click Next.
  5. Set the date and time to run this task. We recommend the Every Day option.
  6. On the final page, select the checkbox to Open Advanced Properties for this task when you click Finish.
  7. In the Run box, enter a space after the text in this field and enter the URL to cronjob.php.
    For example:
    C:\HTTPRequester.vbs http://www.yoursite.com/cronjob.php?cron=all&key=REMOTEKEY
  8. On the Schedule tab, click the Advanced button. Check the Repeat Task box, and enter 15 to run this task Every: 15 minutes. Set the Duration radial button and set the time to 24 hours 0 minutes. Click OK to save.