From a6deaec978b83fd23e9c394e870ebb92b8656096 Mon Sep 17 00:00:00 2001 From: stefan-ffr <75080111+stefan-ffr@users.noreply.github.com> Date: Wed, 30 Mar 2022 10:26:24 +0200 Subject: [PATCH] Updated install.sh for Debian 11 Bullseye minimal I changed some old python packages to python3 --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index d12718c..5a9f1ff 100644 --- a/install.sh +++ b/install.sh @@ -5,13 +5,13 @@ URL=https://github.com/digitalocean/netbox/archive/v${VERSION}.tar.gz CURDIR=`pwd` # Install pre-requisites -sudo apt-get install -y postgresql libpq-dev python-psycopg2 +sudo apt-get install -y postgresql libpq-dev python3-psycopg2 # Setup postgres sudo -u postgres psql < ${CURDIR}/conf/postgres.conf # Install app pre-requisites -sudo apt-get install -y python2.7 python-dev python-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev +sudo apt-get install -y python2.7 python-dev python3-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev sudo pip install --upgrade pip # Download and install app @@ -57,4 +57,4 @@ sudo cp ${CURDIR}/conf/gunicorn_config.py /opt/netbox/ sudo cp ${CURDIR}/conf/supervisor_netbox.conf /etc/supervisor/conf.d/netbox.conf sudo service supervisor restart -echo "DONE" \ No newline at end of file +echo "DONE"