From a53dbf2b3e776e610d195ac31014dc662ac02a00 Mon Sep 17 00:00:00 2001 From: Aidaho12 Date: Thu, 25 Oct 2018 09:50:30 +0600 Subject: [PATCH] v3.2.13 Bugs --- README.md | 1 + install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 6e30136b..e60c4c53 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ Or if use Debian/Ubuntu: $ chown -R www-data:www-data haproxy-wi/ $ pip3 install -r haproxy-wi/requirements.txt $ chmod +x haproxy-wi/app/*.py +$ sudo ln -s /usr/bin/python3.5 /usr/bin/python3 ``` For Apache do virtualhost with cgi-bin. Like this: diff --git a/install.sh b/install.sh index 12c0d4e1..9c0cdf27 100644 --- a/install.sh +++ b/install.sh @@ -419,6 +419,7 @@ sudo mkdir /var/www/$HOME_HAPROXY_WI/log/ sudo sudo chmod +x /var/www/$HOME_HAPROXY_WI/app/*.py sudo chmod +x /var/www/$HOME_HAPROXY_WI/app/tools/*.py chmod +x /var/www/$HOME_HAPROXY_WI/update.sh +sudo ln -s /usr/bin/python3.5 /usr/bin/python3 cd /var/www/$HOME_HAPROXY_WI/app ./create_db.py