WARNING: DO NOT use this in production. This is a learning project. The modifications are experimental and have not been tested or endorsed by HostBill. If you really gonna use it, use at your own risk. No warranties, no guarantees, no support. You are entirely responsible for any consequences.
DISCLAIMER: I am not related to the HostBill team and have nothing to do with them. This repository exists solely for personal learning and personal use by myself. If this violates any terms of service, please let me know.
This repository contains the HostBill installation scripts originally downloaded from the official source:
http://install.hostbillapp.com/install/install.sh
The scripts have been modified to support Debian 13 (Trixie).
- A fresh Debian 13 (Trixie) x86_64 system
- Root access
- A valid HostBill license activation code
- No existing cPanel or DirectAdmin installation
-
Clone or download this repository:
git clone https://github.com/Zenuncl/hostbill.git cd hostbill -
Make the install script executable:
chmod +x install_debian_13.sh
-
Run the installer as root:
sudo ./install_debian_13.sh <YOUR_LICENSE_CODE>
Or run without arguments to be prompted for the license code:
sudo ./install_debian_13.sh
Optionally pass a hostname as the second argument (defaults to the system hostname):
sudo ./install_debian_13.sh <YOUR_LICENSE_CODE> yourdomain.com
-
The installer will go through 10 steps automatically:
- Install base dependencies
- Download platform installation files
- Pre-installation checks (disables apache2, sets up ufw firewall)
- Set up the
hostbilluser and home directory - Install and configure nginx
- Install PHP 8.1 (via sury.org) with required extensions and ionCube Loader
- Install memcached
- Install certbot for SSL certificates
- Detect the server IP address
- Enable and restart all services (MariaDB, nginx, PHP-FPM, memcached)
-
Check the install log if anything goes wrong:
cat /root/hostbillinstall.log
| Component | Details |
|---|---|
| Web Server | nginx |
| PHP | 8.1 (from packages.sury.org) |
| Database | MariaDB |
| Cache | memcached |
| SSL | certbot + self-signed SSL (nginx plugin) |
| PHP Loader | ionCube Loader |
| Firewall | ufw (HTTP/HTTPS allowed) |