Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Upload the contents of the public_html directory to your server where you will be accessing Blesta. Before you continue any further, ensure you've created a database that Blesta can be installed into. You'll need your database host (usually localhost), database name, database user, and database user password to continue with installation.

Blesta may be installed in one of two ways:, either via the web in your browser, of via command line.

Web Installation

Follow these steps to install Blesta via the web.

  1. Point your web browser to the

...

  1. location where you uploaded the contents of public_html (e.g. https://yourdomain.com/

...

  1. path_to_blesta/).
  2. Follow the on screen instructions to complete installation.
  3. Once installation completes, you'll be prompted to create your administrator user and enter your license key or start a free trial.
Command Line Installation

Follow these steps to install Blesta via the command line.

  1. In a shell, cd to the directory you uploaded the contents of public_html

...

  1. .
  2. The CLI installer can be run in interactive mode, or non-interactive mode by passing parameters.
    1. For interactive mode run 

      Code Block
      php ./index.php install
    2. For automatic mode run

      Code Block
      php ./index.php install -dbhost DATABASE_HOST -dbname DATABASE_NAME -dbuser DATABASE_USER -dbpass DATABASE_PASS -hostname WEBSITE_HOSTNAME
      ParameterDescription
      -dbhostThe database hostname (usually localhost)
      -dbnameThe database name
      -dbuserThe database user
      -dbpassThe database password
      -hostnameThe website hostname. The is the hostname where Blesta will be accessed from. If not set, will attempt to detect the hostname from server configuration, which in many cases will not be accurate.
  3. Once installation completes, direct your web browser to https://yourdomain.com/path_to_blesta/admin/ to create your administrator user and enter your license key or start a free trial.

Once completed, you'll be logged in for the first time automatically. For subsequent logins, see Logging In. You may also want to enable Two-Factor Authentication.

...