In this documentation
On this page

Setup Current

Installation walkthrough

Install Trusturex on a new cPanel website using the prepared installation package and the browser-based setup wizard. This guide covers creating a dedicated database, uploading the package, activating your purchase and creating the first administrator.

Before you begin

Use a new website directory and a new, empty database. Do not extract an installation package over an existing website or use an existing site's database. For an installed website, use the supported update process and keep your database, media and environment backups.

  • Use the prepared Trusturex cPanel installation package supplied for your purchase. It includes the required dependencies and built website assets; you do not need Node.js or Composer to complete this wizard.
  • Enable HTTPS on the final domain before opening the installer.
  • Use PHP 8.4.1 or later in the supported PHP 8.x range, with a 64-bit runtime.
  • Provide MySQL 8.4 or later, or MariaDB 10.6 or later, with InnoDB as the default storage engine.
  • Have your purchase code or license key ready. The server needs working CA certificates and outbound HTTPS access to the licensing service.
  • Keep database credentials and your administrator password private.

The wizard checks the PHP extensions, uploaded package, document root and writable paths before database setup. Ask your hosting provider to resolve failed checks rather than changing permissions indiscriminately.

1. Create a dedicated database

In cPanel, open the database management application. Depending on your cPanel version, it may be named Manage My Databases or MySQL Databases.

Open database management in cPanel

View full-size screenshot

Enter a name under Create New Database, then choose Create Database. Record the complete database name, including any account prefix added by cPanel.

Create a new database for Trusturex

View full-size screenshot

2. Create and assign a database user

Create a dedicated database user with a strong password. Save the full username and password in your password manager; you will enter them in the Trusturex installer.

Create a dedicated database user

View full-size screenshot

Under Add User To Database, select the new user and the new Trusturex database, then choose Add.

Assign the database user to the new database

View full-size screenshot

Select All Privileges for this user on this new database only, then save the changes. Do not grant server-wide privileges or reuse a database belonging to another website.

Grant privileges on the dedicated Trusturex database

View full-size screenshot

3. Open the domain's website directory

Return to cPanel and open File Manager.

Open cPanel File Manager

View full-size screenshot

Open the document-root directory for the domain where Trusturex will run. The screenshots use public_html; an additional domain may have a different directory. Confirm the correct path with your hosting provider.

Select the website document-root directory

View full-size screenshot

Use an empty directory for this new installation. Preserve any existing website files and backups, and do not remove unrelated files to make room for the package.

4. Upload the prepared installation package

Choose Upload from File Manager while the domain's document-root directory is open.

Start uploading the Trusturex installation package

View full-size screenshot

Choose Select File to open the file picker.

Select a package file for upload

View full-size screenshot

Select the prepared Trusturex installation ZIP supplied for your purchase. The versioned filename in the screenshot is an example; use the package version you received, not an archive of the source repository.

Choose the prepared Trusturex release ZIP

View full-size screenshot

Wait until the upload reaches 100%, then return to File Manager.

Wait for the package upload to finish

View full-size screenshot

5. Extract and check the package layout

Select the uploaded ZIP in File Manager and choose Extract.

Extract the uploaded installation ZIP

View full-size screenshot

Confirm that the extraction destination is this domain's document root, then start extraction. Do not add an extra folder named after the ZIP.

Confirm the package extraction destination

View full-size screenshot

After extraction, the cPanel package places index.php, .htaccess, public assets and the core directory directly inside the selected website directory. Keep the supplied hidden files and the contents of core intact. If necessary, enable File Manager's option to show hidden files.

Check the extracted cPanel package files

View full-size screenshot

This layout is specific to the prepared cPanel package. A standard server package instead exposes only trusturex-backend/public as its document root.

Once extraction is complete and you have confirmed the files are present, remove only the uploaded installation ZIP from the public directory. Keep your downloaded package in private storage.

6. Activate your purchase

Open your domain over HTTPS and append /install. The wizard starts with Activate your purchase.

Select the activation method that matches your purchase: Envato for an Envato purchase code, or License key for a direct license key. Enter the value in License key or purchase code, then choose Activate. Do not copy the example domain or any account values from the screenshots.

Activate Trusturex using the appropriate purchase credential

View full-size screenshot

If activation is refused, read the displayed message. Confirm the credential type, license availability, domain and server connection. If the license is still assigned to another installation, arrange an approved transfer rather than repeatedly retrying.

7. Resolve the server and file requirements

Review both Server requirements and File permissions. Every required item must pass. Use Check again after your hosting provider corrects a failed item, then choose Continue.

Review server requirements and writable installation paths

View full-size screenshot

The PHP extensions checked are bcmath, ctype, curl, dom, exif, fileinfo, filter, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, session, simplexml, sodium, tokenizer, xml, zip and zlib.

The application needs write access to its environment file, private installation state, cache, sessions, views, logs, media and update storage. The installer also checks that the cPanel package's private paths are protected from web access. Keep the package's access rules in place; do not make every directory publicly writable.

The database is checked in the next step after you enter its connection details.

8. Enter and check the database connection

Complete the fields using the new database and user you created earlier. The numbers below match the annotations in the screenshot.

Number Field or action What to enter or do
1 Website address Confirm the final HTTPS address of this domain without a subdirectory. Correct the detected address if necessary.
2 Database host Use the host supplied by your hosting provider. Keep localhost only when that is the correct database host for your account.
3 Database name Enter the full new database name, including any cPanel account prefix.
4 Database user Enter the full database username assigned to that database.
5 Database password Enter the database user's password.
6 Check Test the connection and permissions before starting application setup.

Enter the website address and dedicated database connection

View full-size screenshot

If your provider supplied a custom database port, open Advanced settings and enter it. Otherwise leave the port empty; the installer uses 3306 automatically.

The check creates and removes its own temporary table in the empty database. It tests the database version, InnoDB, installation locking, read/write transactions and schema changes. It does not start the application migrations.

9. Confirm readiness and let setup continue

When Automatic setup is available appears, choose Continue to create the application tables. Use Back to correct connection details or Check again after permissions change.

Confirm that automatic database setup is available

View full-size screenshot

The wizard then moves through Set up, saving the approved activation and applying the application migrations. This stage continues automatically while the page stays open. If automatic continuation is unavailable in your browser, use Continue for the current step. If an error appears, follow its instructions instead of deleting files or restarting against partially created tables.

If the wizard offers database import

Some hosting accounts deny a required schema-change permission. Only when the wizard explicitly offers Import, and a matching official database is included in your package, may you use that alternative: choose Import, download the official file, import it into the selected new empty database through phpMyAdmin, then return and choose Verify.

Import is not required for normal automatic setup. It does not fix incorrect credentials, an unsupported database server or missing application permissions. Never import over an existing website or an uncertain partial setup. Ask the host to provide the schema-change permissions needed for future updates.

10. Set up your website and administrator

Complete Site settings. The numbers below match the screenshot.

Number Setting or action What to enter or choose
1 Website name Enter the name of your website.
2 Language Choose one of the languages available in your installation package.
3 Time zone Enter the appropriate valid time zone for your website. The initial value is UTC.
4 Administrator name Enter the name for the first administrator account.
5 Administrator email Use an email address you control. You will use this account to sign in.
6 Password and Confirm password Enter the same password twice: 10-128 characters with at least one letter, one number and one symbol. Keep it in your password manager.
7 Starting content Choose Clean installation or Include demonstration content.
8 Continue Submit the settings once, then keep the page open while setup finishes.

Configure the website, first administrator and starting content

View full-size screenshot

Clean installation is selected by default. It includes the theme design, pages and essential settings without demonstration companies, reviews or articles. Include demonstration content adds content for exploring a new installation; remove that content before launching your website.

11. Sign in to the installed website

When Installation complete appears, choose Sign in and use the administrator email and password you just created. The installer closes after successful setup; a later visit to /install returns Not Found.

Complete installation and open administrator sign-in

View full-size screenshot

12. Complete the hosting setup before inviting visitors

  • Configure your mail provider in administration and send a real delivery test. Installation alone does not configure or prove outgoing email.
  • Arrange reliable Laravel scheduling and queue processing with your hosting provider. The wizard does not create a host cron job or supervise queue workers.
  • Review your public pages, domain, language, time zone, branding and any demonstration content.
  • Configure only the payment gateways and optional integrations you intend to use, with their own credentials and provider checks.
  • Keep private backups of the database, uploaded media, environment file and application encryption key, with a tested recovery procedure.

Scheduler and queue entry points for your hosting administrator

The browser installer itself does not require SSH. Background operation still needs a supported way to run the scheduler and queues. Ask the provider for the PHP CLI path and the full path to your domain directory. In the cPanel package, use the stable core/artisan entry point so commands follow the active application release after updates.

A scheduler cron entry normally runs once per minute. Replace both example paths with the paths for your hosting account:

* * * * * /path/to/php-8.4 /home/ACCOUNT/public_html/core/artisan schedule:run

Have the provider supervise a queue worker for the core queues, for example:

/path/to/php-8.4 /home/ACCOUNT/public_html/core/artisan queue:work --queue=default,notifications --sleep=3 --timeout=60

Use a compatible PHP CLI runtime with the required extensions, include any additional queues required by installed plugins, and coordinate worker timeouts with the queue retry settings. Long-lived workers must be restarted through the hosting release procedure after updates. If your host restricts long-running processes, arrange a supported worker strategy with the provider before relying on background email or payment processing.

If installation is interrupted

Reopen /install and use the same purchase key to check or resume unfinished setup. If installation has already completed, go to sign-in instead.

If the wizard reports an interrupted database migration or an unexpected existing table, stop and contact support with the displayed message. Preserve the database, environment file and installation state. Do not delete tables, reset the database, remove the environment file or import another SQL file over the partial setup.

Trusturex documentation · Current