Python templates for HestiaCP.
This project was originally based on the work done by anton-bozhina and refsigregory. However, a new approach has been taken.
- This code comes without warranty of any kind. Please refer to
README.md
for more details about this and the license to which this software is bounded. - All this is still in experimental stage.
- These templates will install application in debug mode and without database connection. Is therefore your responsibility to complete the configuration process and make the app safe.
- HestiaCP
- Python 3.6.X (you can check your Python version using
python3 --version
)
I presume it can be adapted to VestaCP after small modifications.
- HestiaCP 1.1.1
- Ubuntu 18.04
- Python 3.6.9
If you have tested it with a different version or different distro, feel free to contact me to provide feedback.
- Make sure you have an updated backup of your system and that it can go into maintenance if necessary.
- Install
pip3
,virtualenv
, and their dependencies:
sudo apt update
sudo apt install python3-pip virtualenv
python3 -m pip install --upgrade pip
- Download the templates to the correct location:
- Apache2 templates goes into
/usr/local/hestia/data/templates/web/apache2/php-fpm/
- Chage he permissions to
.sh
files using the commandchmod +x *.sh
in the/usr/local/hestia/data/templates/web/apache2/php-fpm/
folder. - NGINX templates goes into
/usr/local/hestia/data/templates/web/nginx/
-
Activate the template NGINX proxy template
-
Activate the desired Apache2 template. It is recommended to set the backend template to
no-php
. -
Complete the setup process of the terminal. This includes setting up the database, adding the users, disabling the debug/setting environment to production, modifying the allowed hosts, and so on.