...
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.
- Point your web browser to the
...
- location where you uploaded the contents of public_html (e.g. https://yourdomain.com/
...
- path_to_blesta/).
- Follow the on screen instructions to complete installation.
- 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.
- In a shell, cd to the directory you uploaded the contents of public_html
...
- .
- The CLI installer can be run in interactive mode, or non-interactive mode by passing parameters.
For interactive mode run
Code Block php ./index.php install
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
Parameter Description -dbhost The database hostname (usually localhost) -dbname The database name -dbuser The database user -dbpass The database password -hostname The 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.
- 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.
...