diff --git a/install.sh b/install.sh index c9388bf..9d42e2f 100644 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ fi (crontab -l; echo "* */1 * * * sync ; echo 3 > /proc/sys/vm/drop_caches >/dev/null 2>&1")|awk '!x[$0]++'|crontab - # apt-get upgrade -y ###################################################################################################################### -apps=("wget" "git" "sudo" "python3" "python3-pip" "python3-dev" "libffi-dev" "libssl-dev" "cargo" "sed" "default-libmysqlclient-dev" "build-essential" "zip" "unzip") +apps=("wget" "git" "sudo" "python3" "python3-pip" "python3-dev" "python3-venv" "libffi-dev" "libssl-dev" "cargo" "sed" "default-libmysqlclient-dev" "build-essential" "zip" "unzip") # Función para verificar e instalar una aplicación check_and_install() { @@ -25,6 +25,9 @@ check_and_install() { for app in "${apps[@]}"; do check_and_install $app done +python3 -m venv env0 && +source env0/bin/activate && +cd / ##################################################################################################################### # rust ##################################################################################################################### @@ -997,6 +1000,7 @@ WantedBy=multi-user.target EOF ############################# +deactivate sudo systemctl daemon-reload sudo systemctl start freedmr.service sudo systemctl enable freedmr.service