...
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 | ||
---|---|---|
| ||
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:
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
- Download the HostBill files here after files from our client portal after logging in.
- Upload the HostBill files to your domain's public directory.
- Extract the files in the same directory.
- Rename the configthe includes/config.php.example file to configto includes/config.php.
- 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 | ||||||
---|---|---|---|---|---|---|
|
Warning | ||
---|---|---|
| ||
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 GST, HST, and VAT taxes and do some of the early stage work for you.
...
- Delete or rename the /install folder from your domain's directory.
- CHMOD /includes/config.php to 444.
- CHMOD /admin/cron.php to 755.
- CHMOD /admin/pipe.php to 755.
- 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 | ||
---|---|---|
| ||
*/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.