Versions Compared

Key

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

...

The following tutorial assumes you've read the HostBill Requirements (System requirements) section and have configured your server to permit HostBill to function correctly.

 

Info
titleNote

You can use automated install script that comes with all current HostBill editions. This script automatically installs, php-fpm, nginx , mysql(mariadb) database, and HostBill with all dependencies for you, along with initial configuration, cron setup and Additional security steps

All you need to do is run one bash command on your fresh CentOS 6.x install.install of one of:

  • CentOS Linux 7.x or 8.x
  • CentOS Stream 8.x
  • AlmaLinux 8.x
  • Rocky Linux 8.x

Installation instructions / command to use for this fast method are emailed automatically after HostBill purchase. This script automatically installs webserver, database, and HostBill with dependencies. for you.

 


Before Installing HostBill

...

File Preparation

  1. Download the HostBill files here after files from our client portal after logging in.
  2. Upload the HostBill files to your domain's public directory.
  3. Extract the files in the same directory.
  4. Rename the configthe includes/config.php.example file to configto includes/config.php.
  5. CHMOD /templates_c folder and config.php to 777.

...

By default, the HostBill username and password are admin. You'll have to follow the next few steps to change them. Login to HostBill and continue with the post-installation steps.

 


Widget Connector
width800
urlhttp://vimeo.com/85339665
height600


Warning
titleIMPORTANT

Protect contents of includes/config.php file at all costs.

During installation HostBill generates $ccEncryptionHash inside of it which is used as partial key for passwords encryption, if you'll loose/replace this variable's value, you will also loose all stored passwords.

Post Install & Cleanup

...

HostBill has a Country Profile feature to get you started. You can select a profile, or click Cancel to customize your profile yourself. If you're from any of the countries included in the country profiles, it's suggested you select a country profile to speed setup. Country profiles automatically setup correctcorrect GSTHST, and VAT taxes and do some of the early stage work for you.

...

  1. Delete or rename the /install folder from your domain's directory.
  2. CHMOD /includes/config.php to 444.
  3. CHMOD /admin/cron.php to 755.
  4. CHMOD /admin/pipe.php to 755.
  5. CHMOD /queue.php to 755.

It's time to change your HostBill's password. Click on My Account within the HostBill administrative control panel located at the top right and edit your admin settings. Choose a strong password, then click Save.And to

Automation / cron setup

...

To finalize setup, you'll need a properly functioning cron job. Create a cron job pointing to the /admin/cron.php file set to run every 5 minutes.

Code Block
languagetext
*/5 * * * * php -q /path/to/hb/admin/cron.php

Refer to Automation/cron setup article


You're now ready to start using HostBill. Refer to the security guidelines for further enhancements.